E2e Alertmanager Test

Render end-to-end previews of what an alert notification will actually look like (plain-text email, HTML email, Slack attachment JSON, raw webhook JSON) by replaying a Prometheus unit-test file's expected alerts through a live Alertmanager. Effectively a "print preview" for alerts. Use to review notification formatting/content before merging alert changes, or in CI against an ephemeral Alertmanager to produce a diffable preview artifact. Requires a reachable Alertmanager API and a promtool-style unit-test file as input. Can be made fully hermetic in CI by pointing the ephemeral Alertmanager at a skeleton config that keeps the team's real routing/grouping/inhibition rules but overrides receiver connection details, so no real notification ever leaves the runner.

conallob fac69fc 8.1 KB Updated

File contents

conallob/o11y-analysis-tools/tree/main/skills/e2e-alertmanager-test commit fac69fc649

Frequently asked questions

npx skillmds@latest add conallob/e2e-alertmanager-test