TechnologyNovember 6, 2019

A New Feature of the DataStax C# Drivers: Metrics

João Reis
João Reis
A New Feature of the DataStax C# Drivers: Metrics
docker run -d --name graphite -p 80:80 -p 2003-2004:2003-2004 -p 2023-2024:2023-2024 -p 8125:8125/udp -p 8126:8126 graphiteapp/graphite-statsd
dotnet new console
dotnet add package CassandraCSharpDriver -v 3.*
dotnet add package CassandraCSharpDriver.AppMetrics
dotnet add package App.Metrics -v 3.2.0
dotnet add package App.Metrics.Reporting.Graphite -v 3.2.0
scheduler.Start();
dotnet run
            scheduler.Start();
            //// DataStax C# Driver configuration
docker run -d --name -p 3000:3000 grafana grafana/grafana
gauge.*.connected-nodes
gauge.*.nodes.*.pool.open-connections.Value
<img alt="Dashboard Running Example Project" data-entity-type="file" data-entity-uuid="b4eee7da-b624-461c-8829-0dbd643cef8c" src="https://www.datastax.com/sites/default/files/inline-images/EINZh7tWkAENuwK.png" />
Discover more
DriversC# / .NET
Share

One-stop Data API for Production GenAI

Astra DB gives JavaScript developers a complete data API and out-of-the-box integrations that make it easier to build production RAG apps with high relevancy and low latency.