MetricsEventDefinition

MetricsEventDefinition
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.

JSON Example
{
    "metrics_key": "system.cpu.usage",
    "raise_threshold": {
        "comparison": "string",
        "value": "string"
    },
    "resolve_threshold": {
        "comparison": "string",
        "value": "string"
    }
}
string
metrics_key
Optional

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.

raise_threshold
Optional

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.

resolve_threshold
Optional

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.

Property Of