Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

How to change the database of an specialized Collector? #77

Open
nvivo opened this issue Sep 25, 2019 · 0 comments
Open

How to change the database of an specialized Collector? #77

nvivo opened this issue Sep 25, 2019 · 0 comments

Comments

@nvivo
Copy link

nvivo commented Sep 25, 2019

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 nvivo changed the title How to change the database of an existing Collector? How to change the database of an specialized Collector? Sep 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant