In this Dashboard I see a similar problem to the one I mentioned in https://discord.com/channels/855068651522490400/1379118085323100210 i.e. both the chart and the table show names of the form "Connections" and "Open Files", but not with the name of the actual SVM included. ... So I know "blue" has had a Max number of connections of 4,853 but not which SVM that is. If you see what I mean. (nabox 4.0.9, harvest 25.05.02)
#Dashboard ONTAP:SVM Connections (and Open Files)
1 messages · Page 1 of 1 (latest)
thanks @olive pivot I see what you mean. How does this look?
That would be super!
Thanks! We will fix. You can also make that change locally in the meantime if you want. I can explain how if you are not familiar
Also, and this s a bit weird, maybe I am not understanding the Grafana UI correctly, but when I try to select a specific entry / row in the table e.g. "blue", the chart changes ... but still seems to show multiple plots. Do you know what the correct behavour / usage is here?
Using ctrl + select also seems to do something, but not what I anticipated 😕
When you select a single row in the table, it disables the other rows. You should see the timeseries above the table do the same
Ctrl + select lets you filter the table and corresponding time series to the set of selected rows
OK. I don't think it does that. Have you got data to look at on your lab setup?
for that panel, no, but the selection stuff works as I described in Grafana. What if you pick a different panel and try the clicks there - do they behave as I described?
e.g. no rows selected - all five time series are shown in the graph
first row (green) selected - only that one time series is shown
first and last row selected - those two time series are shown
For this specific chart I see (I think) that selecting one of the connection entries highlights all connection entries in the table, and plots them. Similarly, selecting an "Open Files" row selects all "Open Files" rows ...
We should quick fix the naming as you mentioned, and retry
that is probably because they all have the same name
Right 🙂 Hit me with the renaming tip!
OK - hover over the panel in question and press the e key (for edit)
You will see something like this
We are going to make changes in the highlighted part. Click to expand the Options section
In the Legend section click and add the following - {{svm}} so that it looks like this
Do that for both the Connections and Open Files Legend. Then click Apply at the top of the page
If you like these changes click the Save dashboard button at the top of the page
Alternatively, you can import the version of the dashboard that includes this fix
/done. Perfect!
Now write a regex to search through the source tree to hunt for the same naming problem in other charts 😎
And that also fixes the weird selection behavior too - thanks!👍🏻
(FYI)
That's a good idea. We have built lots of unit tests around dashboards since they're easy to parse (being json). I'll see if we can add a new unit test for this one
Other examples on the SVM dashboard. The Highlights row contains these panels that include legends without {{cluster}} - {{svm}}
Good catch! I didn't notice those, right there on the same page 😕
I'm actually focused on collecting just connection information, specifically the numbers of encrypted and unencrypted sessions
(Humm, I notice I just wrote session and not connection .... I wonder what the correct terminology is ...)
So, I don't know how deep you want to go with the Harvest Dashboards, but I could imagine potentially adding a couple more attributes i.e. encryption status on/off and cifs version ...
Just a thought. If the API provides those.
(ONTAP CLI "vserver cifs session show ..." does)
Just thinking out loud, not sure how generally useful that would be