Skip to content

Alerts ​

Alerts tell your team about new errors, regressions, queue backlogs and failing health checks. Channels say where a message goes, rules what is sent. The team's rules apply to every project, and a project can customize any of them.

Channels ​

Channels on the team's Alerts page are shared by every project. A project can also have channels of its own, in its settings.

TypeWhat it needs
MailAn email address.
DiscordA channel webhook URL, and optionally the sender name.
SlackAn incoming webhook URL (https://hooks.slack.com/...).
Microsoft TeamsA Workflows webhook URL.
TelegramA bot token and a chat id (a group id starting with -, or @name of a public channel). The bot has to be a member.
ntfyThe topic URL, on ntfy.sh or your own server, and an access token for a protected topic.
PushoverYour user or group key and an application token from pushover.net/apps.
WebhookAny public http:// or https:// URL. Project channels only.

A Discord URL starts with https://discord.com/api/webhooks/ or the same on discordapp.com. A Teams URL must use https://. A Discord sender name may not contain "discord", "clyde", @, #, : or backticks. When you edit a channel, secret fields show empty. Leave them empty to keep the current value.

The first step of adding a channel: picking where alerts go

Add new channel opens a wizard: pick where alerts go, then fill in the details. Each type explains where to find its URL or keys and previews a message.

Discord, Slack, Teams and Telegram messages carry the headline, the issue number and title, the message, the location, release and occurrence count, and a link to the issue.

A new channel is not used by any rule until you pick it on the rules below.

Send test delivers a test message. Each channel shows Not used yet, Delivered or Failed, with when.

A delivery that hits a dropped connection, a rate limit or a server error is retried a few times. One the other side rejects, such as to a removed webhook, fails at once.

Only team owners and admins add, change and delete the team's channels and rules.

Webhook, Teams and ntfy URLs may not point at private or reserved addresses, such as this server or the network behind it. Redirects are not followed. Set ALERTS_WEBHOOKS_ALLOW_PRIVATE=true to allow private addresses. Health checks have their own setting, LUMBERJACK_HEALTH_ALLOW_PRIVATE.

Rules ​

A rule is on or off, sends to the channels you pick, and can be limited to some environments (comma separated, empty for all). There is one rule per type:

RuleSendsDefault
New issueThe first occurrence of a new issue.On
RegressionA new occurrence of a resolved issue, or an ignored issue coming back.On
EscalationAn issue that suddenly happens far more often than usual.On
NoteEvery note written on an issue, by a person or an agent.Off
Resolved or ignoredEvery issue someone resolves or ignores.Off
New releaseAn environment reports a release for the first time.On
Queue backlogA queue with too many jobs waiting, or one waiting too long.On
Health check degradedA health check that keeps warning or starts failing.On
Health check downA health check that keeps failing.On
Health check recoveredA health check that is ok again.On
Maintenance overrunA maintenance window past its end.On
Weekly summaryEach project's past week, at the day and time you pick.Off
AI budgetAn AI budget passing 80% or 100%, or on course to go over.On
AI error rateAn AI key whose recent calls fail too often.On

Alerts your own code sends have their own topics, see Custom alerts.

On a team that existed before the upgrade, Maintenance overrun starts on but with no channels, and Weekly summary off with none, as new shared channels are not added to it. Pick their channels to hear from them.

The rules are listed in groups: Issues, Releases, Health, Queues and maintenance, AI, Summary and Custom alerts (the topics). Each group starts folded and says how many of its rules are on, such as 3 of 5 on; the groups you open stay open in your browser. The search above them finds rules by name or description and opens the groups they are in.

A rule shows how many channels it sends to. Click the number to pick them, grouped by type.

New issue and Escalation are throttled, see Limits. Every regression, note and status change is sent. Ignored issues and browser errors never send an alert.

A rule that is on also decides when members hear of new issues, health checks and queue backlogs in their own notifications, even with no channel picked. Turning the rule off stops those too.

A message carries the first line of the issue's latest note. A regression names who resolved the issue and when. While the Resolved or ignored rule is on, a comment given when resolving or ignoring goes with its message instead of a separate note.

The team's Alerts page with a shared channel and the rules

Team rules and project overrides ​

The team's rules, on its Alerts page under Rules, apply to every project and send to the team's shared channels only.

A project's Alerts settings: its own channels and each rule as the team's default or customized

In a project's settings, under Alerts, each type shows either:

  • Team default: what the team's rule does, read only: on or off, its channels and its environments. + channel (this project) adds a project channel or a shared channel the team's rule does not use, without customizing the rule. These add-ons follow the team's rule: while it is off they get nothing. Customize gives the project its own rule for that type, starting as a copy of the team's with the add-ons among its channels.
  • Customized: the project's own rule, edited in place. Changes to the team's rule no longer reach it. Use the team's deletes it after asking, and the project follows the team's rule again. Its channels that the team's rule does not send to, such as the project's webhook, stay on as add-ons.

Resolved or ignored ​

The message includes the comment given and who did it: a user, or an MCP token as name (MCP). Re-opening and taking an issue in progress send nothing.

Resolving or ignoring several issues at once from the issues list sends one summary: who did it, how many, up to 10 of the issues by number and title with +5 more for the rest, and a link to the issues list filtered to the new status. A rule limited to some environments summarizes only the issues whose latest occurrence is in one of them.

Queue backlog ​

Agents report the size of the app's queues every minute, see the Jobs page. The rule fires when, for 5 minutes, a queue has more than 1,000 jobs waiting or its oldest job has waited more than 10 minutes. Change any of the three on the rule, or leave a threshold empty to turn it off. It sends once when the backlog starts and once when the queue is back under, and covers every queue the agents report, whatever its environment.

A queue can have its own thresholds. Alert next to it in the Jobs page's Queues card sets the jobs waiting, the oldest wait and how long, for that queue only, or mutes the queue. A field left empty keeps the rule's value. They apply whether the project uses the team's rule or its own, and the project's Alerts settings list them under the rules. The alert names the thresholds it used, with "(this queue)" when they are the queue's own. Setting them needs the right to change the project.

AI budget ​

Checks every AI budget of the project every 5 minutes. It tells once per budget and period (day or month) as the budget passes each of its thresholds, 80% and 100% by default; tick 50% too, or untick any, on the rule. When several are passed at once it tells only the highest. With On course to go over on (the default) it also tells once per period when the budget, at its pace so far, would be over by the period's end; it waits until a tenth of the period has gone by, so one busy minute after midnight does not count. The period just ended is measured once more to its end, five minutes after it, so spend in its last minutes is told too; that alert names the day or month it was about. During a maintenance window it tells nothing; what was passed meanwhile within the current period is told after, also an alert still waiting to go out when it began. Turning the rule off forgets what it told, so it starts over when turned on again. A budget counts every environment, so the rule has no environments setting. On a team from before the upgrade it is on but has no channels until you pick them.

AI error rate ​

Every minute, per AI key, the share of its calls in the last 15 minutes that failed. It fires when more than 50% failed out of at least 10 calls (change any of the three on the rule), so a single failure on a quiet key says nothing. With environments set on the rule it counts only their calls. A window of an hour or more is counted from the hourly totals for its whole hours. It sends once when it starts and once when the key works again (or goes quiet), and starts again at most once every 30 minutes. Calls without a key are not counted. Any maintenance window of the project mutes it, whatever its environment. On a team from before the upgrade it is on but has no channels until you pick them.

Maintenance overrun ​

Fires as soon as a maintenance window is still open past its expected end, with no grace period, and again every project's Repeat overrun alert minutes (30 by default) until the window ends. When it ends, one more message says how long it ran over. Like the other rules it is a team rule with project overrides, and its environments limit it to windows of those environments. On a team from before the upgrade it has no channels until you pick them.

Weekly summary ​

Sends the past 7 days of each project against the 7 days before, once a week on the day and at the time set on the rule, in the app's time zone (Monday 08:00 by default). Like the other rules it is a team rule with project overrides; the environments setting does not apply to it. New shared channels are not added to it, so pick its channels when you turn it on.

Each channel gets one message, with a section for every project whose rule sends there: a project whose own rule sends to other channels is in their message instead, sent at its own rule's day and time. Projects with nothing in the week (no requests, errors, jobs, scheduled task runs, health results, outages or maintenance) are left out, and a channel left with none gets nothing.

Per project it covers:

  • requests, error rate, p95 and Apdex;
  • new issues and regressions, and the 5 issues that happened most;
  • the 5 of the busiest routes whose p95 grew most;
  • uptime per health check, and outages;
  • maintenance windows, and how long each ran over;
  • failed jobs and missed scheduled tasks;
  • the releases first seen in the week, and which of them brought the most new issues.

Mail gets all of it. Slack, Teams, Discord, Telegram, ntfy and Pushover get one line per project with a link to Lumberjack. Webhooks get all of it as JSON, see Webhooks.

A summary is sent at most once in six days, so moving the day or time after one went out waits for the next week. One missed because the scheduler was down is sent when it is back, up to a day late.

Maintenance ​

Alerts are still sent while a maintenance window covers their environment, and throttled as usual, but marked: chat and push messages start their title with [Under maintenance], and so does a mail's subject. Health checks and queue backlogs send nothing during a window, up to its expected end, see Health. Alerts without an environment, such as a bulk status change, are marked during any window of the project.

Custom alerts ​

Your app can send its own alerts, with the Laravel library or as an alert event. The code names a topic; which channels a topic reaches is picked in the Custom alerts group of the rules on the Alerts page, so moving an alert to another channel needs no deploy.

  • A topic created on the team's Alerts page is every project's. Create topic makes one ahead of time. An alert with no topic goes to default.
  • A topic the team does not have becomes the sending project's own the first time an app sends to it, without channels. Other projects never see it. A project can also create a topic of its own ahead of time in its settings, marked This project only.
  • A topic can be turned off and limited to some environments, like a rule.
  • Deleting a topic keeps its sent alerts. If an app sends to it again, it comes back without channels.
  • In the project's settings you can add channels to a team topic, or customize it to turn it off or send elsewhere for that project only. Deleting the team's topic deletes the projects' versions too.
  • Every message names the project and the environment.

The level sets the color and the urgency: info, success, warning or critical. What a link looks like depends on the channel: Slack and Telegram color a primary or danger button. Discord link buttons cannot be colored, and Teams, ntfy and Pushover have no style for them. Pushover shows one link and lists the rest in the text, ntfy shows three. A webhook gets everything as JSON, with event set to custom_alert.

Sent alerts lists the latest 25 and how each channel went, including the alerts that were not sent because they were duplicates or over the limit.

Webhooks ​

A webhook channel POSTs JSON to your endpoint.

json
{
    "version": "1",
    "sent_at": "2026-11-03T10:12:00+00:00",
    "event": "new_issue",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "environment": "production",
    "issue": {
        "id": "...",
        "reference": "SHOP-42",
        "title": "Illuminate\\Database\\QueryException",
        "message": "SQLSTATE[40001]: Deadlock found when trying to get lock",
        "status": "open",
        "source": "server",
        "escalating": false,
        "occurrences": 1,
        "first_seen_at": "...",
        "last_seen_at": "...",
        "url": "https://lumberjack.example.com/projects/.../issues/..."
    },
    "burst": null,
    "status_change": null,
    "note": null
}

event is the rule, or test:

new_issue, regression, escalation, status_change, note, bulk_status_change, queue_backlog, health_degraded, health_down, health_recovered, maintenance_overrun, weekly_summary, ai_budget, ai_error_rate.

Every body except a test also has maintenance: the window the alert was sent during, or null outside one.

json
{
    "maintenance": {
        "id": "...",
        "started_at": "2026-11-03T10:00:00+00:00",
        "message": "Upgrading the database"
    }
}

status_change and note are filled in for those events.

A bulk status change lists every issue it changed, with the new status, resolved or ignored, and who did it.

json
{
    "version": "1",
    "sent_at": "2026-11-03T10:12:00+00:00",
    "event": "bulk_status_change",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "status": "resolved",
    "actor": "Morten",
    "issues": [
        {
            "id": "...",
            "reference": "SHOP-42",
            "title": "Illuminate\\Database\\QueryException"
        },
        { "id": "...", "reference": "SHOP-43", "title": "TypeError" }
    ],
    "url": "https://lumberjack.example.com/projects/.../issues?status=resolved"
}

A queue backlog has no issue. Its body carries the queue and the thresholds instead, with state either started or recovered:

json
{
    "version": "1",
    "sent_at": "2026-11-03T10:12:00+00:00",
    "event": "queue_backlog",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "queue": {
        "connection": "redis",
        "name": "default",
        "state": "started",
        "size": 1240,
        "oldest_age_s": 840,
        "since": "2026-11-03T10:05:00+00:00",
        "url": "https://lumberjack.example.com/projects/.../jobs"
    },
    "thresholds": { "size": 1000, "age_minutes": 10, "sustain_minutes": 5 }
}

An AI budget carries the budget and where it stands in its period. threshold is the share passed, in percent, or null when it is on course to go over. What it counts is in keys (each with its id, null for a key the project forgot, short id, name and label; never the key or its fingerprint), owners or actors (each a type and an id), by its scope; the others are empty. currency is null for a token budget, and projected is null for a period that ended:

json
{
    "version": "1",
    "sent_at": "2026-11-16T10:05:00+00:00",
    "event": "ai_budget",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "budget": {
        "id": "...",
        "name": "Key owners tenant:7, tenant:12",
        "scope": "owner",
        "keys": [],
        "owners": [
            { "type": "tenant", "id": "7" },
            { "type": "tenant", "id": "12" }
        ],
        "actors": [],
        "period": "month",
        "basis": "cost",
        "currency": "EUR",
        "threshold": 80,
        "start": "2026-11-01T00:00:00+00:00",
        "end": "2026-12-01T00:00:00+00:00",
        "spent": 82.5,
        "amount": 100,
        "percent": 82.5,
        "projected": 165,
        "url": "https://lumberjack.example.com/projects/.../ai/budgets"
    }
}

An AI error rate carries the key (never the key itself, only its id, short id, name and label), with state either started or recovered, and the rule's thresholds:

json
{
    "version": "1",
    "sent_at": "2026-11-16T10:05:00+00:00",
    "event": "ai_error_rate",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "key": {
        "id": "...",
        "short_id": "3f9a12bc",
        "name": "Shop assistant",
        "label": "prod-primary",
        "provider": "openai",
        "state": "started",
        "calls": 40,
        "errors": 30,
        "since": "2026-11-16T10:01:00+00:00",
        "url": "https://lumberjack.example.com/projects/.../ai/keys/...?errors=1"
    },
    "thresholds": { "minutes": 15, "rate": 50, "min_calls": 10 }
}

A health check has no issue either. check.state is down, degraded or recovered, and hosts lists the servers it fails on. It is empty for checks Lumberjack runs itself:

json
{
    "version": "1",
    "sent_at": "2026-11-03T10:12:00+00:00",
    "event": "health_down",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "environment": "production",
    "check": {
        "id": "...",
        "name": "disk:s3",
        "slug": "disk:s3",
        "source": "reported",
        "type": null,
        "state": "down",
        "message": "The disk is not writable.",
        "hosts": ["web-1"],
        "since": "2026-11-03T10:10:00+00:00",
        "url": "https://lumberjack.example.com/projects/.../health?check=..."
    }
}

A maintenance overrun carries the window. window.state is overrun while it is open, and ended on the message sent when it ends; overrun_minutes is how long it ran over:

json
{
    "version": "1",
    "sent_at": "2026-11-03T10:31:00+00:00",
    "event": "maintenance_overrun",
    "project": { "id": "...", "slug": "shop", "name": "Shop" },
    "environment": "production",
    "window": {
        "id": "...",
        "environment": "production",
        "source": "reported",
        "message": "Upgrading the database",
        "starts_at": "2026-11-03T10:00:00+00:00",
        "expected_end_at": "2026-11-03T10:30:00+00:00",
        "ended_at": null,
        "state": "overrun",
        "overrun_minutes": 1,
        "url": "https://lumberjack.example.com/projects/.../health"
    },
    "maintenance": {
        "id": "...",
        "started_at": "2026-11-03T10:00:00+00:00",
        "message": "Upgrading the database"
    }
}

A weekly summary carries every project of the message, as in the mail. Durations are in milliseconds and rates a share of 1; each figure has the week (current) and the week before (previous), and is null where there was nothing to measure:

json
{
    "version": "1",
    "sent_at": "2026-11-09T08:00:00+00:00",
    "event": "weekly_summary",
    "period": {
        "from": "2026-11-02T08:00:00+00:00",
        "to": "2026-11-09T08:00:00+00:00"
    },
    "projects": [
        {
            "project": {
                "id": "...",
                "slug": "shop",
                "name": "Shop",
                "url": "https://lumberjack.example.com/projects/..."
            },
            "requests": { "current": 120345, "previous": 114210 },
            "error_rate": { "current": 0.0042, "previous": 0.0051 },
            "p95_ms": { "current": 231.0, "previous": 219.5 },
            "apdex": { "current": 0.97, "previous": 0.98 },
            "new_issues": { "current": 3, "previous": 5 },
            "regressions": { "current": 1, "previous": 0 },
            "top_issues": [
                {
                    "reference": "SHOP-42",
                    "title": "Illuminate\\Database\\QueryException",
                    "occurrences": 310,
                    "url": "..."
                }
            ],
            "slower_routes": [
                {
                    "method": "GET",
                    "route": "/orders/{order}",
                    "p95_ms": 412.0,
                    "previous_p95_ms": 280.0
                }
            ],
            "failed_jobs": { "current": 4, "previous": 9 },
            "missed_tasks": { "current": 0, "previous": 1 },
            "health_checks": [
                { "name": "Website", "environment": null, "uptime": 0.9995 }
            ],
            "outages": {
                "current": 1,
                "previous": 0,
                "down": 1,
                "listed": [
                    {
                        "check": "Website",
                        "status": "down",
                        "started_at": "...",
                        "ended_at": "..."
                    }
                ]
            },
            "maintenance": [
                {
                    "id": "...",
                    "environment": "production",
                    "source": "reported",
                    "message": "Upgrading the database",
                    "starts_at": "...",
                    "expected_end_at": "...",
                    "ended_at": "...",
                    "state": "ended",
                    "overrun_minutes": 12
                }
            ],
            "releases": [
                {
                    "release": "a1f3c9e",
                    "first_seen_at": "...",
                    "new_issues": 2,
                    "regressions": 1
                }
            ],
            "most_new_issues": { "release": "a1f3c9e", "new_issues": 2 }
        }
    ],
    "url": "https://lumberjack.example.com/projects",
    "maintenance": null
}

Every request is signed with the channel's secret, shown once when the channel is created:

  • X-Lumberjack-Event: the event.
  • X-Lumberjack-Timestamp: when it was sent.
  • X-Lumberjack-Signature: sha256= and the HMAC-SHA256 of {timestamp}.{body} with the secret.

An SDK may verify these for you; see its docs.

Limits ​

WhatLimit
Send test6 a minute per person
New issue and Escalation messages1 per issue, rule and channel every 30 minutes
Queue backlog messages1 new backlog per queue every 30 minutes
Maintenance overrun messages1 per window per Repeat overrun alert interval (5 to 1440 minutes, default 30)
Weekly summary messages1 per channel and rule a week
AI budget messages1 per budget, threshold and period, and 1 projected overrun per budget and period
AI error rate messages1 new failing streak per key every 30 minutes
Issues, routes and outages per summary5 each, per project
Issues named in a bulk summary message10
Custom alerts sent60 a minute per project, the rest only listed
Discord sender name80 characters