Skip to content

Conversation

DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Jun 1, 2023

Use auto decimal scaling for most panels. The main motivation is bad scaling for low value panels with decimalsY1=0. After the patch, scaling for low values should be good enough.

Before

image

After

image

At the same time, if values became high, there shouldn't be any excessive decimals. The drawback is that sometimes Grafana auto scaling is aesthetically weird, like mixing 2 s, 1.5 s and 500 ms on the same axis.

Before

image

After

image

Before

image

After

image

Use auto decimal scaling for most panels. The main motivation is bad scaling for low value panels with decimalsY1=0. After the patch, scaling for low values should be good enough. At the same time, if values became high, there shouldn't be any excessive decimals. The drawback is that sometimes Grafana auto scaling is aesthetically weird, like mixing 2 s, 1.5 s and 500 ms on the same axis.
Grafana revisions: - InfluxDB revision 18 [1], - Prometheus revision 18 [2], - InfluxDB TDG revision 7 [3], - Prometheus TDG revision 7 [4]. Changed: - Use auto decimal scaling for most panels (PR #213) Fixed: - Scaling for some low values panels (PR #213) 1. https://grafana.com/api/dashboards/12567/revisions/18/download 2. https://grafana.com/api/dashboards/13054/revisions/18/download 3. https://grafana.com/api/dashboards/16405/revisions/7/download 4. https://grafana.com/api/dashboards/16406/revisions/7/download
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/fix-rate-graphs-scale branch from b5ca960 to 293901d Compare June 1, 2023 07:16
@DifferentialOrange DifferentialOrange marked this pull request as ready for review June 1, 2023 07:19
@DifferentialOrange DifferentialOrange changed the title Differential orange/fix rate graphs scale Fix rate graphs scale Jun 1, 2023
@DifferentialOrange DifferentialOrange merged commit 48c4a74 into master Jun 1, 2023
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/fix-rate-graphs-scale branch June 1, 2023 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant