Directories
¶
| Path | Synopsis |
|---|---|
|
Command chaos-point demonstrates an explicit injection point guarding a post-commit hook.
|
Command chaos-point demonstrates an explicit injection point guarding a post-commit hook. |
|
Command circuit-breaker shows a circuit breaker opening after chaos injects repeated failures, after which calls short-circuit instead of calling the failing dependency.
|
Command circuit-breaker shows a circuit breaker opening after chaos injects repeated failures, after which calls short-circuit instead of calling the failing dependency. |
|
Command clock-skew demonstrates fault.Clock.
|
Command clock-skew demonstrates fault.Clock. |
|
Command db-conn-pool shows database/sql discarding a poisoned connection and transparently retrying on a fresh one when chaos injects a connection drop.
|
Command db-conn-pool shows database/sql discarding a poisoned connection and transparently retrying on a fresh one when chaos injects a connection drop. |
|
Command fanout-partial-failure shows graceful degradation: a fan-out queries three backends concurrently, chaos faults exactly one branch (path /b), and the aggregator returns the partial result instead of failing the whole request.
|
Command fanout-partial-failure shows graceful degradation: a fan-out queries three backends concurrently, chaos faults exactly one branch (path /b), and the aggregator returns the partial result instead of failing the whole request. |
|
Command observability-during-chaos shows an engine.Observer capturing a chaos fire: when a rule injects a fault on an HTTP call, the observer records the RuleFired event — exactly where a real app forwards it to logs, metrics, or traces (see observer/slog, observer/prometheus, observer/otel).
|
Command observability-during-chaos shows an engine.Observer capturing a chaos fire: when a rule injects a fault on an HTTP call, the observer records the RuleFired event — exactly where a real app forwards it to logs, metrics, or traces (see observer/slog, observer/prometheus, observer/otel). |
|
Command prod-safety-rails shows the production bounds that keep chaos from becoming the outage: a failure budget, a max-concurrent cap, a production guard, and a kill switch.
|
Command prod-safety-rails shows the production bounds that keep chaos from becoming the outage: a failure budget, a max-concurrent cap, a production guard, and a kill switch. |
|
Command response-mutate demonstrates fault.ResponseMutate via adapter/http.MutateResponse: chaos corrupts the body of an otherwise successful 200 response, and the client's decode path degrades gracefully (returns "unknown") instead of crashing.
|
Command response-mutate demonstrates fault.ResponseMutate via adapter/http.MutateResponse: chaos corrupts the body of an otherwise successful 200 response, and the client's decode path degrades gracefully (returns "unknown") instead of crashing. |
|
Command retry-http demonstrates a retry loop recovering from a transient fault injected into an http.Client's transport.
|
Command retry-http demonstrates a retry loop recovering from a transient fault injected into an http.Client's transport. |
Click to show internal directories.
Click to hide internal directories.