Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 6.7 KB

job-metrics.md

File metadata and controls

19 lines (18 loc) · 6.7 KB

Job Metrics

Metric name Metric type Description Labels/tags Status
kube_job_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist job_name=<job-name>
namespace=<job-namespace>
annotation_JOB_ANNOTATION=<JOB_ANNOTATION>
EXPERIMENTAL
kube_job_info Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist job_name=<job-name>
namespace=<job-namespace>
label_JOB_LABEL=<JOB_LABEL>
STABLE
kube_job_owner Gauge job_name=<job-name>
namespace=<job-namespace>
owner_kind=<owner kind>
owner_name=<owner name>
owner_is_controller=<whether owner is controller>
STABLE
kube_job_spec_parallelism Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_spec_completions Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_spec_active_deadline_seconds Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_status_active Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_status_succeeded Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_status_failed Gauge job_name=<job-name>
namespace=<job-namespace>
reason=<failure reason>
STABLE
kube_job_status_start_time Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_status_completion_time Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE
kube_job_complete Gauge job_name=<job-name>
namespace=<job-namespace>
condition=<true|false|unknown>
STABLE
kube_job_failed Gauge job_name=<job-name>
namespace=<job-namespace>
condition=<true|false|unknown>
STABLE
kube_job_created Gauge job_name=<job-name>
namespace=<job-namespace>
STABLE