Open source · Performance & Reliability

Alert Routing Simulator

Simulate alert routes to verify grouping, escalation and quiet hours.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Simulate alert routes to verify grouping, escalation and quiet hours.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

npm run check
node bin/alert-routing-simulator.mjs --root . --scenario examples/scenario-pass.json --at 2026-09-20T10:00:30.000Z
node bin/alert-routing-simulator.mjs --root . --scenario examples/scenario-fail.json --at 2026-09-20T10:00:30.000Z --json

Read the result

The first command exits 0. The failing example exits 1 with unrouted-alert. Both print one machine-readable JSON report to stdout. Without --json, a fixed human summary goes to stderr; --json suppresses that summary, not configuration diagnostics. --help displays the CLI flags without reading or writing a scenario.

Scope

This is not an Alertmanager parser, notification sender, retry engine, provider adapter, recipient validator, browser driver, or auto-fixer. It does not infer missing alerts or fetch a live policy. The scenario profile is independent and intentionally small.