Alerts
Cheat sheet · https://pcornel.dk/topic.php?topic=5969
Answer
Alerts convert automation telemetry into actionable notifications when a defined condition requires human or automated response, carrying enough run, target, severity and evidence context to triage without turning every warning into a page.
Remember
- Alert fired ≠ incident confirmed.
- No alert ≠ no failure.
- Warning log ≠ page-worthy condition.
- Notification delivered ≠ responder acted.
First checks
- Alert rules (job failed, missed schedule, duration high) — coverage
- Routing to owners — responsibility
- Runbook links — response
Verify in this order
metric/event → alert → owner
Where it usually breaks
An alert proves a monitoring rule evaluated to a notifying state; it does not by itself prove root cause, service impact, delivery to a human or resolution.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Alerts observability proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Identity / scope | Immutable source plus run/job/attempt and exact target IDs are explicit | Floating source, shared labels or ambiguous target scope make events hard to attribute |
| Telemetry path | Structured logs, metrics and traces are exported, timestamped, retained and correlated | Console-only output, missing data or broken correlation silently creates blind spots |
| Effective outcome | Job status is paired with target read-back and workload/service acceptance | Green execution state substitutes for effective target or service verification |
| Monitoring / closure | Rates, latency, freshness and alerts use explicit windows/objectives and tested recovery | Untested alerts, stale dashboards or one successful sample are treated as healthy system proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5969