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 ?
Since you have tags in legend you can use them if you change Legend from Auto to Custom.
Options -> Custom :
If you want to extract only part of a tag and use that as legends please check this post: