-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Forcing decimal precision in singlestat panel doesn't work #16373
Labels
Milestone
Comments
I got the same issue for data source: mysql |
We amended the offending panels to '0' decimal places but they now show 2 decimal places. If we set any other (positive) integer it always shows 9 decimal places.
|
torkelo
added a commit
that referenced
this issue
Apr 5, 2019
This was referenced Apr 7, 2019
torkelo
added a commit
that referenced
this issue
Apr 7, 2019
torkelo
added a commit
that referenced
this issue
Apr 8, 2019
I just upgraded to 6.1.2 and I'm still experiencing the same issues. |
Damit I missed part of the fix :( Opening new PR with the next part of the fix asap. |
torkelo
added a commit
that referenced
this issue
Apr 8, 2019
torkelo
added a commit
that referenced
this issue
Apr 8, 2019
torkelo
added a commit
that referenced
this issue
Apr 9, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened:
Singlestat panel stopped rounding number to specified decimal precision.
What you expected to happen:
singlestat panel respects specified precision
How to reproduce it (as minimally and precisely as possible):
Create a singlestat panel and change decimal precision from "auto" to some number.
Anything else we need to know?:
What I got:
![wrong](https://user-images.githubusercontent.com/3531758/55511706-8bdf6280-5661-11e9-886b-8e9f9eb98852.png)
What happens after setting precision to auto:
![okayish](https://user-images.githubusercontent.com/3531758/55511737-97cb2480-5661-11e9-8faf-5833e5e4e294.png)
In previous Grafana version it was showing correctly rounded value.
Environment:
The text was updated successfully, but these errors were encountered: