Skip to main content

K8S_PERSISTENTVOLUMECLAIM_LABEL

Constant K8S_PERSISTENTVOLUMECLAIM_LABEL 

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

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

§Notes

Examples:

  • A label app with value my-app SHOULD be recorded as the k8s.persistentvolumeclaim.label.app attribute with value "my-app".
  • A label data with empty string value SHOULD be recorded as the k8s.persistentvolumeclaim.label.data attribute with value "".

§Examples

  • "my-app"
  • ""