-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Prometheus Receiver cannot read common exemplars #36130
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Thanks for the report. Lets follow-up on the prometheus issue. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
solved in prometheus. This will be fixed as part of a dependency update in the future |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
receiver/prometheus
What happened?
Description
Steps to Reproduce
.
, e.g. any of the common otel labels such asurl.scheme
model.NameValidationScheme = model.UTF8Validation
is set, promhttp.HandlerOpts.EnableOpenMetrics= true` on the handler.Expected Result
/metrics
, prometheus quotes the dotted label key, e.g.:Actual Result
Cause
This appears to be a bug in the prometheus scrape code that is not catering for the quoted labels (raised prometheus/prometheus#15259)
Using the standard otel http instrumentation, it's hard to avoid the dotted form of hte quoted labels.
It is possible to just
strings.Replace
the dots in the opentelemetry-go client library's prometheus exporter, but this is not a general fix for UTF8 label keys.Collector version
679374a
Environment information
go version go1.23.2 linux/amd64
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: