This is a .NET library to send metrics to and receive metrics from KairosDB.
Metric metric = new Metric("metric_name")
.AddTag("server", "1")
.AddDataPoint(new DataPoint(DateTime.UtcNow.MillisecondsSinceEpoch(), 5L);
RestClient client = new RestClient("http://localhost:8083");
await client.AddMetricsAsync(new [] {metric});
QueryMetric queryMetric = new QueryMetric("metric_name")
.AddAggregator(new SumAggregator(1, TimeUnit.Minutes)
.AddGroupBy(new GroupByTag("server"));
QueryBuilder query = new QueryBuilder()
.SetStart(TimeSpan.FromSeconds(5))
.AddQueryMetric(queryMetric);
RestClient client = new RestClient("http://localhost:8083");
QueryResponse response = await client.QueryMetricsAsync(query);
We are committed to fostering an open and welcoming environment. Please read our code of conduct before participating in or contributing to this project.
We welcome contributions and collaboration on this project. Please read our contributor's guide to understand how best to work with us.
This software is made available by GMV Syncromatics Engineering under the MIT license.