Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple couchdb URIs #266

Open
maksimse opened this issue Dec 4, 2023 · 3 comments
Open

Multiple couchdb URIs #266

maksimse opened this issue Dec 4, 2023 · 3 comments

Comments

@maksimse
Copy link

maksimse commented Dec 4, 2023

Hello,
I need to query multiple CouchDB clusters.
In order to do that, I need to launch as many exporters as clusters I have.
Would it be enough to modify source code and make couchdbURI of type []string and then iterate over them? Is there a better approach? Thank you in advance!

@gesellix
Copy link
Owner

gesellix commented Dec 4, 2023

Hey,
I think such an option would be valid, yet I'm not entirely sure if that wouldn't cause other issues: looking at #259 I think that in certain cases multiple instances of the exporter make sense. It always depends on the actual context (how big the clusters are, how many databases you're monitoring, how timeouts are configured). So, if you like, you can create a pull request with the option to configure multiple couchdbUris, and we can continue our discussion there?
Thanks!

@stvroy
Copy link

stvroy commented Mar 25, 2024

@maksimse Did you manage to make it work for Multi URIs?

@maksimse
Copy link
Author

@stvroy , no. We decided to run an exporter per cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants