EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs

data class EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs(val aggregationPeriod: Output<String>? = null, val alertDisabled: Output<Boolean>? = null, val alertName: Output<String>? = null, val clientId: Output<String>? = null, val durationThresholdMs: Output<String>? = null, val errorEnumList: Output<EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs>? = null, val metricType: Output<EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType>? = null, val numAggregationPeriods: Output<Int>? = null, val onlyFinalAttempt: Output<Boolean>? = null, val playbookUrl: Output<String>? = null, val thresholdType: Output<EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType>? = null, val thresholdValue: Output<EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueArgs>? = null, val warningEnumList: Output<EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs>? = null) : ConvertibleToJava<EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs>

Message to be used to configure custom alerting in the {@code EventConfig} protos for an event.

Constructors

constructor(aggregationPeriod: Output<String>? = null, alertDisabled: Output<Boolean>? = null, alertName: Output<String>? = null, clientId: Output<String>? = null, durationThresholdMs: Output<String>? = null, errorEnumList: Output<EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs>? = null, metricType: Output<EnterpriseCrmEventbusProtoWorkflowAlertConfigMetricType>? = null, numAggregationPeriods: Output<Int>? = null, onlyFinalAttempt: Output<Boolean>? = null, playbookUrl: Output<String>? = null, thresholdType: Output<EnterpriseCrmEventbusProtoWorkflowAlertConfigThresholdType>? = null, thresholdValue: Output<EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValueArgs>? = null, warningEnumList: Output<EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumListArgs>? = null)

Properties

Link copied to clipboard
val aggregationPeriod: Output<String>? = null

For an EXPECTED_MIN threshold, this aggregation_period must be lesser than 24 hours.

Link copied to clipboard
val alertDisabled: Output<Boolean>? = null

Set to false by default. When set to true, the metrics are not aggregated or pushed to Monarch for this workflow alert.

Link copied to clipboard
val alertName: Output<String>? = null

A name to identify this alert. This will be displayed in the alert subject. If set, this name should be unique within the scope of the workflow.

Link copied to clipboard
val clientId: Output<String>? = null

Client associated with this alert configuration.

Link copied to clipboard
val durationThresholdMs: Output<String>? = null

Should be specified only for *AVERAGE_DURATION and *PERCENTILE_DURATION metrics. This member should be used to specify what duration value the metrics should exceed for the alert to trigger.

Link copied to clipboard
Link copied to clipboard
val numAggregationPeriods: Output<Int>? = null

For how many contiguous aggregation periods should the expected min or max be violated for the alert to be fired.

Link copied to clipboard
val onlyFinalAttempt: Output<Boolean>? = null

For either events or tasks, depending on the type of alert, count only final attempts, not retries.

Link copied to clipboard
val playbookUrl: Output<String>? = null

Link to a playbook for resolving the issue that triggered this alert.

Link copied to clipboard

The threshold type, whether lower(expected_min) or upper(expected_max), for which this alert is being configured. If value falls below expected_min or exceeds expected_max, an alert will be fired.

Link copied to clipboard

The metric value, above or below which the alert should be triggered.

Functions

Link copied to clipboard
open override fun toJava(): EnterpriseCrmEventbusProtoWorkflowAlertConfigArgs