AlertStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Control over how the notification channels in
notification_channels
are notified when this alert fires.
Attributes |
|
---|---|
Name | Description |
notification_rate_limit |
google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationRateLimit
Required for log-based alerting policies, i.e. policies with a LogMatch condition.
This limit is not implemented for alerting policies that do
not have a LogMatch condition.
|
notification_prompts |
MutableSequence[google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationPrompt]
For log-based alert policies, the notification prompts is always [OPENED]. For non log-based alert policies, the notification prompts can be [OPENED] or [OPENED, CLOSED]. |
auto_close |
google.protobuf.duration_pb2.Duration
If an alerting policy that was active has no data for this long, any open incidents will close |
notification_channel_strategy |
MutableSequence[google.cloud.monitoring_v3.types.AlertPolicy.AlertStrategy.NotificationChannelStrategy]
Control how notifications will be sent out, on a per-channel basis. |
Classes
NotificationChannelStrategy
NotificationChannelStrategy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Control over how the notification channels in
notification_channels
are notified when this alert fires, on a
per-channel basis.
NotificationPrompt
NotificationPrompt(value)
Control when notifications will be sent out.
NotificationRateLimit
NotificationRateLimit(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Control over the rate of notifications sent to this alerting policy's notification channels.