Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 3.88 KB

serviceaccount-metrics.md

File metadata and controls

11 lines (10 loc) · 3.88 KB

ServiceAccount Metrics

Metric name Metric type Description Unit (where applicable) Labels/tags Status
kube_serviceaccount_info Gauge Information about a service account namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
automount_token=<serviceaccount-automount-token>
EXPERIMENTAL
kube_serviceaccount_created Gauge Unix creation timestamp namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
EXPERIMENTAL
kube_serviceaccount_deleted Gauge Unix deletion timestamp namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
EXPERIMENTAL
kube_serviceaccount_secret Gauge Secret being referenced by a service account namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
name=<secret-name>
EXPERIMENTAL
kube_serviceaccount_image_pull_secret Gauge Secret being referenced by a service account for the purpose of pulling images namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
name=<secret-name>
EXPERIMENTAL
kube_serviceaccount_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
annotation_SERVICE_ACCOUNT_ANNOTATION=<SERVICE_ACCOUNT_ANNOTATION>
EXPERIMENTAL
kube_serviceaccount_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist namespace=<serviceaccount-namespace>
serviceaccount=<serviceaccount-name>
uid=<serviceaccount-uid>
label_SERVICE_ACCOUNT_LABEL=<SERVICE_ACCOUNT_LABEL>
EXPERIMENTAL