Skip to main content

K8S_STATEFULSET_LABEL

Constant K8S_STATEFULSET_LABEL 

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

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

§Notes

Examples:

  • A label replicas with value 0 SHOULD be recorded as the k8s.statefulset.label.app attribute with value "guestbook".
  • A label injected with empty string value SHOULD be recorded as the k8s.statefulset.label.injected attribute with value "".

§Examples

  • "guestbook"
  • ""