Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 3.03 KB

secret-metrics.md

File metadata and controls

11 lines (10 loc) · 3.03 KB

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
kube_secret_owner Gauge secret=<secret-name>
namespace=<secret-namespace>
owner_kind=<owner kind>
owner_name=<owner name>
owner_is_controller=<whether owner is controller>
EXPERIMENTAL