Prometheus - Exemplar label name is invalid when filtering attributes in a custom view #5936
Labels
area:metrics
Part of OpenTelemetry Metrics
bug
Something isn't working
pkg:exporter:prometheus
Related to the Prometheus exporter package
Milestone
Description
After upgrading from
go.opentelemetry.io/otel/exporters/prometheus v0.50.0
togo.opentelemetry.io/otel/exporters/prometheus v0.53.0
I see the following errorexemplar label name \"wg.operation.hash\" is invalid
.We use a custom view to filter metric attributes with high cardinality. While the metric is definitely dropped in the view it seems the data is still exported on the prometheus exporter.
It is necessary to checkout 664a075 to not run into a different exemplar prometheus issue.
Stacktrace of the OTEL error
Environment
Expected behavior
It should be possible to filter attributes like before including prometheus exporter support
The text was updated successfully, but these errors were encountered: