Closed eyalzo closed 1 year ago
Ugh, this should work but actually thanks so much for pointing me to the Duagram plugin since it turns out Grafana actually has a function for this stuff. I will quickly push a new version today to Github that hopefully fixes this once and for all.
Fixed with v0.3.3. I've submitted it for Grafana's review, so should be live sometime this week (skipping v0.3.2 for Grafana's own site).
It's working! Version 0.3.3. Thanks a lot.
It should be noted that there is still a minor bug there (?)- seems like it's impossible to delete the query, meaning to say something like "I regret and would like to leave this field empty". I think there should be an X for that. See for example the X here in the Node's status (it doesn't reset that field either, btw):
Good catch, I need to add a clearing option for the other fields. I'll make sure this gets in the next update.
Describe the problem When fetching data from Prometheus, the names are taken directly from Prometheus, showing only the labels. I'm using 0.3.2 (manual installation). With version 0.3.1 I couldn't use bandwidth queries at all (it displayed just "No Label").
To Reproduce Steps to reproduce the behavior (if possible): Use a Prometheus server.
Expected behavior It would better use Grafana's naming system, meaning the series name (A,B etc) or Grafana's labeling system for Prometheus (as performed by Duagram plugin for example).
Screenshots The first query (out of two), that has a unique legend name and a unique series name:
How the two queries appear in the plugin's select box:
VERSIONS! (please complete the following information):