Skip to main content

K8S_STATEFULSET_ANNOTATION

Constant K8S_STATEFULSET_ANNOTATION 

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

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

§Notes

Examples:

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

§Examples

  • "1"
  • ""