|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The trigger condition. |
||
| MetricName |
string |
The metric name. This parameter is required and cannot be an empty character string. You can view metric names in Add elastic scaling rules. |
yarn_resourcemanager_queue_PendingVCores |
| ComparisonOperator |
string |
The comparison operator. This parameter is required. Valid values:
|
LT |
| Statistics |
string |
The statistic name. This parameter is required. Valid values:
|
AVG |
| Tags |
array |
The list of metric partition tags. For metrics with queueDefault value: Tag key: queue_name. Value: root. When you use metrics with a queue, you can set the queue_name tag to specify the queue. Ensure that you enter the full queue hierarchy name. Example Metric name: yarn_resourcemanager_queue_AvailableVCoresPercentage Tag:
For metrics with partitionDefault value: Tag key: none. Value: none. Note
For metrics with a partition, you must set the partition_name tag and explicitly specify the partition name. Example Metric name: yarn_cluster_availMemoryMBByPartition Tag: |
|
| Tag |
The tag. |
||
| Threshold |
number |
The trigger threshold. This parameter is required. |
12.5 |