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

Prefix custom metrics with rotom_ as per naming best practices #19

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

jinnatar
Copy link

@jinnatar jinnatar commented Dec 1, 2023

As per Prometheus naming best practices (https://prometheus.io/docs/practices/naming/) and as discussed in Discord, custom metrics should ideally be prefixed with the name of the software. Especially devices vs. rotom_devices makes for easier discoverability and deduping without custom upstream labeling.

@lenisko lenisko self-requested a review December 1, 2023 12:53
Copy link
Contributor

@lenisko lenisko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Fabio1988 Fabio1988 merged commit 5d4f94d into UnownHash:main Dec 1, 2023
5 checks passed
@jinnatar jinnatar deleted the prom_prefix branch December 1, 2023 14:18
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.

3 participants