-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: use name instead of id in grafana dashboard #5149
Comments
The default label of Prometheus is id but not name. So by default, the grafana doesn't know the name. |
Yes.I think we can use the name as the label of Prometheus if the name exists? |
No. It will be a break change. We can't change it in 2.x at least. |
In another way, we can add a config to switch the label. |
Do you mean a config for grafana? We have such a config for prometheus. |
Oh. I see. We had already supported it. |
@starsz how solved label name view? |
Issue description
Hi, I found that now we use the service id and route id in the grafana dashboard.
Which is not friendly to read. So I recommend we can use name instead of id in the grafana dashboard.
Now:


Environment
apisix version
): 2.6uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):The text was updated successfully, but these errors were encountered: