Monocle notifies your team by email, in the app, in Slack and Discord, and through your own webhooks.
What triggers a notification
| Event | Who is notified | Where |
|---|---|---|
| Uptime monitor down or recovered | Members with access to the project | Email, in-app, channels of the monitor |
| Endpoint alert fired or resolved | Members with access to the project, if the alert notifies App members | Email, in-app, channels of the alert |
| New or regressed exceptions | Members with access to the project | Email, channels of the matching rule |
| Issue assigned to you | The new assignees | Email, in-app |
| Status of an issue changed | The assignees of the issue | Email, in-app |
| New comment on an issue | The assignees of the issue, except the author of the comment | Email, in-app |
| Weekly recap | Members with access to the project | Email, in-app |
| Reply to your feedback, or status change | You, as the author of the feedback | Email, in-app |
| Usage at 80% and 100% of the plan | All members of the organization | |
| Trial ending soon, or ended | Organization admins |
In-app notifications
The bell in the sidebar footer, above Settings, lists your latest notifications grouped by Today, Yesterday, and Earlier. Its badge counts the notifications you haven't seen yet, and clears when you open the bell.
Click a notification to open what it is about and mark it as read:
| Notification | Opens |
|---|---|
| Issue assigned, status changed, comment | The issue |
| Uptime monitor down or recovered | The page of the monitor |
| Endpoint alert fired or resolved | The page of the alert |
| Weekly recap | The recaps of the project |
| Reply to your feedback, status change | The feedback conversation |
Hover a notification to mark it as read without opening it. Mark all read clears the list. Open inbox, or the i key, opens every notification, with filters on unread notifications and on categories. In the inbox, j and k move between notifications, Enter opens one, and e marks it as read.
Notification channels
Alerts, uptime monitors, and exception rules send to two kinds of channels:
- Slack and Discord channels: an organization admin connects a workspace or server once, then every member picks channels in their alerts, monitors, and exception rules. See Slack and Discord.
- Webhooks: your own HTTPS endpoints, which receive signed JSON events. See Webhook channels.
Organization admins manage both in Settings → Integrations: workspaces and servers under Slack and Discord, endpoints under Webhooks. Every member can pick them.
To add a webhook:
- Under Webhooks, click Add webhook.
- Give it a Name, such as
Incident bot. - Paste the Webhook URL. See Webhook channels.
- Optionally, make it a default channel. See Default channels.
- Click Send test to check that the request arrives, then Add webhook.
Each webhook lists what uses it, such as Used by 2 alerts · 3 monitors · 1 exception route. Monocle never shows its URL again. To change it, edit the webhook and paste a new URL. Every monitor, alert, and rule that uses it follows the change.
When you delete a webhook, or remove a Slack workspace or Discord server, the monitors and alerts that used its channels stop notifying them. An alert left without destination keeps being evaluated. The exception rules that posted there are removed, so the next matching rule applies.
Default channels
Under Use by default, a webhook can be a default for:
- Uptime monitors: every monitor that keeps the Default channels switch on.
- Exceptions: every project without an exception rule that matches. See Exception rules.
With Only for production environments, the webhook is a default only for production environments. Default channels don't apply to endpoint alerts. Each alert picks its own channels. Slack and Discord channels are never defaults: pick them in each monitor or exception rule.
Move from Slack and Discord incoming webhooks
Slack incoming webhooks and Discord webhooks are no longer supported, and the channels that used them were removed. Generic webhooks and email are unchanged.
To get your notifications back:
- An organization admin connects your Slack workspace or Discord server.
- Pick the channel again in each alert, uptime monitor, and exception rule that posted to it.
- Delete the old incoming webhook in Slack or Discord.
Exception rules
New and regressed exceptions go to the channels that match their service and environment. Each project has its own rules. Open Settings → Projects, open the project, and find the Exception alerts section. You need project manager access to change them.
Click Add rule and fill in a row:
| Column | Values |
|---|---|
| Service | Any service, or one service |
| Environment | Any environment, or one environment |
| Posts to | A Slack, Discord, or webhook channel. Or Mute Slack, Mute Discord, or Mute webhooks to stop posting there. |
The Posts to list shows the webhooks and the Slack and Discord channels already used in the organization. To pick another Slack or Discord channel, click the Slack or Discord icon next to it. The send icon posts a test message to the picked channel.
The type of the channel decides where the rule applies. Monocle resolves Slack, Discord, and webhooks separately. For each type, the most specific matching rule wins:
- A rule for the service and the environment.
- A rule for the service.
- A rule for the environment.
- A rule for any service and any environment.
A mute only stops its own type. Mute Slack for staging silences Slack for that environment, and Discord keeps posting.
The last row, Everything else, shows the organization's default webhooks for exceptions. When no webhook rule matches, exceptions go to these webhooks. Slack and Discord only post where a rule sends them. If the row says Not posted, exceptions without a rule are not sent to any channel.
Exception summaries
Slack and Discord get one message per issue, with regressions and status changes in its thread. See what gets posted in Slack.
Email and webhooks group new and regressed exceptions into summaries instead:
- Email: Monocle collects the issues for 5 minutes, then sends one email with up to 30 issues. An issue that arrives near the end pushes the email back to 30 seconds after it, up to 30 minutes after the first issue, so a burst lands in one email. While new issues keep arriving, each email also doubles the minimum time before the next one: 5 minutes, then 10, 20, 40, 80, 160, and at most 3 hours. After 3 hours without a new issue, this resets, so the first email about a new problem still arrives 5 minutes after it appears.
- Webhooks: Monocle collects the issues for 60 seconds per webhook, then sends one
exception.issuesevent with up to 10 open issues and the number of other open issues.
Weekly recaps
Every Monday, members receive a recap of each production environment for the past week: requests, error rate, average response time, top exceptions, and slowest endpoints.
Choose which emails you receive
In Settings → Notifications, the Email section has one switch per type of email:
| Switch | Emails |
|---|---|
| Uptime alerts | A monitor goes down or recovers |
| Endpoint alerts | An alert that notifies app members fires or resolves |
| Weekly recaps | The weekly summary of your projects |
| Exception summaries | The batched emails about new and regressed exceptions, for the current organization only |
All switches are on by default. They only change emails. In-app notifications and channels are not affected. Issue, feedback, usage, and trial emails are always sent.
Webhook channels
A webhook channel sends each event as a JSON POST to your own endpoint, signed following the Standard Webhooks specification.
The URL must:
- Use HTTPS, with no credentials and no
#fragment. - Resolve to public IP addresses only. Monocle checks the addresses when you save the channel and again before each delivery.
Monocle doesn't follow redirects and waits up to 10 seconds for an answer. Any 2xx status is a success. Monocle retries exception summaries after a timeout, a network error, or a 408, 429, or 5xx status, with a growing delay of up to one hour. It sends other events once, without retries.
Requests
Each request has these headers:
| Header | Value |
|---|---|
content-type | application/json |
user-agent | Monocle-Webhooks/1.0 |
webhook-id | The ID of the message. Retries of an exception summary keep the same ID. |
webhook-timestamp | When the request was sent, in Unix seconds |
webhook-signature | v1, followed by the signature, in base64 |
The body always has the same envelope:
{
"type": "alert.firing",
"timestamp": "2026-10-17T10:00:05.123Z",
"data": {}
}Verify the signature
When you add a webhook channel, Monocle creates its signing secret, which starts with whsec_. Organization admins can show it with Reveal secret, or replace it with Rotate secret. Rotating takes effect at once, so update your receiver right after.
The signature is an HMAC-SHA256 of <webhook-id>.<webhook-timestamp>.<body>, keyed with the base64-decoded part of the secret after whsec_. The standardwebhooks package checks it for you, along with the age of the timestamp:
import { Webhook } from 'standardwebhooks'
const webhook = new Webhook(process.env.MONOCLE_WEBHOOK_SECRET!)
export async function handle(request: Request) {
const body = await request.text()
// Throws if the signature or the timestamp is invalid
const event = webhook.verify(body, {
'webhook-id': request.headers.get('webhook-id')!,
'webhook-timestamp': request.headers.get('webhook-timestamp')!,
'webhook-signature': request.headers.get('webhook-signature')!,
})
return new Response(null, { status: 204 })
}Verify the raw body, before parsing it. Parsing and serializing the JSON again can change its bytes and break the signature.
Send test on a saved channel signs with its secret. Send test in the form, before you add the channel, signs with a temporary secret, so your receiver can't verify that one.
Webhook payloads
Dates are ISO 8601 strings.
uptime.down
{
"type": "uptime.down",
"timestamp": "2026-10-17T10:00:05.123Z",
"data": {
"monitorId": "0199f2a4-6c1e-7d3a-9b2f-3c4d5e6f7a8b",
"monitorName": "API health",
"monitorUrl": "https://api.example.com/health",
"errorType": "timeout",
"environmentName": "Production",
"applicationName": "Shop",
"organizationSlug": "acme",
"url": "https://monocle.sh/acme/shop/production/uptime/0199f2a4-6c1e-7d3a-9b2f-3c4d5e6f7a8b",
"downAt": "2026-10-17T10:00:00.000Z"
}
}errorType is one of timeout, dns, connection, tls, http, ssrf, or unknown.
uptime.recovered
{
"type": "uptime.recovered",
"timestamp": "2026-10-17T10:12:05.123Z",
"data": {
"monitorId": "0199f2a4-6c1e-7d3a-9b2f-3c4d5e6f7a8b",
"monitorName": "API health",
"monitorUrl": "https://api.example.com/health",
"environmentName": "Production",
"applicationName": "Shop",
"organizationSlug": "acme",
"url": "https://monocle.sh/acme/shop/production/uptime/0199f2a4-6c1e-7d3a-9b2f-3c4d5e6f7a8b",
"recoveredAt": "2026-10-17T10:12:00.000Z",
"downAt": "2026-10-17T10:00:00.000Z"
}
}downAt can be null.
alert.firing
{
"type": "alert.firing",
"timestamp": "2026-10-17T10:00:05.123Z",
"data": {
"ruleId": "0199f2a4-7e2d-7c11-8a3b-4d5e6f7a8b9c",
"ruleName": "p95 latency · POST /api/checkout > 800ms",
"ruleDescription": "Customers can't pay. Check the PSP status page, then call the on-call developer.",
"metric": "p95",
"comparator": "gt",
"threshold": 800,
"windowMinutes": 5,
"method": "POST",
"route": "/api/checkout",
"serviceName": "api",
"applicationName": "Shop",
"environmentName": "Production",
"organizationSlug": "acme",
"alertUrl": "https://monocle.sh/acme/shop/production/alerts/0199f2a4-7e2d-7c11-8a3b-4d5e6f7a8b9c",
"endpointUrl": "https://monocle.sh/acme/shop/production/endpoints/...",
"slowestTracesUrl": "https://monocle.sh/acme/shop/production/endpoints/...",
"startedAt": "2026-10-17T09:58:00.000Z",
"value": 912.4,
"samples": 1530
}
}| Field | Description |
|---|---|
ruleDescription | What the alert means and what to do, written by its author. null when it has none. |
signalType | endpoint or metric |
metric | p50, p95, p99, avg, error_rate, server_error_rate, or request_rate. null for a metric alert. |
metricName, aggregation, unit | The OpenTelemetry metric, its aggregation, and the unit of value and threshold, for a metric alert: the unit of the metric, /s for a rate, empty for a count. null for an endpoint alert. |
comparator | gt for above, lt for below |
threshold, value | In milliseconds for latencies, in percent for error rates, in requests per minute for the request rate. In unit for a metric alert. |
value | The value that fired the alert. Can be null. |
samples | The number of requests in the window. 1 for a metric alert with data. |
method, route | The endpoint. null for a metric alert. |
serviceName | null for a metric alert on all services, or for an endpoint alert created before alerts required a service |
endpointUrl, slowestTracesUrl | The endpoint, and its slowest traces, around the time the alert fired. null for a metric alert. |
metricUrl | The metric page with the aggregation and filters of the alert. null for an endpoint alert. |
alert.resolved
The same fields as alert.firing, without value and samples, plus:
{
"resolvedAt": "2026-10-17T10:20:00.000Z",
"peakValue": 1040.2,
"reason": "recovered"
}peakValue is the worst value of the incident, or null. reason is one of:
recovered: the metric is back within the threshold.no_data: the window had fewer requests than the minimum.rule_edited: the condition of the alert changed.rule_paused: the alert was paused.out_of_schedule: the active hours of the alert ended.
exception.issues
{
"type": "exception.issues",
"timestamp": "2026-10-17T10:01:05.123Z",
"data": {
"total": 14,
"organizationName": "Acme",
"issues": [
{
"title": "PaymentTimeoutError: Payment provider timed out",
"application": "Shop",
"environment": "Production",
"firstAppearance": true,
"regression": false,
"url": "https://monocle.sh/acme/shop/production/issues/0199f2a4-8f3e-7a22-9c4d-5e6f7a8b9c0d"
}
]
}
}| Field | Description |
|---|---|
total | The number of open issues in the summary |
issues | Up to 10 of them, open issues only |
issues[].environment | The name of the first environment, followed by +N when the issue happened in N more |
issues[].firstAppearance | The issue is new |
issues[].regression | The issue was resolved and happened again |
test
{
"type": "test",
"timestamp": "2026-10-17T10:00:05.123Z",
"data": {
"organizationName": "Acme"
}
}