Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 7.14 KB

statefulset-metrics.md

File metadata and controls

19 lines (18 loc) · 7.14 KB

Stateful Set Metrics

Metric name Metric type Description Labels/tags Status
kube_statefulset_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist statefulset=<statefulset-name>
namespace=<statefulset-namespace>
annotation_STATEFULSET_ANNOTATION=<STATEFULSET_ANNOTATION>
EXPERIMENTAL
kube_statefulset_status_replicas Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_status_replicas_current Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_status_replicas_ready Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_status_replicas_available Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
EXPERIMENTAL
kube_statefulset_status_replicas_updated Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_status_observed_generation Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_replicas Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_ordinals_start Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_metadata_generation Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_persistentvolumeclaim_retention_policy Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
when_deleted=<statefulset-when-deleted-pvc-policy>
when_scaled=<statefulset-when-scaled-pvc-policy>
EXPERIMENTAL
kube_statefulset_created Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
STABLE
kube_statefulset_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist statefulset=<statefulset-name>
namespace=<statefulset-namespace>
label_STATEFULSET_LABEL=<STATEFULSET_LABEL>
STABLE
kube_statefulset_status_current_revision Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
revision=<statefulset-current-revision>
STABLE
kube_statefulset_status_update_revision Gauge statefulset=<statefulset-name>
namespace=<statefulset-namespace>
revision=<statefulset-update-revision>
STABLE