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"
ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED, ALERT_DEF_PRIORITY_P4, ALERT_DEF_PRIORITY_P3, ALERT_DEF_PRIORITY_P2, ALERT_DEF_PRIORITY_P1 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
false
A detailed description of what the alert monitors and when it triggers
"Alert description"
Whether the alert is currently active and monitoring
true
Labels used to identify and categorize the alert entity
{ "key": "value" }Keys used to group and aggregate alert data
Whether the alert is in phantom mode (creating incidents or not)
false
Configuration for alerts based on trace count thresholds
Response
A response that contains the newly created alert definition
This data structure represents an alert definition