Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upExpand promlint rules #5453
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
csmarchbanks commentedApr 10, 2019
•
edited
Proposal
Use case. Why is this important?
Right now there are prometheus naming best practices documented in both the docs and blog posts such as Robust Perception. I propose that as many of these conventions as possible should be codified in the
promtool check metricstool.Currently the promlint code includes rules for:
I propose that in addition there should be rules for:
request_duration_seconds_histogramsnake_casenotcamelCase_s_instead ofseconds,_b_or_kb_instead of_bytes_I would love to hear other people's opinion on rules that should be added and am happy to change the list around.
If people think some or all of these new rules are a good idea I plan to do the implementation.
Thanks for thinking about this proposal!