Export iscsi metrics to Prometheus
The prometheus-iscsi-exporter snap exposes high level ISCSI metrics to Prometheus.
Metrics
Metrics are scrapped from the snap's $SNAP_DATA directory (/var/snap/prometheus-iscsi-exporter/current).
Multipath command output should be written to $SNAP_DATA/multipath.
Multipath Device Total
The total number of devices setup to use multipath. This is a gauge metric, and it is exported with the name
iscsi_multipath_device_total.
Multipath Number of Paths
The number of paths per device. This is a gauge metric, and it is exported with the name iscsi_multipath_path_total.
Each metric is labeled with the device's alias and wwid.
Links
ISCSI
https://en.wikipedia.org/wiki/ISCSI
Prometheus
https://prometheus.io/