-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Bug]: Expected value after metric, got "#" ("INVALID") while parsing: "Resilience_polly_str#" #2295
Comments
Based on our documentation, the metrics that correlate with what you've shared in your screenshot should be Is something in your code changing the metric names and corrupting them as part of the Prometheus export process? If not, we'll need a minimal reproducible example as a GitHub repository that demonstrates the issue you're experiencing so we can look into this further. |
Also, try upgrading to the latest version (8.4.1) to see if that makes any difference. |
@martincostello, we are using only the Polly inbuilt metrics not any custom metrics and no code in the system changes the name of any of these metrics. We are using the OpenTelemetry.Exporters.Promotheus.AspnetCore library. Not sure whether it corrupts the name of the metrics internally, I have also created a bug with OpenTelemetry Dev community. Let's see if we can get some information from them. I will try to have a minimal reproducible example if that can help. |
This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Describe the bug
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.
here is the error details
![image](https://private-user-images.githubusercontent.com/172498617/368954177-c49693fd-698f-4643-af02-d4e910cf5726.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk3Mjc5MDEsIm5iZiI6MTczOTcyNzYwMSwicGF0aCI6Ii8xNzI0OTg2MTcvMzY4OTU0MTc3LWM0OTY5M2ZkLTY5OGYtNDY0My1hZjAyLWQ0ZTkxMGNmNTcyNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNlQxNzQwMDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yOThjNGYxYWJmOGY0YWI5NGYxYWRkN2YzZTA0M2U5NzA1Y2VlNWU3NmNjM2ZiZDhjMDFhNzEwZmQyOTVmNzAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ywl1IAA4XZiarT0qjfUr0xUNiLytmw5kramRYscOHoA)
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Exception(s) (if any)
No response
Polly version
8.2.1
.NET Version
net6.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: