All Products
Search
Document Center

Function Compute:TargetTrackingPolicies

Last Updated:Sep 19, 2024
ParameterTypeDescriptionExample
object

The configurations of metric-based auto scaling.

namestring

The policy name.

test_1
startTimestring

The time when the policy starts to take effect, in UTC.

2020-10-10T10:10:10Z
endTimestring

The end time of the policy, in UTC.

2020-10-10T10:10:10Z
metricTypestring

The type of the tracked metrics:

  • ProvisionedConcurrencyUtilization: the concurrency utilization of provisioned instances
  • CPUUtilization :CPU utilization
  • GPUMemUtilization: GPU utilization
CPUUtilization
metricTargetdouble

The threshold value for metric-based auto scaling.

0.6
minCapacitylong

The minimum number of provisioned instances for scale-in.

10
maxCapacitylong

The maximum number of provisioned instances for scale-out.

100