CustomizableMetricParameters
¶
Source code in docs_src/capo_compute_optimizer/types/customizable_metric_parameters.py
headroom
instance-attribute
¶
headroom: NotRequired[CustomizableMetricHeadroom]
The headroom value in percentage used for the specified metric parameter.
The following lists the valid values for CPU and memory utilization.
-
CPU utilization:
PERCENT_30 | PERCENT_20 | PERCENT_0 -
Memory utilization:
PERCENT_30 | PERCENT_20 | PERCENT_10
threshold
instance-attribute
¶
threshold: NotRequired[CustomizableMetricThreshold]
The threshold value used for the specified metric parameter.
You can only specify the threshold value for CPU utilization.