metricType property

String? metricType
getter/setter pair

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.
  • "EVENT_ERROR_RATE" : Specifies alerting on the rate of errors for the enclosing workflow.
  • "EVENT_WARNING_RATE" : Specifies alerting on the rate of warnings for the enclosing workflow. Warnings use the same enum values as errors.
  • "TASK_ERROR_RATE" : Specifies alerting on the rate of errors for any task in the enclosing workflow.
  • "TASK_WARNING_RATE" : Specifies alerting on the rate of warnings for any task in the enclosing workflow.
  • "TASK_RATE" : Specifies alerting on the rate of executions over all tasks in the enclosing workflow.
  • "EVENT_RATE" : Specifies alerting on the number of events executed in the given aggregation_period.
  • "EVENT_AVERAGE_DURATION" : Specifies alerting on the average duration of executions for this workflow.
  • "EVENT_PERCENTILE_DURATION" : Specifies alerting on the duration value of a particular percentile of workflow executions. E.g. If 10% or more of the workflow executions have durations above 5 seconds, alert.
  • "TASK_AVERAGE_DURATION" : Specifies alerting on the average duration of any task in the enclosing workflow,
  • "TASK_PERCENTILE_DURATION" : Specifies alerting on the duration value of a particular percentile of any task executions within the enclosing workflow. E.g. If 10% or more of the task executions in the workflow have durations above 5 seconds, alert.

Implementation

core.String? metricType;