metricType property
Possible string values are:
- "METRIC_TYPE_UNSPECIFIED" : The default value. Metric type should always be set to one of the other non-default values, otherwise it will result in an INVALID_ARGUMENT error.
- "TASK_ERROR_RATE" : Specifies alerting on the rate of errors (potentially for a specific set of enum values) for the enclosing TaskConfig.
- "TASK_WARNING_RATE" : Specifies alerting on the rate of warnings (potentially for a specific set of enum values) for the enclosing TaskConfig. Warnings use the same enum values as errors.
- "TASK_RATE" : Specifies alerting on the number of instances for the enclosing TaskConfig executed in the given aggregation_period.
- "TASK_AVERAGE_DURATION" : Specifies alerting on the average duration of execution for the enclosing task.
- "TASK_PERCENTILE_DURATION" : Specifies alerting on the duration of a particular percentile of task executions. E.g. If 10% or more of the task executions have durations above 5 seconds, alert.
Implementation
core.String? metricType;