Is there a way to format the display of plain large numbers in a ‘Singlestat’ panel to use commas, e.g. to display a large number like ‘1234567’ as ‘1,234,567’?
What’s really needed is an additional ‘Unit’ format under ‘none’ called something like ‘long’, that inserts commas, as necessary.
How about a new formatting option under ‘Unit’, called maybe ‘custom’, which will open an additional text edit and allow you to enter a traditional ‘printf’ format string.
The consumers who use the dashboards I create explicitly don’t like the ‘short’ Unit. They want to see large numbers with ‘thousands’ separators. I can’t see how the other feature request you mention would be a solution here, unless an additional ‘long’ format is introduced with International Localization. The localization would cause numbers like ‘1.23K’ to be displayed as ‘1,23K’, but there would still be no ‘Unit’ option to display ‘1234567.89’ as ‘1,234,567.89’, or even ‘1.234.567,89’.
I think the ability to use ‘printf’ format codes would solve this issue, and even the Localization issue. Would it be possible to raise the use of format codes as a ‘feature request’?
I’ve done a ‘+1’ on Github, but would love to see this extended to the Tooltips too (to show the full absolute values, rather than the condensed values).
Yes it works with “locale format” but the thousands separator is not in general “,” but should be also “.” It depends…
For example
123,456.32 can be written also (in Europe) as 123.456,32
Anyway “locale format” and also the other formats do not work, on my release, on singlestat visualization.
In Grafana version 9.1.2 I change my time settings to a Browser Time (in Europe) still have “,” as a thousand separator. Is it right? Can´t I change “,” format to “.” format in thousand separator?