-
Notifications
You must be signed in to change notification settings - Fork 79
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
Counter should start from 0 #69
Comments
Usually that happen after fluentd restart. Maybe there would be a way to make some storage to persist metrics/values between reboots? Some sort of buffer on disk |
Hi @dkalashnik . |
@mhoshino basicly its about prometheus/prometheus#1673 |
It seems without this being resolved there counter for the prometheus ruby client does not start from 0 |
+1 |
Current implementation is not following the below rule
https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics
This is leading to situation's such as creating prometheus alert.
For example
Will not fire alert when my_metric=1 but instead my_metric > 2.
This is because my_metric does not start with 0 and start's with 1
The text was updated successfully, but these errors were encountered: