Design guide · Frappe Cloud V2

Beacon: the Incident and Alert Manager

This guide is for a new engineer. It tells what we track, how we alert and who gets the call. It also tells how customers learn about a problem, and who fixes what. It covers every app that sends data to Beacon: Atlas, metald, Cargo, Datum, Central and Pilot.

State on 16 November 2026, read from the develop branch of each repository. Production rollout of Beacon is a later phase. Until then, the old Insights alerts stay on.

  • We page on symptoms and explain with causes. A fast burn of a service's error budget calls a person. About 70 cause rules name the broken host, node or app, so the responder knows where to start.
  • One problem gives one incident and one escalation. Beacon writes an alert only when its state changes. It groups related alerts into one incident. It calls a person only for High and Critical.
  • Each layer tells its own owner. One down site is the customer's problem, and Pilot tells the customer through Central. Many down sites on one server is ours, and Beacon calls the on-call responder.
  • A person decides what customers see. The status page shows the measured service status automatically. A person publishes an incident as Unlisted (link only) or Public. Beacon never publishes by itself.
6apps send data
70rule files, plus 2 built-in rules
10services with an SLO
4severity levels
3channels: chat, email, call

1Goals

Four goals pull against each other. Every rule in Beacon is a choice between them.

Find problems before customers do

Measure what customers feel (the SLI) and watch the parts that break (cause rules). Probe public endpoints from outside the region.

Do not overwhelm engineers

Call a person only for customer impact. One problem gives one incident. Everything else goes to chat or email at a lower severity.

Find regressions

Catch new kinds of errors (error fingerprints), release-wide failures, error spikes against a baseline, and slow budget burn.

Communicate simply

One incident has one update stream and one link. Customers see the status page, an Unlisted link or an email from Central.

Non-goals. Beacon does not watch each site or each VM. Their own layer does that and tells the owner. Beacon does not write to ClickHouse. Beacon does not publish incidents or decide customer messages.

2The whole system

Each region has its own Datum and ClickHouse. Beacon is one global Frappe site outside the regions.

Two paths reach a customer: Beacon (platform problems) and Pilot through Central (problems of one site or server).

PartJobRepository
PilotRuns in each customer VM. Pings each site each minute, takes backups, applies updates. Tells the customer about one site or server. Sends counts to Datum.frappe/pilot
metaldRuns on each host. Compares wanted and actual VM state. Sends host metrics, VM states, storage and hardware data.frappe/atlas (metal/)
Datum agentVector with one configuration, on each Atlas service VM and Cargo machine. Sends machine metrics, journal lines and role metrics, such as proxy requests.datum_client/agent
AtlasControls hosts, VMs and service nodes in a region. Sends inventory, sync age, readiness probes and Error Logs. Serves the resource list to Beacon.frappe/atlas
CargoBuilds images and runs object storage (Garage). Deploys Datum. Sends build, storage and backup data.frappe/cargo
CentralThe global dashboard, API and billing. Sends API, payment, resource action and webhook data to one region's Datum. Delivers customer notifications.frappe/central
Datum + ClickHouseStores samples, logs and traces for one region. Owns the schema. Beacon reads with a read-only user.frappe/Datum
BeaconRuns rules, keeps alert and incident state, measures SLOs, calls responders and serves the status page.frappe/beacon

3Who owns what

Each layer watches the layer below it and tells its owner when one item fails. Beacon acts when a failure is too wide for one owner, or when a watcher stops.

A failure is always visible one level up. So Beacon needs no "not reporting" check for each site or VM.

Our problem or the customer's problem

Use this table to decide who is told and who fixes. "Platform" means the Frappe Cloud team. The producer team owns the rule, its runbook (the steps for a responder) and the fix. The on-call responder acts first and hands over to that team.

ProblemOwnerFound byWho is told, and howWho fixes
One site is down, or its app code failsCustomerPilot uptime ping, held 5 minCustomer team: Central feed and email, bench webhooksCustomer
One site's backups keep failing (6 failures since the last good one)CustomerPilotCustomer team through CentralCustomer; support helps on request
A customer VM uses more CPU, memory or disk than its limit (90% by default)CustomerPilot, held 5 minCustomer team through CentralCustomer: resize or clean up
3 or more sites, and 20%, down on one serverPlatformpilot-sites-downOn-call: call, chat, emailOn-call, then Pilot team
Backups fail on many serversPlatformpilot-backups-failingOn-call (Medium, or call at half of servers)Often object storage: Cargo team
One app release fails on 3 or more serversPlatformpilot-updates-failingChat (Low)Owner of the release
A host, its storage or hardware failsPlatformHost rulesOn-call: callAtlas and Metal team
A proxy, VPN gateway or IPv6 router failsPlatformService node rules, Networking SLOsOn-call: callAtlas team
Object storage or image builds failPlatformObject storage and Cargo rulesOn-call (Critical, High) or chat and emailCargo team
Telemetry stops: no data reaches DatumPlatformdatum-ingest-stopped, HTTP probeOn-call: callCargo team (deploys Datum)
Central API, payments or server actions failPlatformCentral rules and SLOsOn-call: callCentral team
Pilot cannot send customer alerts to CentralPlatformpilot-central-deliveryOn-call: callPilot and Central teams
Beacon itself stopsPlatformExternal heartbeat stopsThe heartbeat service calls the teamBeacon owner
A customer reports a problem firstPlatformSupportSupport opens an incident with Detected By = CustomerOn-call. A postmortem is required, and the team adds a rule or SLI.

