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

Unable to register metrics for multiple outputs #586

Open
lewellien opened this issue Jan 21, 2025 · 0 comments
Open

Unable to register metrics for multiple outputs #586

lewellien opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@lewellien
Copy link

lewellien commented Jan 21, 2025

Hello,

i have multiple outputs of the same type (prometheus_remote_write)
But after registering the second one i get an error that the metrics are duplicated and cannot be registered.

Is it possible to include the name of the output as a label, so the metrics would not be duplicated?
Relevant Logs:

[prometheus_write_output] initialized prometheus write output
[prometheus_write_output] initialized prometheus write output
[prometheus_write_output] failed to register metric: duplicate metrics collector registration attempted
@karimra karimra added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants