MetricsEventDefinition
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.
{
"metrics_key": "system.cpu.usage",
"raise_threshold": {
"comparison": "string",
"value": "string"
},
"resolve_threshold": {
"comparison": "string",
"value": "string"
}
}
The unique identifier of the metric to monitor for this alarm. This key corresponds to a specific metric in the system that will be evaluated against the defined thresholds.
Defines a threshold condition that determines when an alarm should be raised or resolved. Consists of a comparison operator and a value to compare against real-time metrics.
Defines a threshold condition that determines when an alarm should be raised or resolved. Consists of a comparison operator and a value to compare against real-time metrics.