kube-state-metrics/docs/secret-metrics.md

2.6 KiB

Secret Metrics

Metric name Metric type Description Labels/tags Status
kube_secret_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist secret=<secret-name>
namespace=<secret-namespace>
annotations_SECRET_ANNOTATION=<SECRET_ANNOTATION>
EXPERIMENTAL
kube_secret_info Gauge secret=<secret-name>
namespace=<secret-namespace>
STABLE
kube_secret_type Gauge secret=<secret-name>
namespace=<secret-namespace>
type=<secret-type>
STABLE
kube_secret_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist secret=<secret-name>
namespace=<secret-namespace>
label_SECRET_LABEL=<SECRET_LABEL>
STABLE
kube_secret_created Gauge secret=<secret-name>
namespace=<secret-namespace>
STABLE
kube_secret_metadata_resource_version Gauge secret=<secret-name>
namespace=<secret-namespace>
EXPERIMENTAL