-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Is your feature request related to a problem? Please describe.
Prometheus exporter should expose more volume & replica information, such as the info available in kubectl mayastor get volume-replica-topologies.
Describe the solution you'd like
Ideally, I'd like to see metrics along the lines of:
- Volume replicas (with a
statuslabel, eg. Failed, Degraded, Online) - Replica rebuild progress (this could potentially be a gauge of the current rebuild state of a replica)
- A
volumelabel on thereplicametrics - And this is purely an opinion, but it feels like the metrics should be prefixed with
mayastor_for identification
Generally, the more information (without unecessary cardinality) the better. This makes correlating service issues with volume issues much easier and unlocks better visualisations & alerts.
For example, this query in Grafana:
label_replace(
irate(replica_num_write_ops{name=~"$replica"}[$__rate_interval]),
"volumename", "$1", "pv_name", "(.*)"
)
* on (volumename) group_left (persistentvolumeclaim)
kube_persistentvolumeclaim_info
Metadata
Metadata
Assignees
Labels
No labels
