Skip to main content

K8S_JOB_ANNOTATION

Constant K8S_JOB_ANNOTATION 

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

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

§Notes

Examples:

  • A label number with value 1 SHOULD be recorded as the k8s.job.annotation.number attribute with value "1".
  • A label data with empty string value SHOULD be recorded as the k8s.job.annotation.data attribute with value "".

§Examples

  • "1"
  • ""