Checks overview
amlint runs 25 checks grouped into four categories.
| code | level | category |
|---|---|---|
undefined-receiver |
error | Routing |
no-root-route |
error | Routing |
bad-regex |
error | Routing |
unreachable-route |
warn | Routing |
route-match-collision |
warn | Routing |
groupby-ellipsis |
warn | Routing |
useless-continue |
info | Routing |
deep-nesting |
info | Routing |
duplicate-receiver |
error | Receivers |
empty-receiver |
warn/info | Receivers |
email-no-smarthost |
error | Receivers |
webhook-no-url |
error | Receivers |
pagerduty-no-routing-key |
error | Receivers |
slack-no-api-url |
error | Receivers |
opsgenie-no-api-key |
error | Receivers |
msteams-no-webhook-url |
error | Receivers |
template-file-missing |
error/warn | Receivers |
unused-receiver |
info | Receivers |
inhibit-no-equal |
warn | Inhibition |
circular-inhibition |
warn | Inhibition |
inhibit-same-match |
info | Inhibition |
repeat-before-group |
warn | Timing |
wait-exceeds-interval |
warn | Timing |
undefined-time-interval |
error | Timing |
global-resolve-timeout-missing |
info | Timing |
Severity levels
| level | meaning |
|---|---|
| error | Config is broken — alerts will be lost or Alertmanager will reject the config |
| warn | Almost certainly not what you intended |
| info | Suspicious, worth reviewing — may be intentional |