How to reflect the query name on Panel field

In the below example, I would like to know how to update the query field name such as “A-series” in a given panel?
I tried to update the query name from the default “A” to “A-series” but it did not seem to make any difference.

https://play.grafana.org/d/Zb3f4veGk/2-stats?orgId=1&editPanel=8

Welcome

If I understood your question you want to change the label to something else in the visualization? That comes from the data source itself

"time","A-series"
2022-04-14 04:25:42,71.5 m²
2022-04-14 04:35:42,71.8 m²
2022-04-14 04:45:42,71.4 m²

That’s right, how do I set a hard label, say “Scenario”?

not sure if this is what you are looking for?

Yes, but I do not see those options in my graph, please see the screenshot below:

No idea. What version are you on? and what data source is it? If you could provide sample data also we might try to help you out

I am on the Grafana Cloud, so whatever version is running there. The data source is a custom one to which a ton of metrics is being pushed from a remote cloud instance.

Sample data looks like this which is coming from the remote cloud instance:

|ibmmq_qmgr_uptime{endpoint=“metrics”,instance=“172.30.1.97:9157”,job=“mq-metric-service-qaav01”,namespace=“default”,platform=“UNIX”,pod=“mq-metric-qaav01-55b75c476b-jq2mz”,qmgr=“QAAV01”,service=“mq-metric-service-qaav01”}
Value: 694108


|ibmmq_qmgr_uptime{endpoint=“metrics”,instance=“172.30.1.98:9157”,job=“mq-metric-service-qaav02”,namespace=“default”,platform=“UNIX”,pod=“mq-metric-qaav02-5554b7b77c-xdcl7”,qmgr=“QAAV02”,service=“mq-metric-service-qaav02”}
Value: 625585

1 Like

ok just installed a Prometheus locally and feeding it some sql data. let’s see what we can come up with. hopefully someone else will be able to chime in.

So I think I got what I need, I set an override and specified a Display Name, but then the issue is the name is in extremely small font size which makes it impossible to see, screenshot is below:

1 Like

check text size

image

1 Like

That was it!!! Thank you :slight_smile:

1 Like

Still looks like one needs magnifying :mag_right: glasses :sweat_smile:
I am not really a fan of that whole over ride thing. Would be nice if it was more dynamic

Nah, it looks okay in the overall dashboard :slight_smile:
Basically I will need more windows (queries with transforms) in the same panel.
1 panel = 1 running instance

1 Like