-
Notifications
You must be signed in to change notification settings - Fork 1k
naming: Update metric and label name restrictions and recommendations with the latest context #2626
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
Conversation
…context. ### Notable changes * Cleaned up should/must/may to upper case for clarity (as per RFC style we do in specs). * Mentioned UTF-8 support. * Lifted limited character set from MUST to SHOULD with a clear about consequences and downsides. * Mentioned alternative notations. * Removed experimental mentions about native histograms, made it part of the main sample definition. * Added section on WHY Prometheus metric SHOULD contain type and unit suffix, even with our type and unit labels one day. ### Motivation * [OpenMetrics WG 2.0 Action item](https://docs.google.com/document/d/1FCD-38Xz1-9b3ExgHOeDTQUKUatzgj5KbCND9t-abZY/edit?tab=t.lvx6fags1fga#heading=h.3xjg8jcpctk4 ) and blocker to relax MUST to SHOULD type and unit suffix in OpenMetrics 2.0. * Similarly, to have something clear to reference to highlight huge downsides of skipping suffixes for OTLP (prometheus/prometheus#16441) * To help with explaining this problem to Prometheus users in general (on recent KubeCons we had to explain this hundrends of times). Signed-off-by: bwplotka <[email protected]>
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.
Generally fine. Some thoughts below.
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.
Thanks for doing this.
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.
besides all that has already been said, found one other thing
Co-authored-by: Bryan Boreham <[email protected]> Co-authored-by: Björn Rabenstein <[email protected]> Co-authored-by: George Krajcsovits <[email protected]> Signed-off-by: Bartlomiej Plotka <[email protected]>
Signed-off-by: bwplotka <[email protected]>
Thank you so much for all the great feedback @bboreham @beorn7 @ArthurSens @krajorama Should be good for "final" look! 💪🏽 |
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.
thank you!
Notable changes
Motivation