-
Notifications
You must be signed in to change notification settings - Fork 328
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
Prometheus: append postfix only if missing #773
Prometheus: append postfix only if missing #773
Conversation
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.
hey @eugenemiretsky thanks for proposing this PR.
Hey @eugenemiretsky, thanks a lot for the PR! The changes look fine but I do have some questions about items 2. and 3. from your list. Could you please share a bit more details of why 2. and 3. were necessary or what problems were you seeing without this changes? That info will help us understand if something else should be taken into account before merging and how would this affect users who already have these issues! |
We have the same service deployed in serveral environment
|
Generally though, I feel like if as a develop I already follow the Prometheus naming convention, it would be weird to see my metrics as my_counter_total_total |
Coming to think of it, would be nice too have Kamon itself follow similar naming convention (or have an option to turn it on ) |
Thanks a lot @eugenemiretsky! |
Append metric name postfix only if missing.
It help