Monitoring
This website/page will be End-of-life (EOL) after 31 August 2024. We recommend you to visit OpenEBS Documentation for the latest Mayastor documentation (v2.6 and above).
Mayastor is now also referred to as OpenEBS Replicated PV Mayastor.
Pool metrics exporter
The Mayastor pool metrics exporter runs as a sidecar container within every io-engine pod and exposes pool usage metrics in Prometheus format. These metrics are exposed on port 9502 using an HTTP endpoint /metrics and are refreshed every five minutes.
Supported metrics
Name | Type | Unit | Description |
---|---|---|---|
disk_pool_total_size_bytes | Gauge | Integer | Total size of the pool |
disk_pool_used_size_bytes | Gauge | Integer | Used size of the pool |
disk_pool_status | Gauge | Integer | Status of the pool (0, 1, 2, 3) = {"Unknown", "Online", "Degraded", "Faulted"} |
disk_pool_committed_size | Gauge | Integer | Committed size of the pool in bytes |
Integrating exporter with Prometheus monitoring stack
To install, add the Prometheus-stack helm chart and update the repo.
Then, install the Prometheus monitoring stack and set prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues to false. This enables Prometheus to discover custom ServiceMonitor for Mayastor.
Next, install the ServiceMonitor resource to select services and specify their underlying endpoint objects.
Upon successful integration of the exporter with the Prometheus stack, the metrics will be available on the port 9090 and HTTP endpoint /metrics.
CSI metrics exporter
Name | Type | Unit | Description |
---|---|---|---|
kubelet_volume_stats_available_bytes | Gauge | Integer | Size of the available/usable volume (in bytes) |
kubelet_volume_stats_capacity_bytes | Gauge | Integer | The total size of the volume (in bytes) |
kubelet_volume_stats_used_bytes | Gauge | Integer | Used size of the volume (in bytes) |
kubelet_volume_stats_inodes | Gauge | Integer | The total number of inodes |
kubelet_volume_stats_inodes_free | Gauge | Integer | The total number of usable inodes. |
kubelet_volume_stats_inodes_used | Gauge | Integer | The total number of inodes that have been utilized to store metadata. |
Last updated