Creating Alerts
Set up custom alerts for your resources.
Create Alert
POST /api/v1/alerts
{
"name": "High CPU Alert",
"resource_type": "server",
"resource_id": "uuid",
"metric": "cpu_percent",
"operator": "greater_than",
"threshold": 90,
"duration_minutes": 5,
"severity": "warning"
}
Available Metrics
| Resource | Metrics |
|---|---|
| Server | cpu_percent, memory_percent, disk_percent, load_1m |
| App | error_rate, response_time_p99, restart_count |
| Database | connections, storage_percent, replication_lag |
Operators
greater_thanless_thanequalsnot_equals