influxdb-csharp
influxdb-csharp copied to clipboard
How to change the database of an specialized Collector?
Is there a way to specialize a collector to a different database without passing the server information? I'd like for a library to write to the same server in a different database. I see the current server is not exposed in any way.
I'm looking for something like:
var newCollector = Metrics.Specialize()
.WithTargetDatabase("foo")
.CreateCollector();
Is this possible in any way?