Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Game days

Source docs/ops/game-days/README.md

Runbooks for rehearsing a failure on purpose and for handling the same failure when it happens for real. Each pairs with an experiment of infra/chaos/chaos.py (chaos.md) and with the alerts that should fire (slo.md).

Runbook Fault Experiment
replica-loss.md a gateway replica dies kill-replica
federation-partition.md a federation peer is cut off, then rejoins network-partition
disk-full.md an append-only store’s volume fills disk-full
clock-skew.md a peer’s or a signer’s clock is wrong clock-skew
slow-database.md a dependency answers slowly or not at all slow-db

Running a game day

  1. Plan. Pick one runbook. Name a facilitator (injects the fault, keeps time), an operator (responds as on call, without seeing the script) and a scribe. Check the error budget: game days run only when the objective concerned has more than 50% of its budget left (error-budget-policy.md); against the reference stack they can run at any time.
  2. Prepare. OBSP_PROFILES="observability chaos" make stack-up; open the dashboards on http://127.0.0.1:3000 and the alert manager’s view; confirm the steady state the runbook names.
  3. Inject. make chaos CHAOS=<experiment> runs the fault and its assertions; or inject by hand with the runbook’s commands and let the operator find the fault from the signals.
  4. Observe. The operator works from the runbook’s signals and actions; the scribe notes when each alert fired, when it was seen, what was done.
  5. Recover and verify. The runbook’s exit criteria, then the steady state again.
  6. Review. Within a week: what fired, what did not, what the runbook missed. A gap becomes an issue or a change to slos.yaml, a dashboard, a runbook or a program.