Constant K8S_HPA_METRIC_TARGET_CPU_VALUE

pub const K8S_HPA_METRIC_TARGET_CPU_VALUE: &'static str;
Expand description

§Description

Target value for CPU resource in HPA config.

§Notes

This metric aligns with the value field of the K8s HPA MetricTarget. If the type of the metric is ContainerResource, the k8s.container.name attribute MUST be set to identify the specific container within the pod to which the metric applies

§Metadata

Instrument:gauge
Unit:{cpu}
Status:Development

§Attributes

NameRequirement
crate::attribute::K8S_CONTAINER_NAMEConditionally_required: if and only if k8s.hpa.metric.type is ContainerResource
crate::attribute::K8S_HPA_METRIC_TYPERecommended