-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Stacked graph with bytes display error #1251
Comments
What do you mean incorrect? do you want the steps on the axis labels to be in factors of 2? The axis formats and the legend values use the exact same scaling factor / code so should be the same. If you hover over the free line does the hover tooltip not show something like 400 GIB ? |
Are you sure stack is not enabled? given how |
The stack is enabled, I did mention it in the first comment that I am using an stacked graph. The Stacked values are set to individual. What my issue is that 155 GiB + 222 GiB + 0 MiB + 1000 MiB =! 400GiB Also its weird that this is only in the dashboard overall view where I have multiple graphs, if i go to "Graph Title" -> view then the legend shows correct value. |
Wow, after investigating more I found a pretty mayor bug in how scaled units (like GiB) had a rounding issue where values like 378 were rounded to 400. Thanks for reporting this bug!! Fixed in master now. Will try to push out 1.9.1 during Christmas or first week Jan. But if you want it is really easy to create a release build from master (read the guide in readme). |
This was quick, thank you! |
Hi, still we are facing the same issue in Grafana v5.4.2 (d812109). Showing more value than real. For 7023Mi , showing as 11.29 GiB instead of 6.86 GiB We are following data (IEC) bytes format to display on graph. |
It is not the grafana issue. We found fix at metric level. |
When using a stacked graph with bytes format the axis legend shows incorrect values. It is using GB with the label of GiB.
Actual points are showing correct values, but the legend is using a factor of 1000 instead of 1024.
This is only in the overall dashboard view. In the graph detail the legend seems to be fine.
The text was updated successfully, but these errors were encountered: