DebugBundle

Alerts

Configure real-time alert rules to get notified when incidents occur.

Alerts notify your team when DebugBundle detects important events — new incidents, regressions, error spikes, and severity changes. Configure alert rules to route notifications to the right people through the right channels.

How Alerts Work

  1. An event triggers in DebugBundle (new incident, regression, spike).
  2. The system evaluates all active alert rules for the project.
  3. Rules matching the event's conditions and filters fire.
  4. Notifications are delivered to the configured channel.

Channels

ChannelDeliveryConfiguration
EmailEmail message to a specific addressrecipient_email
SlackMessage to a Slack channel via webhookwebhook_url, channel
DiscordMessage to a Discord channel via webhookwebhook_url
WebhookHTTP POST to any URL with optional signingurl, secret (optional)

Email

{
  "channel": "email",
  "config": {
    "recipient_email": "oncall@mycompany.com"
  }
}

Slack

{
  "channel": "slack",
  "config": {
    "webhook_url": "https://hooks.slack.com/services/T.../B.../xxx",
    "channel": "#incidents"
  }
}

Discord

{
  "channel": "discord",
  "config": {
    "webhook_url": "https://discord.com/api/webhooks/..."
  }
}

Webhook

{
  "channel": "webhook",
  "config": {
    "url": "https://myapp.com/alerts",
    "secret": "optional-signing-secret"
  }
}

Webhook alerts deliver a JSON payload signed with HMAC-SHA256 (when a secret is provided), following the same signature format as webhook deliveries.

Condition Types

Each alert rule has a condition that determines when it fires.

ConditionTriggerTypical Use
new_incidentA new incident is created."Tell me about new errors."
incident_regressedA resolved incident reopened."Alert if a fix didn't hold."
error_spikeUnusual increase in error occurrences."Warn if something is going off."
severity_thresholdIncident severity meets or exceeds a threshold."Only page me for critical."
regression_after_deployRegression detected after a deployment."Did the deploy break something?"

Severity Filter

Alert rules can include a severity_min threshold. When set, the alert only fires for incidents at or above the specified severity:

low < medium < high < critical

For example, severity_min: "high" fires for high and critical incidents only.

Service Scope

Optionally scope an alert to a specific service using service_id. When set, the alert rule only evaluates events from that service.

Alert Lifecycle

StateMeaning
is_enabled: trueAlert actively evaluates events and sends notifications.
is_enabled: falseAlert is paused — no notifications sent.

Disable alerts temporarily during maintenance windows or known-issue periods without deleting the rule configuration.

Example: Production Alert Stack

A typical production setup combines multiple alert rules:

Channel: Slack (#incidents)
  Condition: new_incident
  Severity: >= medium

Channel: Slack (#incidents-critical)
  Condition: severity_threshold
  Severity: >= critical

Channel: Email (oncall@company.com)
  Condition: incident_regressed

Channel: Webhook (PagerDuty)
  Condition: error_spike
  Severity: >= high

Managing Alerts

Alerts can be managed through all three interfaces:

InterfaceReference
APIAlerts API
CLICLI Alert Management
MCPMCP Tools

Next Steps

On this page