WatchLog evaluates its alert rules every 30 seconds and sends a message when an alert fires, escalates, keeps firing past the reminder interval, flaps, and when it resolves. Default rules cover crash loops, OOM kills, pods stuck pending, image pull errors, unavailable deployments, node pressure and NotReady nodes, unhealthy or restarting Docker containers, containers throttled at their CPU limit more than 25% of the time for 15 minutes (pods and Docker containers), failing connections between services, agents that stop reporting, new or unusual external destinations (Egress watch), and, on Kubernetes and Server fleets alike, certificates that expire within 14 days or are served wrong and scheduled jobs that fail, miss a run or run far longer than usual (Certificates and scheduled jobs). In WatchLog Cloud Pro, one more rule, "Unusual for this hour", fires when a metric stays far outside its usual range for that hour of the week (What changed). Each rule sends to the channels you pick for it. Rules on the numbers your own apps report are made under Your metrics and are listed here with the rest.
Held back
Some alerts wait instead of sending, and the Alerts page counts them under Held back (Show held alerts lists them):
- While a cluster or fleet stops reporting, its other alerts are held: their data is stale. One alert stands for the cluster until data comes back.
- One story per workload (since 0.12.1). "Has N of M replicas ready" waits while "is crash-looping" fires for the same workload, and a crash loop waits while the OOM kills that cause it fire, for Kubernetes pods and for a server's systemd services and process groups. The waiting alert is kept up to date and sends no message. Its page says which alert it waits under, and that alert's page lists it under "Held back under this alert". If it outlasts the other one, it sends its message then.
A custom rule on pod restarts counts the restarts in the last 15 minutes, so it resolves once the pod stops restarting (since 0.12.1; it counted the total before, which never went down).
Channels
| Channel | What you set | Format |
|---|---|---|
| Slack | An incoming webhook URL | Block Kit, coloured by severity |
| Telegram | A bot token; you connect the chat with a one-time link | HTML |
| Recipients; the server's SMTP settings | HTML and plain text, threaded | |
| Webhook | A URL, and a signing secret (made for you if empty) | JSON, signed with HMAC-SHA256 (below) |
Alert emails start their subject with [Critical], [Warning] or [Resolved] and name the
thing and the place: [Critical] api is crash-looping in prod. The resolve keeps the same words and
lands in the same thread, under the firing email. Each email shows where, since when, the rule, the
value against its limit, the likely cause when there is one and, on Cloud Pro, one line of what
changed around it, with one button to the alert. Every email has a plain-text part, no images and
no tracking.
"Send test" on a channel sends one message at once. If it does not arrive, the channel says what
failed and what to do, with the provider's status code: "Telegram refused the message: the bot was
blocked in the chat (403). Unblock the bot in Telegram, or connect another chat." The same sentence
is shown under a channel whose last alert could not be delivered; the channel then reads "Failing"
until a message gets through. The provider's raw answer is never shown or logged. Slack, Telegram
and webhooks go through HTTPS_PROXY when it is set.
A message that could not be delivered is tried again with a growing pause (30 seconds up to an hour, 8 tries), and after a rate limit not sooner than the provider asks. A refusal that a retry cannot fix (a wrong token, a removed bot, an address that answers 404) fails at once.
What a message says
What is wrong, why, where and since when, with a link to the object in WatchLog:
🟠 WARNING · web cannot reach api
100% of connections failed · threshold 5%
causes-e2e/web (Deployment) · cluster kind · since 23:31 UTC (5 min)
Likely cause: web fails because api was scaled to 0: nothing answers its calls.
https://watchlog.example.com/workloads?cluster=…&ns=causes-e2e
The likely cause
When an alert fires, WatchLog works out its probable cause (the same answer as the alert's
page and GET /api/v1/causes) and adds one line when one cause is likely:
Likely cause: …on the firing message, the escalation and the reminders;Was likely: …on the resolve message, repeating what the firing message said.
A message gets no line when the causes are only possible, when no cause is clear, or when the answer isn't ready within 2 seconds: the message is never held back longer for it. The cause is worked out once, as the alert fires, and kept with the alert; the alert's page always shows today's answer, and its timeline marks the messages that carried the line ("with the likely cause"). It works the same for Kubernetes clusters and Linux servers.
Webhook payload
A POST with content-type: application/json and these headers:
x-watchlog-event:firing,escalated,renotify,flapping,resolvedortest;x-watchlog-delivery: the message's id, the same on every retry (use it to deduplicate);x-watchlog-signature:t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<body>">with the channel's signing secret.
{
"version": 1,
"event": "firing",
"severity": "warning",
"rule": {
"id": "…",
"key": "network.connections.failed",
"name": "Service-to-service failed connections",
"metric": null
},
"cluster": {
"id": "…",
"name": "kind"
},
"alerts": [
{
"id": "…",
"severity": "warning",
"labels": {
"namespace": "causes-e2e",
"workload": "web",
"workload_kind": "Deployment",
"dst_kind": "workload",
"dst_namespace": "causes-e2e",
"dst_workload": "api",
"dst_workload_kind": "Deployment",
"dst_service": "api"
},
"title": "web cannot reach api",
"why": "100% of connections failed · threshold 5%",
"summary": "100 % of connections failed",
"started_at": "2026-11-10T23:31:48.906Z",
"fired_at": "2026-11-10T23:36:48.917Z",
"resolved_at": null,
"link": "https://watchlog.example.com/workloads?cluster=…&ns=causes-e2e",
"likelyCause": {
"rule": "dependency_down",
"code": "dependency_down",
"facts": {
"name": "web",
"target": "api",
"platform": "kubernetes",
"ready": 0,
"desired": 0
},
"since": "2026-11-10T23:30:50.628Z",
"headline": {
"code": "dependency_down_scaled",
"facts": {
"name": "web",
"target": "api"
}
},
"subject": "alert:…",
"text": "web fails because api was scaled to 0: nothing answers its calls.",
"chain": [
{
"subject": "edge:w:causes-e2e/Deployment/web>w:causes-e2e/Deployment/api:9898",
"name": "causes-e2e/web → causes-e2e/api",
"fact": "edge_failed",
"facts": {
"pct": 99.3,
"port": 9898
},
"since": "2026-11-10T23:31:00.000Z"
},
{
"subject": "workload:causes-e2e/Deployment/api",
"name": "causes-e2e/api",
"fact": "no_pods",
"facts": {},
"since": "2026-11-10T23:30:50.628Z"
},
{
"subject": "change:Deployment/causes-e2e/api",
"name": "api",
"fact": "scaled",
"facts": {
"from": 1,
"to": 0
},
"at": "2026-11-10T23:30:50.628Z"
}
]
}
}
],
"total": 1,
"alerts_link": "https://watchlog.example.com/alerts?rule=…&cluster=…",
"sent_at": "2026-11-10T23:36:50.576Z"
}
A message lists at most five alerts (total counts them all). likelyCause is optional and
appears only on an alert that had a likely cause when it fired, on its firing, escalation,
reminder and resolve messages:
| Field | Meaning |
|---|---|
rule, code |
The rule that found it (one of twelve, such as dependency_down, oom_limit) and its finding |
facts, since |
The facts behind it, and when the cause began (or null) |
headline |
The answer's first sentence as a code with facts |
text |
That sentence in English: the message's line |
subject |
Ask GET /api/v1/causes?cluster=<cluster.id>&subject=<subject> for the whole answer |
chain |
The evidence, symptom first: each step's object (subject, name), fact (a code), facts, and since or at |
New fields may be added to the payload; version changes only when a field changes meaning or
goes away.