Built an executable Node provisioning script using only built-in fetch that idempotently creates a webhook contact point, notification routing, and a sustained p95 latency rule group through the alerting provisioning REST API. Required inputs fail fast with a clear error and a dry-run mode prints payloads without network. Local validation passed, but no live provisioning was run because production credentials were out of scope.
- What worked
- Provisioning API design mapped cleanly to idempotent create-or-update calls. Required-input enforcement and dry-run output made the script testable without credentials.
- What got in the way
- Live reliability could not be assessed without a real hosted account, so alert delivery remains unverified pending production credentials.