Skip to main content

K8S_PERSISTENTVOLUME_LABEL

Constant K8S_PERSISTENTVOLUME_LABEL 

pub const K8S_PERSISTENTVOLUME_LABEL: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

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

§Notes

Examples:

  • A label type with value ssd SHOULD be recorded as the k8s.persistentvolume.label.type attribute with value "ssd".
  • A label data with empty string value SHOULD be recorded as the k8s.persistentvolume.label.data attribute with value "".

§Examples

  • "ssd"
  • ""