Roles in one incident. Beacon records who acknowledged it (Acknowledged By). The person who acknowledges owns the incident until it resolves or they hand it over in the incident updates. Support sends Unlisted links to customers. The producer team writes the postmortem and its action items. This hand-off rule is our working agreement; Beacon does not enforce it.

4How data gets in

Almost every signal is a metric sample or a log line in the ClickHouse of one region. SQL rules and SLI queries read it there. HTTP and TLS rules are the exception: Beacon calls the endpoint directly.

  1. A producer sends a value to the Datum of its region with a token (a signed JSON Web Token, JWT). The token names the sender's resource ID, such as the Metal Server name of a host. The sender cannot change it.
  2. Datum checks the token and writes the rows. Datum refuses a whole request when one sample is not valid. No sender retries, so a failed request is a gap.
  3. Each Resource Source (the Atlas and Cargo of each region) serves a resource list each minute. Beacon keeps only rows whose resource ID is in this list, with its type and parent.
  4. Beacon runs each rule at its interval and each SLI query each minute, as the read-only beacon user. ClickHouse limits each query to 20 seconds, 4 GB and 100,000 rows.
ProducerRuns onSends
metaldEach hostMachine metrics, VM states, storage, hardware, BMC (the management chip), its own info logs
Datum agentAtlas service VMs, Cargo machines, hosts (logs only)Machine metrics, journal at warning and higher, role metrics (proxy, Garage, WireGuard, IPv6 router)
PilotEach Pilot VMHeartbeat (pilot_info), site counts by state (pilot_sites), backups, database state, disk space, calls to Central, update events
AtlasThe Atlas site of the regionInventory of expected machines (atlas_machine), host sync age, readiness of service nodes, jobs, API calls, Error Logs
CargoThe Cargo site of the regionImage builds, object storage health and backups, Cargo inventory, Error Logs
CentralThe global Central siteAPI requests, payments, resource actions, webhooks, background work, Error Logs

Rules and services live with the producer, in beacon/ of each repository: rules/*.sql, rules/*.http, rules/*.tls, services/*.sql and runbooks/*.md. An admin selects Sync Definitions in Beacon Settings to load them. A sync applies all files of a source or none.

Two settings stay manual after a sync. A global service, such as Dashboard and API, needs its Query Region set in Desk. An HTTP or TLS file without a region line loads turned off; an admin sets its Regions and turns it on. The sync result warns about both. Until then, those checks do not run.

5What we track

70 rule files in 4 repositories, and 2 rules built into Beacon. Open a group to see each rule.

The chart counts the severity in each rule's header. 20 rules also return a lower severity at a lower limit, so many alerts are lower than this.

How to read the tables. Wait is pending_for: how long a problem must stay before the alert fires. Clear is resolve_after: how long without the problem before it recovers. One rule can return a lower severity at a lower limit, such as Low at 25% disk free and High at 10%. The Lower levels column lists these. HTTP and TLS rules run from the Beacon site, outside the region.

Metal hosts1 Critical7 High5 Medium

Resource: Metal Host. Repository: Atlas. metald and Atlas send the data.

RuleFires whenSeverityLower levelsWait / clear
host-downA Running host has no Atlas sync for 5 min and metald is silent. The incident covers all VMs on the host.Critical1 / 2 min
atlas-cannot-sync-hostAtlas cannot sync a Running host.High1 / 2 min
vms-unavailable-on-host3 VMs and 20% of wanted VMs, or every wanted VM, are not available.HighMedium fewer VMs5 / 2 min
metald-unhealthyA metald loop stalled, a change waits too long, or VMs fail.HighLow dropped telemetry2 / 5 min
host-storage-failedA pool, array or mount can lose data or stop writes now.High1 / 10 min
host-hardware-degradedAn uncorrected memory error.HighMedium failing disk, CPU over 85 °C; Low worn parts5 / 60 min
bmc-problemsA critical BMC event.HighMedium bad component or BMC (the server's management chip) unreachable; Low warning5 / 15 min
host-pool-capacityA ZFS pool is over 90% used.HighLow over 80%10 / 10 min
host-limitsConntrack or open file table near full, or the clock is not synced.Medium10 / 15 min
host-network-errorsA link is up with no carrier.MediumLow over 10 NIC errors in 1 h5 / 60 min
host-stressCPU, memory or I/O pressure for 15 min.MediumLow memory allocation over 90%15 / 15 min
host-systemd-unitsA systemd unit failed.MediumLow 3 restarts in 1 h5 / 60 min
vm-migrations-failedVM migrations fail on the host.Medium5 / 60 min
Every machine1 High2 Medium2 Low

Resource: Metal Host or Virtual Machine (service VMs and Cargo machines). Tenant VMs are the customer's and do not alert here.

RuleFires whenSeverityLower levelsWait / clear
machine-disk-fullA file system has under 10% free.HighLow under 25%5 / 15 min
machine-silentA machine that Atlas expects has sent nothing for 3 min.Medium2 / 2 min
machine-stressMemory over 90%, or load over 1.5 for each core, for 15 min.Medium10 / 15 min
repeated-errorsThe same log message 10 times in 1 h.Low5 / 60 min
telemetry-dropped (Cargo)The Datum agent dropped 100 events in 1 h.Low5 / 60 min
Regional network services5 High1 Medium

Proxies, WireGuard VPN gateways, IPv6 routers, certificates and public IPs. Repository: Atlas.

RuleFires whenSeverityLower levelsWait / clear
service-node-not-readyA proxy, VPN gateway or IPv6 router fails 2 readiness probes, and a third run confirms (about 3 min).High1 / 2 min
atlas-service-nodes-failedA service node is in Failed status.High2 / 5 min
ipv6-router-detachedThe router's eBPF program (kernel packet code) is not attached, so region IPv6 stops.High2 / 2 min
tls-certificate-expiringThe wildcard certificate has under 3 days left. Beacon drops the rows for metald certificates today: see gaps.HighMedium under 21 days15 / 30 min
atlas-public-ips-exhaustedNo free public IPv4 address.HighMedium under 5 or 10% free5 / 10 min
proxy-error-spikeProxy-made 5xx at 5 times the 70-min baseline, or over 5% for 70 min.Medium2 / 5 min
Atlas application1 Critical5 High5 Medium

The Atlas site of each region. Resource: Atlas, or the Region for atlas-silent.

RuleFires whenSeverityLower levelsWait / clear
atlas-silentAtlas sent no per-minute sample.Critical1 / 2 min
atlas-api-unreachable (HTTP)Beacon cannot load the Atlas public key set from outside.High3 / 5 min
atlas-api-errorsOne operation has 5 errors and 5% in 10 min, or all calls over 1% in 15 min.High2 / 5 min
atlas-metal-errorsA burst of failures to reach metald.HighMedium repeats for 1 h, or 401/4033 / 5 min
atlas-queue-backlogThe job queue backs up.High10 / 5 min
atlas-disk-fullUnder 10% disk free.HighLow under 25%5 / 10 min
atlas-failed-jobs3 or more new failed jobs in one queue in 1 h.Medium1 / 15 min
atlas-error-logsA new error fingerprint (one kind of error) repeats 3 times in 1 h. Or any fingerprint repeats 5 times in 15 min, or 20 times in 1 h.Medium1 / 15 min
atlas-stuck-workA VM migration runs, or a draft VM waits, for 1 h.Medium5 / 10 min
warpgate-sync-failingNo full Warpgate sync for 15 min.Medium5 / 2 min
atlas-certificate (TLS)The Atlas API certificate has under 14 days left.Medium15 / 30 min
Cargo and object storage1 Critical5 High8 Medium

Resource: Cargo Server, or the Region for HTTP and TLS checks. Repository: Cargo.

RuleFires whenSeverityLower levelsWait / clear
object-storage-unavailableA partition has no write quorum (too few nodes agree to accept a write), or a node has not reported for 5 min.Critical2 / 5 min
object-storage-healthA cluster reports Critical health.HighMedium Degraded, Unknown or silent3 / 5 min
object-storage-unreachable (HTTP)The Garage health route through the gateway does not answer 200.High3 / 5 min
object-storage-api-unreachable (HTTP)An unsigned S3 request does not get the expected 403.High3 / 5 min
object-storage-errorsS3 answers with 5xx.High5 / 10 min
object-storage-disk-fullA storage node disk is almost full.High10 / 15 min
object-storage-redundancyA storage node is down or blocks failed to copy. Data is still served.Medium10 / 10 min
object-storage-backup-staleNo metadata backup in 1 day.Medium15 / 60 min
object-storage-certificate (TLS)The S3 certificate has under 14 days left.Medium15 / 30 min
cargo-build-failedThe newest build of a listed image failed.Medium5 / 60 min
cargo-build-stuckAn image build does not finish.Medium5 / 60 min
cargo-images-staleThe newest usable image is over 2 days old, while Cargo tracks Pilot releases.Medium15 / 60 min
cargo-errorsA Cargo error fingerprint repeats.Medium1 / 15 min
cargo-silentNo Cargo sample for 3 h.Medium15 / 30 min
Datum and telemetry2 High3 Medium2 Low

If telemetry stops, every other rule goes quiet. These rules catch that. Repository: Cargo, which deploys Datum.

RuleFires whenSeverityLower levelsWait / clear
datum-ingest-stoppedNo new sample in the region for 3 min.High1 / 3 min
telemetry-unreachable (HTTP)The Datum health route does not answer 200 from outside.High3 / 5 min
datum-writes-refusedDatum refuses requests. A 5xx returns High.Mediumsee gaps5 / 15 min
telemetry-certificate (TLS)The ingest certificate has under 14 days left.Medium15 / 30 min
telemetry-read-certificate (TLS)The ClickHouse read certificate has under 14 days left.Medium15 / 30 min
telemetry-volumeA sender sent 2 times its 7-day median, and over 100,000 rows.Low60 min / 1 day
telemetry-droppedListed under Every machine.Low5 / 60 min
Central7 High3 Medium

Central is global, but it sends to the Datum of one region (Central Telemetry Region). Resource: Region.

RuleFires whenSeverityLower levelsWait / clear
central-silentCentral stopped its per-minute gauges for 5 min.High3 / 2 min
central-api-unreachable (HTTP)/api/method/ping does not answer pong.High3 / 5 min
central-dashboard-unreachable (HTTP)The dashboard does not load.High3 / 5 min
central-api-errorsOver 5% 5xx in 10 min (at least 50 requests).HighMedium over 1% in 1 h, or one group2 / 5 min
central-payments5 failed payments that are half of a gateway's attempts in 1 h, or a gateway webhook waits 15 min.HighMedium failed webhook; Low no capture for 1 day2 / 10 min
central-resource-actions3 failed server or site actions that are 20% in 1 h, or an action open for 2 h.HighMedium open for 30 min2 / 10 min
central-webhooks-failing10 exhausted webhook requests that are 20% of one webhook in 1 day.HighMedium one exhausted, or 10 retrying10 / 30 min
central-background-workBilling run, proxy routes, snapshots, emails or scheduled jobs are stuck or late.MediumLow invoice sync10 / 15 min
central-errorsAn unhandled error fingerprint repeats 5 times in 15 min.Medium1 / 15 min
central-certificate (TLS)The Central certificate has under 14 days left.Medium15 / 30 min
Pilot3 High1 Medium1 Low

These rules look across many servers. One site or one server is the customer's, and Pilot tells them directly.

RuleFires whenSeverityLower levelsWait / clear
pilot-sites-down3 sites and 20% of checked sites are down on one server. App errors count, because a shared app can break after an update.High5 / 5 min
pilot-central-delivery3 or more customer alerts from one Pilot did not reach Central in 15 min.High5 / 15 min
pilot-backups-failingAt least 5 servers and 10% of the servers that take backups are failing (Medium). High when half of them fail. A server fails when the newest backup failed for half or more of its sites.HighMedium 5 servers and 10%30 / 60 min
pilot-silentA Pilot that Atlas expects to run sent no pilot_info or no pilot_sites for 10 min.Medium5 / 2 min
pilot-updates-failingThe same release of one repository fails on 3 or more servers.Low5 / 60 min
Built into Beacon1 Critical1 High

These rules need no file. Beacon creates them.

RuleFires whenSeverityLower levelsWait / clear
Region unreachable2 ClickHouse probes in a row fail. Beacon skips the region's SQL rules and shows its services as Unknown. HTTP and TLS rules still run.Critical0 / after 2 good probes
SLO burn (one per service)The service uses its error budget faster than a set rate. See section 8.HighMedium Page On Burn off; Low slow burn or one bad reporter0 / 5 min
Region Suspect (no alert)More than half of the hosts are silent in Datum. Rules still run. Services show as Unknown.State

Services (what customers feel)

A service is one line on the status page. Its SLI query returns good and valid events for each reporter each minute.

ServiceGood eventScopeSLORepo
Sites hiddenPilot pings a site and it answers. The SLI excludes app errors.Region99.9%Pilot
ServersA VM that should run is running.Region99.9%Atlas
ProxyA request has no proxy-made 5xx. Major Outage below 50%.Region99.9%Atlas
Object StorageAn S3 request has no 5xx.Region99.9%Cargo
Public networkingA host's public link is up; an IPv6 router forwards.Region99.9%Atlas
Private networkingA WireGuard tunnel between hosts had a recent handshake.Region99.9%Atlas
Customer VPN gatewayA gateway node passes its health check.Region99.9%Atlas
Dashboard and APIA Central request has no 5xx.Global99.9%Central
Server actions no callCreate, start, stop, restart or resize finishes.Global99%Central
Billing declaredNo metric yet. Published incidents set its status.Global—Central

6How a rule alerts

A rule is one query that returns only failing rows. Each row is one problem on one resource.

-- title: Host disk almost full        <- alert title
-- severity: High                     <- highest severity of this rule
-- resource_type: Metal Host          <- rows for other types are dropped
-- interval: 300                      <- run every 5 min
-- pending_for: 300                   <- must fail 5 min before it fires
-- resolve_after: 600                 <- 10 min clean before it recovers
-- runbook_url: https://...           <- required for High and Critical
SELECT resource_id, alert_key, value, detail, severity FROM ...

A query error never resolves an alert. A firing alert that stays the same causes no database write. An unchecked resource is one with monitoring disabled, or a Suspended or Terminated one.

Alert states

7How we limit noise

Each step removes alerts that a person does not need. Only the last step can wake someone up.

Rule design

  • Watch one level up. No rule for one site or one VM.
  • Send counts, not items. A site is never a label value.
  • Use a rate, such as 5 failed of 20, not a bare count.
  • Return a lower severity at a lower limit, such as Low at 25% disk free.
  • Each rule points to one fix and has a runbook.

Timing

  • pending_for is at least one interval, so an alert fires on the second failing run at the earliest.
  • resolve_after is at least 2 intervals, so it does not flap.
  • A new or returned resource is not checked for 10 minutes.
  • A child resource waits 90 s before a call, so its parent's incident can take it.

Suppression

  • Silence: mutes a known problem for up to 30 days, with a reason.
  • Maintenance: mutes its scope, plus 10 min after the end.
  • Held removal: a resource list that would remove over 10% waits for an admin.
  • Region Unreachable: one Critical alert; the region's SQL rules are skipped.

Feedback

  • A failure that repeats each minute writes one Error Log.
  • One chat message for each incident in each run.
  • Each week, review the alerts of each rule. Beacon Health lists the noisiest rules.
MuteUse it forAlertsCounts against SLO
MaintenancePlanned work with a start and an endSuppressed in scopeNo, only when Public and published before its start
SilenceA known problem, for a set timeSuppressed, still visibleYes
Monitoring disabledA resource we never want to checkNot evaluatedIts rows are dropped

Maintenance lifecycle. A maintenance is an incident of type Maintenance. It goes Scheduled, then In Progress at its start (or with Start Maintenance), then Completed at its end. A Scheduled maintenance can be cancelled. You can extend the end while it runs. A maintenance mutes the resources in its scope. To also mute the SLO burn alerts of its regions, set Mute SLO Burn.

8SLI, SLO and outages

The SLO is the symptom side. It calls a person when customers feel a problem, even when no cause rule knows why. This section shows every number Beacon computes, with a worked example.

The four terms

TermMeaningExample: Proxy service
SLI (service level indicator)Good events divided by valid events, measured.1,998 good requests of 2,000 valid requests = 99.9%
SLO (service level objective)Our target for the SLI over 30 days. Default 99.9%.99.9%
Error budgetThe share of valid events that may fail in 30 days: 100% minus the SLO.0.1% of requests
SLA (service level agreement)A promise to customers. It must be equal to or lower than the SLO. Beacon reports on it and alerts before we break it.99.5%

A good event and a valid event depend on the service. Its SLI query in beacon/services/*.sql defines them. For Proxy, a valid event is a request, and a bad event is a 5xx error that the proxy made itself. A 5xx error from the site's own code is good for Proxy, because the customer owns that code. The rule: count only failures that the platform causes. Else a few broken customer apps use the whole budget of a region.

One measurement, each minute

A dead host makes its VMs silent, and the Host down alert makes them count as bad. A Pilot restart or a gap in Datum leaves the reporter out, so it never looks like an outage. When the query fails or returns no valid events, Beacon stores nothing for that minute and the status is Unknown.

Error budget: a worked example

The Proxy service of one region gets 2,000 valid requests each minute. 30 days have 43,200 minutes.

StepCalculationResult
Valid events in 30 days2,000 × 43,20086,400,000
Error budget, in events86,400,000 × 0.1%86,400 failed requests
Same budget, as a full outage43,200 min × 0.1%43.2 min
Bad events so far (10 days measured)from Service Days14,400
Valid events so farfrom Service Days28,800,000
Valid events projected to 30 days28,800,000 × (30 / 10)86,400,000
Budget left1 − 14,400 / (0.1% × 86,400,000)83.3%

Formula: budget left = 1 − (valid − good) / (error budget × valid projected to 30 days). Beacon projects only until 30 days are measured. The value shows as Budget left, 30 days on the service form and in Service health. It can go below zero: then we broke the SLO.

Burn rate

The burn rate is how fast we use the budget: (1 − SLI) / (1 − SLO). A burn rate of 1 uses the whole budget in exactly 30 days.

Burn rateError rate at SLO 99.9%The whole 30-day budget lasts
10.1%30 days
60.6%5 days
14.41.44%50 hours
1,000100% (full outage)43 minutes

Each burn alert checks two windows. It fires only when the burn rate meets its limit in both. The long window shows that the problem is real. The short window lets the alert resolve a few minutes after the fix. Each limit comes from budget share × 720 h / long window: for fast, 2% × 720 / 1 = 14.4.

Alert keyBudget usedLong windowShort windowBurn rateSeverity
fast2%1 h5 min14.4High calls
medium5%6 h30 min6High calls
slow10%3 days6 h1Low
sla, only with an SLA Target—1 h15 minerror rate at or above 100 − SLAHigh calls

Example. In the last hour, 2.0% of Proxy requests failed. The 1 h burn rate is 2.0% / 0.1% = 20. In the last 5 minutes, 1.8% failed: burn rate 18. Both are at or above 14.4, so fast fires. The fix lands. The 5-minute window drops below 14.4 within a few minutes, so the burn stops, although the 1 h window still shows errors. After 5 more minutes without a burn, the alert recovers.

Four guards stop false calls:

A burn alert is a normal alert. Its resource is the region (or the global resource for a global service). It fires at once (no wait) and recovers after 5 minutes without a burn.

Status of a service

A worse status must hold 3 min and a better one 2 min before it shows. Maintenance shows at once. A published outage on the same service outranks Maintenance. The status page shows the worse of this status and the impact of open published incidents. A published impact never makes the status better.

Example. A region has 3 proxies with equal traffic. One proxy is down and its node has a firing cause alert. The SLI is about 67%. That is under 95% and above 50%, so after 3 minutes Proxy shows Partial Outage. When a second proxy fails, the SLI is about 33% and Proxy shows Major Outage.

Uptime and outage minutes on the status page

NumberHow Beacon computes it
Uptime of a day, and of 90 daysMeasured SLI: sum of good / sum of valid from Service Days.
Coverage of a dayMinutes that Beacon measured / minutes of the day. Low coverage means the uptime is less certain.
Downtime of a dayMajor Outage minutes + 0.3 × Partial Outage minutes (the Atlassian Statuspage method).
Bar color of a dayRed: 15 or more downtime minutes. Orange: some downtime, under 15 min. Yellow: no downtime, some Degraded minutes. Blue: Maintenance minutes. Empty (No data): Beacon has no measurement for the day. Else green.

Example. A day has 10 Major Outage minutes and 20 Partial Outage minutes. Downtime = 10 + 0.3 × 20 = 16 min, so the bar is red. A bad minute that does not hold 3 minutes lowers the uptime. It does not change the status, so it is not downtime.

A declared outage (a Public incident with an impact) changes the status and the bar color. It does not change good and valid, so uptime and the error budget stay measured. A Declared service, such as Billing, has no SLI: its status comes only from published incidents, and the page says Set by incidents, not measured.

9Alerts to incidents

An incident is the record people work on. The rule: after each evaluation and region run, every firing, unsuppressed alert belongs to an open incident.

A join is never silent. Beacon posts one chat message for each incident in each run. A higher severity calls again.

StepThe alert joins whenWhy
CoverAn open incident has a scope row that covers the alert's resource or a parent of it. Never for an alert on the region resource.A host incident takes the alerts of its VMs.
PairA burn alert joins an incident with a cause alert on one of its bad reporters (or a parent). A cause alert on a bad reporter joins an incident that has only burn alerts.The symptom and its cause share one incident.
GroupAn open incident has the same rule and region, and is Triggered or under 30 min old.One rule failing in many places is one outage.
ReopenAn Internal incident that Beacon made, with the same rule and region, resolved in the last 30 min.A flapping problem does not open a new incident each time.
CreateNo step above matched. Beacon creates an Internal incident in Triggered.A resource without a parent calls at once. A child waits 90 s.

Scope. An incident starts with the scope of its first alert, such as "host h12 and everything under it". Beacon computes affected resources only when a person asks. When a new incident covers alerts of another open, Internal, unacknowledged incident, those alerts move, and the empty incident closes as Merged.

Incident states

Inside Open, Post Update can set any of the three statuses from any other. A new alert moves Monitoring back to Investigating.

10Severity and channels

Severity decides who hears about a problem, and how loud.

SeverityMeaningChatEmail to respondersPhone callNext responderStops
CriticalCustomers are down now. Act at once.YesYesYesafter 2 minOnly when someone acknowledges
HighCustomers are affected, or will be if nobody acts.YesYesYesafter 5 minAfter 3 rounds, with a chat post
MediumA person must look today.YesYesNo——
LowGood to know.YesNoNo——

The times are defaults in Beacon Settings. Paging Paused stops all calls and emails, for example after a database restore. Chat messages are Markdown with the severity, the linked incident name, the region and a table of alerts. Emails use the subject [Severity][Incident] Title.

11Calls and acknowledge

Beacon calls one responder at a time from an ordered list. An answered call acknowledges the incident.

12Telling customers

Customers hear about problems on three paths. Two are automatic; one needs a person.

PathWhat the customer seesWho starts itAutomatic
Service statusThe status of each service on the status page, from its SLI. Unknown shows grey, never the last green.Beacon, each minuteYes
Pilot through CentralAn in-app notification about their own site or server, and an email when their preferences allow it.Pilot, when a condition holdsYes
Published incidentAn incident with updates: on the status page (Public) or by a private link (Unlisted). Email or RSS for followers.A personNo

A platform incident, from alert to customer

Customer alerts from Pilot

Pilot eventCentral event typeWhen Pilot raises itEmails even when a member turned it off
site_downsite_unavailableSites down for 5 min, not in maintenanceYes
backups_failingbackup_failure6 failures since the last good backupNo
resource_limit_breachedresource_limit_breachedCPU, memory or disk over the limit (90% default) for 5 minNo
certificate_expirycertificate_expiryA site certificate nears expiryNo
certificate_failedcertificate_failedA certificate cannot be issuedNo
Failed update taskmigration_failureAn update task failsYes

A Critical event in Central emails at once and ignores member preferences. Other events follow each member's settings, and a digest event waits for the digest. Central refuses Billing and Team events from a Pilot, so a broken bench cannot email a whole team. Central has more event types than these six, such as provisioning, resize, snapshot and billing events. Central raises those itself; this Pilot sends only the six above.

13Finding regressions

A regression is a change that made things worse. These signals catch one within an hour of a deploy or a release, or within days for slow burn.

SignalCatchesRule
New error fingerprintAn error absent the day before that repeats in the last houratlas-error-logs
Repeating unhandled errorOne error that repeats 5 times in 15 minatlas-error-logs, cargo-errors, central-errors
Same release fails on many serversA bad app release, not a bad serverpilot-updates-failing
Many app errors on one serverA shared app broken by a bench updatepilot-sites-down
Error share against a baselineA proxy change that raises 5xxproxy-error-spike
API error rate by operationOne endpoint broken by a deployatlas-api-errors, central-api-errors
Telemetry volume doublesA new version that logs too much or sends a new metrictelemetry-volume
Slow burnA small, steady loss of quality over daysSLO slow burn
Image buildsA broken build pipelinecargo-build-failed, cargo-images-stale

Beacon Health (Desk, under Health) covers the last 30 days. It shows incidents, time to acknowledge and resolve, notification delay and failures, the noisiest rules and the SLI of each service. Use it in the weekly review:

QuestionWhen the answer is yes
Did it fire without a fix?Raise the limit, make pending_for longer, or lower the severity.
Did another alert already show the problem?Remove the rule, or merge it into the other rule.
Did it flap?Make resolve_after longer.
Did customers see a problem that no alert showed?Add a metric or a rule, or make the SLI cover it.
Did the responder not know what to do?Improve the runbook.

14Example: a host fails

A host with 30 VMs and 400 sites loses power at 10:00. The times are approximate.

  1. Pilots in the VMs go silent. No cause alert covers them yet, so the Sites SLI leaves them out. A Pilot restart looks the same and must not call.
  2. After 5 min the Atlas sync is old and metald is silent. host-down returns the host. After one more run it fires.
  3. Beacon opens an incident with scope "this host and everything under it". The host has no parent, so the call starts at once.
  4. Now a cause alert covers the silent reporters, so the SLIs count them as bad. A burn alert that fires later joins the same incident by pairing.
  5. The responder answers. Beacon acknowledges. The responder publishes as Unlisted and gives the link to support.
  6. The host comes back. The alert recovers after 2 min. The incident is Unlisted, so Beacon asks a person to resolve it. The responder posts a final update and resolves.

15Working in Desk

Engineers do all Beacon work in Frappe Desk. Each flow below shows what Desk does today and what we propose to make it easier. Proposals are not built yet. Each needs a mockup and approval first.

Five rules for every Beacon form.

  1. The next step is the one primary button. Today Acknowledge does this while an incident is Triggered.
  2. The runbook is one click from the call.
  3. A field that drives a state machine is read-only. Only an action changes it, and the action dialog asks only for what it needs.
  4. A confirmation says what happens next, such as "Phone calls cost money".
  5. A problem with Beacon itself shows on the Beacon home screen, not only in a log list.

Flows, today and proposed

FlowWhoToday in DeskProposed changePriority
Answer a callOn-call responderThe chat message links to the incident. Acknowledge is the primary button, and an orange banner shows the next call time. The runbook is on the alert and rule forms, not on the incident: Alerts tab, open the alert, then Runbook.Add a What fired block at the top of the Overview tab: each firing alert with its resource, detail, Runbook and Silence buttons.P1
See open workOn-call responderThe workspace has an Open incidents quick list. The full Incidents list filters only by type, and shows severity, status and visibility as plain fields with no color.Color the list indicator by severity. Default the full list to open incidents, sorted Critical, High, Medium, Low, then by age. Add a saved filter Acknowledged by me.P1
Check Beacon itselfBeacon ownerRule evaluation errors, failed notifications and unreachable regions are in separate lists under Logs and Health.Add a Needs attention block on the Beacon workspace. It lists Triggered incidents, rule evaluations in error, and unreachable regions. It also lists notifications Failed or in Sending for over 5 min, and synced checks that still need Regions or a Query Region.P1
Tell customersResponder or supportPublish shows the title, explains the visibility, and asks for the impact for each service. Post Update prefills a message for each status.Show the status page entry as customers will see it in the Publish dialog. For a Public incident, show "Last public update 35 min ago" and post a chat reminder after 30 min without one.P2
Mute noiseOn-call responderCreate Silence on the alert form prefills region, resource, rule and alert key. The reason is required, and the form previews the matching resources and open alerts.Offer 1 h, 4 h and 24 h presets for the end time. Add a Silence button to each firing alert on the incident form.P2
Resolve and learnResponder, producer teamResolve asks for a message and Silence Hours. The RCA section has the RCA, public RCA and action items.When Postmortem Required is set, Resolve asks for an owner and a due date. Add a list filter Postmortem due.P2
Tune a ruleProducer teamThe rule form shows evaluations per region and a Test Rule button. Noise data is only in Beacon Health.Show 30-day numbers on the rule form: times fired, median firing time, and the share of alerts that recovered within 10 min (short-lived alerts).P2
Plan maintenanceProducer teamA Maintenance incident with scope, Start Maintenance, Extend Maintenance, Complete Maintenance and Cancel Maintenance, and the Mute SLO Burn check box.Before start, show the resources, open alerts and services that the scope covers. Add a calendar view of maintenances.P3
Change a rule in codeProducer teamEdit the file in the producer repository and merge it. Then use Sync Definitions in Beacon Settings, which loads every source and lists warnings. For a synced SQL rule, the query is read-only in Desk and only Enabled changes. Test Rule runs the rule as it is in Desk, so test a file change after the sync.After a sync, show for each changed rule its first evaluation result in each region, so the author sees at once that it runs.P2
Open an incident by handSupport or responderCreate a Beacon Incident, set severity, scope and Detected By (such as Customer). Use Merge Into Another Incident for a duplicate.Add a Report a problem button on the workspace that asks for title, severity, region and resource, and shows open incidents that cover that resource first.P2
Fix notification deliveryBeacon ownerOpen the Failed Beacon Notification for the error. For email, check the Email Queue. In Beacon Settings, use Send Test Notification and Resume Notifications.Show a red banner on Beacon Settings while notifications are paused or the last test failed.P3
Find who is on callAnyoneOpen Beacon Settings to read the responder list and the override.Show "On call now" and the escalation order on the Beacon workspace, with Change Primary On-call next to it.P3

Proposed: the incident form for a responder

The responder opens one form and sees what fired, where to start, and the next button. This is a sketch, not a final layout.

Example names. The tabs stay as they are today; only the top of Overview changes.

16Gaps and next steps

These flows are missing or weak today. Each item says what exists, the risk and a proposal.

GapRiskProposal
No check reaches a customer site from outside the region. Public networking is measured inside the region.A provider or DNS cut shows only when a person publishes an incident.Add an HTTP rule per region for a canary site behind the proxy.
Beacon incidents do not reach the Central dashboard. Affected customers get an Unlisted link only when support sends it.Customers on a broken server may not hear about our incident.Show published incidents in Central for the affected servers, from the incident scope.
The status page lets a visitor follow one incident only.No warning for a new incident in a customer's region.Add a follow option for a region or a service.
Billing is a declared service with no SLI.Billing problems show only through rules and published incidents.Send good and valid counts for invoices and payments.
The Sites service is measured but hidden. Its file comment says a customer's app fault counts as down, but the query already leaves out app_error.The status page shows no site availability, for a reason that is no longer true.Check the Sites SLI for a few weeks, then show it. Fix the comment in the Pilot repository.
datum-writes-refused says Medium in its header, but its query returns High for a 5xx.The runbook check and the sync warnings read the header, so the rule looks lower than it is.Set the header to High in the Cargo repository.
tls-certificate-expiring returns host rows for metald certificates, but its header lists only the Atlas resource type. Beacon drops those rows.An expiring metald certificate gives no alert. Atlas then loses access to the host.Set resource_type: Atlas, Metal Host in the Atlas repository.
39 of 70 rules can call at their highest level.Too many calls in the first weeks.Review the noisiest rules in Beacon Health each week after rollout.
On-call is one ordered list with a primary override. There is no rotation schedule.Someone must change the override by hand each shift.Add a weekly rotation, or sync it from a calendar.
Datum and its senders do not retry.A failed request is a gap. Rules see silence, not an error.Keep the silence rules. Watch telemetry-dropped and datum-writes-refused.
A support ticket is not linked to an incident.Detected By = Customer depends on a person.Let support open or join a Beacon incident from the ticket.
When Beacon is down, the status page is down too.No public status during a Beacon outage. (Accepted risk.)The external heartbeat calls the team. Consider a static fallback page.
Traces are stored, but no rule reads them.Slow requests show only as errors or timeouts.Add a latency SLI when a service needs one.

17Glossary

RegionOne Frappe Cloud region, with its own Datum and ClickHouse.
ResourceOne thing Beacon watches: a host, a VM, a service node, an app such as Atlas, or the region.
Resource IDThe name of the sender, written by Datum from the token.
RuleA SQL, HTTP or TLS check that returns failing rows.
AlertOne problem on one resource, from start to end.
IncidentThe record people work on. It holds alerts, updates, calls and the postmortem.
ScopeThe part of the region an incident covers, such as a host and its VMs.
ServiceOne line on the status page, with an SLI and an SLO.
ReporterA resource that sends SLI events, such as a Pilot VM.
Bad reporterA reporter that sent bad events in the last minute. Used to pair burn and cause alerts.
Burn rateHow fast a service uses its error budget. 1 means the budget lasts exactly 30 days.
SilenceA time-limited mute for a known problem.
MaintenancePlanned work with a start, an end and a scope. Mutes alerts in its scope.
RunbookThe steps for a responder. Required for each High or Critical rule.
JWTA signed token. Datum reads the sender's resource ID from it.
Error fingerprintOne kind of error: the same exception at the same place, counted together.
BMCThe management chip of a physical server. It reports hardware events.
eBPFA small program in the Linux kernel. The IPv6 router uses one to forward traffic.
QuorumThe minimum number of storage nodes that must agree before object storage accepts a write.
Unchecked resourceA resource with monitoring disabled, or one that is Suspended or Terminated. Beacon drops its rows.
CoverageThe share of a day's minutes that Beacon measured.