Skip to main content

K8S_JOB_LABEL

Constant K8S_JOB_LABEL 

pub const K8S_JOB_LABEL: &'static str;
Available on crate feature opentelemetry only.
Expand description

The label placed on the Job, the key being the label name, the value being the label value, even if the value is empty.

§Notes

Examples:

  • A label jobtype with value ci SHOULD be recorded as the k8s.job.label.jobtype attribute with value "ci".
  • A label data with empty string value SHOULD be recorded as the k8s.job.label.automated attribute with value "".

§Examples

  • "ci"
  • ""