knightss27 / grafana-network-weathermap

A fully featured and customizable network weathermap plugin for Grafana (9.0+).
https://grafana.com/grafana/plugins/knightss27-weathermap-panel/
Apache License 2.0
139 stars 7 forks source link

LAG interface / Expression support #12

Closed TFisd271 closed 2 years ago

TFisd271 commented 2 years ago

Thank you so much for this project, its awesome!

A great additional feature would be a way to display traffic on aggregate interfaces.

When querying a LAG interface, snmp reports no traffic. So to show LAG traffic in a Time Series panel, I need to query individual interfaces then use an expression like "queryA + queryB" to get the aggregate traffic of the member interfaces.

Currently, Network Weathermap panel only allows for selecting a query to display traffic for a node. If we were able to select an expression, then we could display LAG interface traffic in the map. Which would be terrific!

network weathermap lag .

knightss27 commented 2 years ago

I'm looking into this. Annoyingly they are not very well documented by Grafana, so I am going to have to play around in my own environment to see what these look like. From what I can tell so far, the weathermap can see them, just they don't actually have any labels as names, so I'll probably have to look somewhere else to label them. This looks pretty doable thought.

knightss27 commented 2 years ago

This should be fixed with auto-labeling of queries, to be released with v0.3.2. I've only had the chance to test with Prometheus queries however, so let me know in the future if this remains an issue.