You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using Grafana 7+, you might be able to reformat the labels using transformations. Alternatively (should work in older versions of grafana as well), you can wrap your query in label_replace, which can contain regex to select only part of label without leading and trailing zeros.
But I think that is only a temporary workaround. The library probably should format the labels properly when exposing the metrics, just as it does for "+Inf". What do you think @knyar?
Thank for the suggestions @dolik-rce! I try to implement that in #119, welcome have some review~
It seems transformation in Grafana does not work for this situation. The organize fields option could only work with a single frame, but not a heatmap. And since it is not actually "label" but called "legends" in grafana, so I could not add label_replace function` for this situation. But still thanks for the suggestions!
Hi @knyar thanks for this repo. It's so great!
One problem is, when I have a lot of buckets, say
I'll get the grafana panel like this and it's quite annoying.
I get the reason for add those zeros, but since grafana does not support formatting legends(buckets), is there any method to remove those zeros?
The text was updated successfully, but these errors were encountered: