AlertStrategy
import type { AlertStrategy } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";
Control over how the notification channels in notification_channels are notified when this alert fires.
interface AlertStrategy {
autoClose?: number;
notificationChannelStrategy?: NotificationChannelStrategy[];
notificationPrompts?: "NOTIFICATION_PROMPT_UNSPECIFIED" | "OPENED" | "CLOSED"[];
notificationRateLimit?: NotificationRateLimit;
}§Properties
§
autoClose?: number
[src]If an alerting policy that was active has no data for this long, any open incidents will close
§
notificationChannelStrategy?: NotificationChannelStrategy[]
[src]Control how notifications will be sent out, on a per-channel basis.
§
notificationPrompts?: "NOTIFICATION_PROMPT_UNSPECIFIED" | "OPENED" | "CLOSED"[]
[src]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.
§
notificationRateLimit?: NotificationRateLimit
[src]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.