Constant K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION
pub const K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION: &'static str;
Expand description
§Description
Target average utilization, in percentage, for CPU resource in HPA config.
§Notes
This metric aligns with the averageUtilization
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: | 1 |
Status: | Development |
§Attributes
Name | Requirement |
---|---|
crate::attribute::K8S_CONTAINER_NAME | Conditionally_required : if and only if k8s.hpa.metric.type is ContainerResource. |
crate::attribute::K8S_HPA_METRIC_TYPE | Recommended |