hi, I am importing some data from Prometheus. The service exporting the metrics looks like:
qbit_dl_bytes 2788376164837
qbit_dl_rate_bytes 0
qbit_ul_bytes 60386210507433
qbit_ul_rate_bytes 3725915
up 1
I am able to write queries to graph exactly what I want, however I wish to change the legend to some custom text, not related to the labels.
Current:
Instead of {instance=....}
I would instead like it to be “UL (MB/s)” and “DL (MB/s)”.
If I enter anything in the text box for “legend format”, the graph (or rather that metric line) just disappears. I’m sure there must be some way to have custom text, just not sure how I can do it (new to Grafana).
Hopefully this is possible without changing anything in my service or Prometheus, since it is just a smal l change of what to display for the query in the legend within Grafana. Thanks