Authorizations
API key authentication
Body
application/json
- 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
Example:
"My Alert"
Available options:
ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED
, ALERT_DEF_PRIORITY_P4
, ALERT_DEF_PRIORITY_P3
, ALERT_DEF_PRIORITY_P2
, ALERT_DEF_PRIORITY_P1
Available options:
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
Defines when an alert should be active based on days of the week and time windows
Whether the alert has been marked as deleted
Example:
false
A detailed description of what the alert monitors and when it triggers
Example:
"Alert description"
Whether the alert is currently active and monitoring
Example:
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)
Example:
false
Response
A response that contains the newly created alert definition
This data structure represents an alert definition