influxdb-csharp icon indicating copy to clipboard operation
influxdb-csharp copied to clipboard

How to change the database of an specialized Collector?

Open nvivo opened this issue 6 years ago • 0 comments

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?

nvivo avatar Sep 25 '19 20:09 nvivo