Materia trasowa według etykiet
{
"labels": {
"team": "platform",
"env": "prod",
"severity": "critical"
}
}
Ogólne obciążenie użytkowe haka webowego
{
"external_id": "deploy-check-42",
"title": "Billing API error rate is high",
"message": "Error rate exceeded the production threshold for 10 minutes.",
"status": "firing",
"severity": "critical",
"labels": {
"team": "payments",
"service": "billing-api",
"env": "prod",
"alertname": "HighErrorRate"
},
"event_link": "https://monitoring.example.com/alerts/deploy-check-42"
}
Grupa według stabilnych pól
["alertname", "service", "env"]
Cisza przy etykietach
{
"labels": {
"service": "billing-api",
"env": "staging"
}
}
Filtr ciężkości kanału
{
"notify_on_severities": ["critical", "high"]
}
Alertmanager Pomysł na odbiornik
Utwórz oddzielne odbiorniki Alertmanager dla różnych znaków trasy IncidentRelay, kiedy klasy alarmowe powinny przejść na różne trasy lub kanały.