Monitor error spikes
Turn a sudden burst of one error into a single, classified alert — production only, severity already decided — instead of a wall of duplicate noise.
the event
Emit error.spike once; route it anywhere below.
- servicestring
- errorstringerror class
- countnumberin window
- windowstringe.g. 5m
- envstringprod | staging
import { ingest } from "@ingestlayer/sdk";
await ingest("error.spike", {
service: "checkout",
error: err.name,
count: windowCount,
window: "5m",
env: process.env.NODE_ENV,
});send it to
- Monitor error spikes in SlackSlack
- Monitor error spikes in DiscordDiscord
- Monitor error spikes in TelegramTelegram
- Monitor error spikes in EmailEmail
- Monitor error spikes in WebhookWebhook
- Monitor error spikes in PostgresPostgres
- Monitor error spikes in NotionNotion