-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add instance filter in Grafana dashboard #129
Comments
Hi Dennys Unfortunately, I do not see the option to modify the filter to add 'instance' = '$instance'. |
@vennelakanti2511 Sorry for late reply, this is the screen shot of Grafana 10.4. As I remember, Grafana 9.x should have the same layout. Because I don't ugprade to Grafana 11 yet, I'm not sure is it changed in Grafana 11. |
Dennys, thanks for the great workaround! There yet has come another question, how do I bind the IP addresses of the instances to some certain custom hostnames? Do you have any idea? |
I don't see hostname in the output of this exporter, maybe need to issue another feature request. |
okay. How about binding the IPs to some manually set names as like variables.? |
Maybe you can try to check PromQL, I'm not sure, but maybe it has some mapping function. |
@dennys @vennelakanti2511 @anh193 I tested the change in #221 in my own Grafana, and it works like a charm. Would you like have a try? |
It works for me, cool, thanks. |
Is your feature request related to a problem? Please describe.
When I have several machines, it's not easy to find the correct GPU by UUID.
Therefore, I try to add an instance filter in dashboard.
Describe the solution you'd like
The following is my procedures, plesae consider to add it, thanks.
First, add a new Grafana dashboard variable
Second, modify the GPU variable
And you can switch the order of the 2 variables to be more intuitive.
After saving the settings, you have 2 variables in dashboard.
And when you change 'instance', the 'gpu' list should be changed.
I think the Regex is not a good idea, but if I don't add it, it shows all other instances like Node exporter, ...
Please let me know if there is a better solution, thanks.
The text was updated successfully, but these errors were encountered: