Skip to content
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

Force the naming convention #75

Merged
merged 1 commit into from
Dec 1, 2022
Merged

Force the naming convention #75

merged 1 commit into from
Dec 1, 2022

Conversation

codebien
Copy link
Contributor

@codebien codebien commented Dec 1, 2022

https://prometheus.io/docs/practices/naming/#metric-names

  • Force _total suffix for the Counter type as suggested by the Prometheus and OpenMetrics conventions.
  • Force _rate suffix for the Rate type so it can be identified easier because they are converted into Gauges.

For counter type the convention is to use _total suffix
https://prometheus.io/docs/practices/naming/#metric-names

Added _rate suffix for Rate type that doesn't have
a 1:1 mapping in Prometheus.
@codebien codebien self-assigned this Dec 1, 2022
@codebien codebien merged commit a7d3d0e into main Dec 1, 2022
@codebien codebien deleted the naming-convention branch December 1, 2022 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants