Authorizations
API key authentication
Body
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
- Alert definition properties
User-configurable properties of an alert definition
The name of the alert definition
"My Alert"
The priority level of the alert
ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED, ALERT_DEF_PRIORITY_P4, ALERT_DEF_PRIORITY_P3, ALERT_DEF_PRIORITY_P2, ALERT_DEF_PRIORITY_P1 "ALERT_DEF_PRIORITY_P4"
Alert type
ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED, ALERT_DEF_TYPE_LOGS_THRESHOLD, ALERT_DEF_TYPE_LOGS_ANOMALY, ALERT_DEF_TYPE_LOGS_RATIO_THRESHOLD, ALERT_DEF_TYPE_LOGS_NEW_VALUE, ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT, ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_THRESHOLD, ALERT_DEF_TYPE_METRIC_THRESHOLD, ALERT_DEF_TYPE_METRIC_ANOMALY, ALERT_DEF_TYPE_TRACING_IMMEDIATE, ALERT_DEF_TYPE_TRACING_THRESHOLD, ALERT_DEF_TYPE_FLOW, ALERT_DEF_TYPE_SLO_THRESHOLD "ALERT_DEF_TYPE_METRIC_THRESHOLD"
Defines when an alert should be active based on days of the week and time windows
Whether the alert has been marked as deleted
false
A detailed description of what the alert monitors and when it triggers
"Alert description"
Whether the alert is currently active and monitoring
true
Keys used to group and aggregate alert data
Configuration for immediate alerts triggered on log entries matching specific filters.
Whether the alert is in phantom mode (creating incidents or not)
false
Response
A response that contains the newly created alert definition
This data structure represents an alert definition