Skip to main content

K8S_NODE_LABEL

Constant K8S_NODE_LABEL 

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

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

§Notes

Examples:

  • A label kubernetes.io/arch with value arm64 SHOULD be recorded as the k8s.node.label.kubernetes.io/arch attribute with value "arm64".
  • A label data with empty string value SHOULD be recorded as the k8s.node.label.data attribute with value "".

§Examples

  • "arm64"
  • ""