Small C# InfluxDB client

Well, after doing InfluxDB client bash and Go, time came to do the same in C#.

I will not go too much into details as you can see the source code yourself. Suffice it to say it supports both v1 and v2 line protocol. And usage is simple as it gets:

var measurement = new InfluxMeasurement("Tick")
.AddTag("t1", "Tag1")
.AddTag("t2", "Tag2")
.AddField("f1", 42)
.AddField("f2", true);
client.Queue(measurement);

Source code is of course on GitHub and project is available and NuGet package.

Leave a Reply

Your email address will not be published. Required fields are marked *