openebs / monitoring

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

Monitoring, dashboards and metrics for `Local PV HostPath` storage engine #117

Open tmvfb opened 4 months ago

tmvfb commented 4 months ago

openebs/monitoring repository currently supports dashboards and alerts only for Mayastor, LocalPV LVM, LocalPV ZFS OpenEBS storage engines (see README).

Are there plans to make metrics available for Local PV HostPath engine as well? It would be great to be able to use at least the kubelet metrics (e. g. kubelet_volume_stats_used_bytes) which currently seem to be broken and show the same (aggregate?) values for all the PVs.

image
tmvfb commented 2 months ago

Using this as a temporary solution, allows to monitor how much space is occupied by which PV. For some reason it doesn't seem to be accurate for some of the PVs.

avishnu commented 2 months ago

kubelet_volume_stats_used_bytes fetches metrics for the underlying file-system. Local PV Hostpath volumes share the same underlying file-system. So, those metrics will be aggregate for all the PVs on that fs. This is a known limitation.