-
Notifications
You must be signed in to change notification settings - Fork 773
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
Support Prometheus UNIT metadata #3651
Support Prometheus UNIT metadata #3651
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3651 +/- ##
==========================================
+ Coverage 87.58% 87.60% +0.02%
==========================================
Files 283 283
Lines 10218 10234 +16
==========================================
+ Hits 8949 8966 +17
+ Misses 1269 1268 -1
|
.AddInMemoryExporter(metrics) | ||
.Build(); | ||
|
||
meter.CreateObservableGauge("test_gauge", () => 123, unit: "seconds", description: "Hello, world!"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice description :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some clever Greek mythology thing. Defer to @alanwest to come up with it 🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, would "Hello, Prometheus!" not have been clever enough? And also what the heck do I know about Greek mythology?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we consider the Prometheus Exporters to be renamed to OpenMetrics Exporters? 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Changes
Reference: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#overall-structure
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes