-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Incorrect receiver label in prometheus receiver observability metrics #5011
Comments
I can take this one. |
I think this issue was fixed by open-telemetry/opentelemetry-collector#2680 already |
I confirm all metrics I use in otel collector namespace has label like |
@alolita @bogdandrutu @Aneurysm9 @kirbyquerby could someone please help close this issue? The PR author forgot to attach the "Fixes #NNNN" in their commit message so it didn't auto close, but it was fixed months ago. |
@dashpole Another issue to close. |
Describe the bug
In version 0.20.0 of opentelemetry collector observability metrics coming from prometheus receiver do not contain proper label "receiver" with receiver name - it is set to empty string, instead of "prometheus"
Steps to reproduce
Run Open Telemetry app with prometheus receiver enabled, then scrape localhost:8888 metrics and inspect the returned response.
What did you expect to see?
otelcol_receiver_accepted_metric_points, otelcol_receiver_refused_metric_points metrics having "receiver" label set to "prometheus"
What did you see instead?
otelcol_receiver_accepted_metric_points, otelcol_receiver_refused_metric_points metrics have "receiver" label set to ""
What version did you use?
Version: v0.20.0
What config did you use?
Environment
OS: COS
Compiler(if manually compiled): go 1.14
The text was updated successfully, but these errors were encountered: