Change metric type names to lowercase
See original GitHub issueAfter upgrading to Prometheus v2.4.0, the metrics endpoint exposed by my .NET services stopped working with the following error: invalid metric type "HISTOGRAM"
A related issue has been opened in the Prometheus repo, but apparently the fix should be done in the client library, as it’s not reporting the metric names as documented here.
Ref: https://github.com/prometheus/prometheus/issues/4602
Edit. More information:
- Client version 1.3.5
- .NET version: 4.5.2
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Prometheus 2.36 – What's new?
In this new version, we can use two new actions that change the value of a metric to uppercase or lowercase. This is...
Read more >What best practices are recommended for naming metrics ...
Rules and best practices for naming metrics. Metric names must start with a letter. Can only contain ASCII alphanumerics, underscores, and periods.
Read more >Naming conventions for metrics and dimensions
Use periods or underscores as delimiters. Don't use colons or slashes. Avoid changing metric and dimension names. If you change a name, you...
Read more >Prometheus change all nodenames to lowercase
Everything works fine but I got a problem with node/host names. I'm using AKS with one node pool and 8 nodes. An example...
Read more >Metric and label naming
The metric and label conventions presented in this document are not required for using Prometheus, but can serve as both a style-guide and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure thing. Here you go: https://github.com/prometheus-net/prometheus-net/releases/tag/v2.1.3
Thanks for the confirmation. I have pushed the button to publish as stable. It should show up when nuget.org does their refresh.