[bug] Expected value after metric, got "#" ("INVALID") while parsing: "Resilience_polly_str#" #5847
Labels
bug
Something isn't working
needs-triage
New issues which have not been classified or triaged by a community member
pkg:OpenTelemetry.Exporter.Prometheus.AspNetCore
Issues related to OpenTelemetry.Exporter.Prometheus.AspNetCore NuGet package
Package
OpenTelemetry.Exporter.Prometheus.AspNetCore
Package Version
Runtime Version
net6.0
Description
I'm facing a recurring issue in my deployed environments while scraping metrics using Prometheus. The error message reads:
"expected value after metric, got "#" ("INVALID") while parsing: "Resilience_polly_str#"
I'm using Polly library version 8 for resiliency, which internally uses OpenTelemetry for instrumentation. The metrics are being exported using a Prometheus exporter.
Steps to Reproduce
I'm using Polly library version 8 for resiliency, which internally uses OpenTelemetry for instrumentation.
The metrics are being exported using a Prometheus exporter.
Expected Result
It should export the metrics without any error.
Actual Result
"expected value after metric, got "#" ("INVALID") while parsing: "Resilience_polly_str#"
Additional Context
I am also going to raise a ticket with the Polly developer community. Please share the suggestions or workaround for this issue if you have any.
The text was updated successfully, but these errors were encountered: