Operations
Runbooks
What to do when an alert fires.
Atlas API availability
Use this runbook when AtlasAPIAvailabilitySLOBurn or AtlasAPIRateLimited
fires.
- Check whether the alert is isolated to one node or affects all nodes:
compare
atlas:http_availability:ratio5mandup{job="atlas"}bynode. - Inspect
atlas_http_requests_totalgrouped by route and status code. A rise in 401 points to credentials; 429 points to client rate limits; 5xx points to handler, storage, or dependency failures. - Check node readiness and recent structured API logs. Confirm the SQLite volume is mounted and the process can write to its data directory.
- For 429s, identify the client and its trusted-proxy path before changing
ATLAS_RATE_LIMIT_RPSorATLAS_RATE_LIMIT_BURST. Do not disable auth or rate limiting to silence the alert. - After remediation, verify readiness and confirm the 5-minute availability ratio returns above 99%.
Useful checks: GET /readyz, GET /metrics, and authenticated GET /v1/members from the affected node.
Atlas API latency
Use this runbook when AtlasAPILatencySLOBurn fires.
- Identify the affected
nodeandroutein the alert labels. Compare p50 and p95 fromatlas_http_request_duration_secondsacross nodes. - Check CPU, memory, SQLite volume latency, request rates, and storage error logs on the affected node.
- For registry routes, inspect record count and compare SQLite query latency;
for
/v1/events, check subscriber count and client disconnects. - Compare probe RTT and Lifeguard local health score. A busy or overloaded node can raise both API and gossip latency.
- Restore capacity or address the slow dependency, then confirm route p95 is below 500 ms for at least 10 minutes.
Do not raise the alert threshold until a measured product SLO change has been approved and recorded.
Atlas membership health
Use this runbook when a membership, probe-timeout, or broadcast-queue alert fires.
- Compare
atlas_membership_membersacross nodes. A disagreement may be a real partition; first check node scrape health and the gossip network. - Inspect packet rejection reasons, probe RTT, timeout rate, local health score, and queue drops. Clock-skew or decrypt rejects often indicate misconfigured keys or clocks.
- Verify UDP and TCP port 7946 are reachable between peers. Check Kubernetes NetworkPolicy, cloud firewall, DNS seeds, and advertised addresses.
- For a partition, restore connectivity and allow TCP push-pull anti-entropy to converge. Avoid manually deleting SQLite tombstones or changing incarnation values.
- Confirm all surviving nodes converge on the same alive-member count and that queue drops and probe timeouts return to baseline.
For persistent failure, collect node logs, /metrics, advertised addresses,
and a copy of each node's database before making state changes.
Improve this pageSource: docs/runbooks/atlas-api-availability.md, docs/runbooks/atlas-api-latency.md, docs/runbooks/atlas-membership.md