How to change dashboard expression display while using Prometheus?


Im using grafana and promethues and i created a dashboard, it all works fine but the dashboard display show this long expression and i want it to look clean.

so insteand on this long text i can choose the specific lable , how can i do this ?

Hi @batchenr,
Since you have tags in legend you can use them if you change Legend from Auto to Custom.


Using Options -> Custom :

If you want to extract only part of a tag and use that as legends please check this post:

Best regards,

1 Like