-
Notifications
You must be signed in to change notification settings - Fork 171
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
Improve UX for SLO's with more than 2 9's #131
Comments
Hi @winmillwill! From my side I don't see a problem with those numbers because they happen under the hood, it is an implementation detail, how they are being represented on a dashboard is another thing and I'm with you. I see from your example that is affecting you on how is being visualized, right? In what other sense affects you those Prometheus rules numbers? The dashboard you are referring to is the default dashboard? what version of Grafana are you using? |
Yesterday I checked and as you said, Grafana rounds automatically after 2 decimals, it happens the same with percentages and ratios, so the problem is not the I was thinking about putting explicitly 3 decimals, however, I also don't like to have a |
After merging #172 and changing Sloth's dashboard with the 4th revision this issue is fixed. Before: After: |
Thanks for the awesome code! I had to do the equivalent of this a couple years ago with nothing but sed!
If I have a service with two objectives of 99.9 and another objective of 99.99, I get numbers like these:
... where what I probably want is
I think the implementation might be something like "don't use floats".
Related to this issue: the grafana board reports a 99.99 objective as
100%
, which is dismaying to people who only see the dashboard and not the actual values in the promql queries.The text was updated successfully, but these errors were encountered: