A flipped > made 9 look bigger than 9.22 in Grafana tables
9.22 is bigger than 9 . A Grafana table gauge disagreed and gave 9 the longest bar in the column. seriych filed it as issue #113304 . My fix, grafana/grafana#136236 , came down to one backwards comparison, plus a review lesson about code that runs for every single cell. What a gauge cell is Grafana is an open source dashboard tool. In its tables, a column can show each number as a gauge: a…
A Grafana table gauge displayed 9 as the longest value in a column, even though 9.22 was numerically larger. A bug allowed the value with the shortest text representation to set the space for all cells, regardless of the actual numeric values. To fix this, the comparison logic needed to be reversed so the longest value would set the text space, taking into account any prefixes or suffixes.
The updated code kept track of the longest value and its length throughout the scan, updating the longest value only when a longer value was found. This ensured all cells used the correct text space based on the actual largest value. The fix was implemented on 3 November 2026 and included additional tests to verify the changes.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to