EventDefinition
EventDefinition
Defines the conditions and criteria that determine when an alarm should be triggered. Currently supports metric-based event definitions that compare real-time metrics against defined thresholds.
JSON Example
{
"metrics_event_definition": {
"metrics_key": "system.cpu.usage",
"raise_threshold": {
"comparison": "string",
"value": "string"
},
"resolve_threshold": {
"comparison": "string",
"value": "string"
}
}
}
metrics_event_definition
Optional
Defines the conditions for metric-based alarm events. Specifies which metric to monitor and the threshold conditions that trigger the alarm to be raised or resolved. This allows for automated alarm management based on real-time metric values.