In this section: Learn
Guides
- Guide: choosing and implementing a binding
- Guide: OBSP-COMMUNITY (COMMUNITY)
- Conformance guide
- Guide: OBSP-CONSTELLATION (CONSTELLATION)
- Guide: OBSP-CONSUMER
- Guide: the exchange plane (reference implementation)
- Guide: OBSP-GRID
- Implementers guide
- Guide: OBSP-MOBILE (MOBILE)
- Guide: OBSP-MODEL-OBSERVER (MODEL-OBSERVER)
- Guide: OBSP-NETWORK-SENSING (NETWORK-SENSING, provisional)
- Guide: OBSP-NODE
- Guide: operating the reference stack
- Operators guide
- Guide: OBSP-PROVIDER
- Python SDK: the 0.2 candidate mode (DRAFT)
- Release guide
- Guide: OBSP-SITE
- Guide: OBSP-SOV (operator sovereignty overlay)
- Start here: from a clone to a checked evidence set in 30 minutes
- Guide: the web front ends
Domain packs
- All domain packs
- Agriculture: fields, crops, livestock and stored grain
- Air quality: reference monitors and sensor networks
- Cryosphere: snow, glaciers, permafrost, sea and lake ice
- Greenhouse gases and methane: in-situ, flux and remote sensing
- Health (One Health): environment, animals and people
- Hydrology: river, lake, groundwater and water-quality stations
- Infrastructure: structural health of bridges, dams, tunnels and buildings
- Meteorology: surface synoptic and climate stations (GBON-oriented)
- Ocean: moorings, buoys, profiling floats and coastal stations
- Seismology and geodesy: seismometers, strong motion, GNSS and InSAR
- Space weather: geomagnetism, ionosphere and the solar wind
Participants
- Non-profits, humanitarian organisations, communities and citizen networks
- Device makers
- Enterprises and infrastructure owners
- Governments, agencies and utilities
- Individual experts, developers and students
- United Nations agencies and intergovernmental organisations
- National consortiums, national standards councils and national hosts
- Universities, observatories and research networks
- Managed-service and technology providers
Security and privacy
- Threat note: obsp-mcp (reference Model Context Protocol server)
- Threat note: credential status publisher (reference service)
- Threat note: discovery (reference service)
- Threat note: production public services
- Threat note: implementations and conformance registry (reference service)
- Threat note: transparency log (reference service)
- Supply chain: controls and current status
- Threat model of the Observatory Protocol (version 2)
- Privacy assessments
- Draft privacy impact assessment: COMMUNITY profile (OIP-0017)
- Draft privacy impact assessment: MOBILE profile, person-carried case (OIP-0013)
- Draft privacy impact assessment: NETWORK-SENSING profile (OIP-0011)
- Privacy impact assessment template
Pilot kits
Operations
- Operations
- Capacity scaling
- Capacity plan
- Chaos and resilience experiments
- Data plane
- Deploy
- Error-budget policy
- Game days
- Game day: clock skew
- Game day: disk full
- Game day: federation partition and rejoin
- Game day: replica loss
- Game day: slow or unreachable database
- Incident response
- Key rotation and compromise recovery
- Load and soak testing
- Observability conventions
- Offline site operation
- What the owner must decide
- Restore
- Rollback
- Service-level objectives
- Static web sites
- Supply chain and release hardening: the checks
- Variables
Chaos and resilience experiments
On this page
Fault-injection experiments against the reference stack, each with the behaviour it must show asserted, and the game-day runbooks an operator follows when the same fault happens for real. The experiments run on one machine against the compose stack; they say how the reference programs behave, not how a deployment of them will.
OBSP_PROFILES="observability chaos" make stack-up
make chaos CHAOS=kill-replica # one experiment; CHAOS=all for every one (the default)
make chaos-plan # every experiment's steps, printed, nothing touched
python3 infra/chaos/chaos.py list
| File | Role |
|---|---|
infra/chaos/chaos.py |
the experiments: steady state, fault, assertions, recovery; results in dist/chaos/<run>/<experiment>.json |
infra/chaos/latency_proxy.py |
a TCP proxy that adds latency or cuts a dependency on command |
infra/compose/compose.chaos.yaml |
the chaos profile: bounds every fault to the stack |
ci/jobs/chaos-nightly.sh |
the nightly CI job |
game-days/ |
the runbooks |
Safety. The chaos profile puts the first gateway’s store on a size-limited tmpfs volume, so filling it cannot
fill the host’s disk; clock skew is injected through a flag of the federation peer and a variable of the log service,
never by changing the host clock; partitions disconnect containers from the stack’s own networks. Every experiment
removes its fault in a finally step, after a failed assertion too. Nothing leaves the host.
Experiments
| Experiment | Fault | Expected behaviour (asserted) | Runbook |
|---|---|---|---|
kill-replica |
SIGKILL the first gateway | the TLS front answers for it with a 5xx within 5 s (no hang); the other gateway keeps answering; after a restart it is healthy within 60 s with every stored entry, and accepts writes | replica-loss.md |
network-partition |
disconnect fed-b from the federation network | fed-a records the partition within 60 s; the quorum side keeps writing; 60 s after rejoining no partition is recorded; fed-b holds fed-a’s writes within 90 s | federation-partition.md |
disk-full |
fill the gateway’s (bounded) store volume | writes refused with 503 OBS-STORE-0001, marked retryable; reads keep working; obsp_http_responses_total counts the code (alert ObspStoreWriteFailing); writes accepted within 30 s of freeing space |
disk-full.md |
clock-skew |
fed-c +120 s (beyond the skew allowance); the log service +600 s | at most one lease holder per namespace in every sample over 60 s; the prober marks the future-stamped tree head not fresh (SLO-LOG-FRESH) within 90 s; both recover | clock-skew.md |
slow-db |
300 ms per packet to a dependency, then a cut | answers slow down by the delay but succeed; a cut dependency fails in under 2 s; latency back to normal after the reset | slow-database.md |
Slow database today and with the data plane. The reference gateway’s store is a local file, so on today’s
stack the proxy sits between a client and the first gateway and the assertions are about the client’s view. When the
PostgreSQL data plane is present, set OBSP_CHAOS_DB_UPSTREAM=<database host>:5432 and point the service’s
database address at db-chaos:15432: the same experiment then slows and cuts the database, and the runbook says what
the service must answer (503 DEPENDENCY_UNAVAILABLE, retryable, and no request held longer than its timeout).
Results
dist/chaos/<run id>/<experiment>.json (schema obsp-chaos-result/1): the profiles, the start time, the duration,
PASS or FAIL, an error if a command failed, and every step and assertion with its time, verdict and detail. The
nightly job stores the folder as a CI artifact.
Status
The experiments were written against the stack’s interfaces and run here in dry-run mode (make chaos-plan, in
make check through tests/test_observability.py); the fault proxy and the gateway’s behaviour behind it were
exercised against a gateway on the loopback interface. A full run needs a container engine, which the nightly job
provides; its first results will show which assertions the reference programs meet as they stand.