autoscalingMetricSpecs property

  1. @TagNumber(4)
List<AutoscalingMetricSpec> get autoscalingMetricSpecs

Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric.

If google.cloud.visionai.v1.MachineSpec.accelerator_count is above 0, the autoscaling will be based on both CPU utilization and accelerator's duty cycle metrics and scale up when either metrics exceeds its target value while scale down if both metrics are under their target value. The default target value is 60 for both metrics.

If google.cloud.visionai.v1.MachineSpec.accelerator_count is 0, the autoscaling will be based on CPU utilization metric only with default target value 60 if not explicitly set.

For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set google.cloud.visionai.v1.AutoscalingMetricSpec.metric_name to aiplatform.googleapis.com/prediction/online/cpu/utilization and google.cloud.visionai.v1.AutoscalingMetricSpec.target to 80.

Implementation

@$pb.TagNumber(4)
$core.List<AutoscalingMetricSpec> get autoscalingMetricSpecs => $_getList(3);