openebs / monitoring

OpenEBS Monitoring add-on. A set of Grafana, Prometheus, and alert manager plugins.
Apache License 2.0
26 stars 20 forks source link

fix(lvm-pool-dashboard): Multiple metrics shown for same vg,thin-pool across multiple nodes #67

Closed Ab-hishek closed 2 years ago

Ab-hishek commented 2 years ago

Signed-off-by: Abhishek Agarwal abhishek.agarwal@mayadata.io

What this PR does?

This PR fixes the multiple metrics being seen in grafana dashboard graphs for volume groups and thin pools having same name across multiple nodes even when only one node is selected from the node dropdown box.

The problem can be visualised in the picture below: image

How did the fix got resolved?

The issue was resolved by adding the node label along with other metrics labels in each panel expression of the grafana dashboard. This way metrics related to only the selected node will be displayed on the graphs.