Gaffotron v0.6 – Chaos Engineering Endpoints: === CRASHES === /crash/exit/{code} - exit with code /crash/sig/{signal} - send POSIX signal /panic - trigger Go panic /deadlock - create mutex deadlock === RESOURCE EXHAUSTION === /oom?mb=N - allocate N MiB (OOM kill) /cpu?secs=N - CPU busy loop N seconds /disk/fill?mb=N - fill disk with N MiB /disk/clean - clean temp files === NETWORK CHAOS === /network/slow?ms=N - add N ms latency /network/drop?rate=N - drop N% of requests === LEAKS === /leak/memory?mb=N - leak N MiB/sec /leak/memory/stop - stop memory leak /leak/goroutine?n=N - leak N goroutines/sec /leak/goroutine/stop - stop goroutine leak (leaked goroutines remain) /leak/fd?n=N - leak N file descriptors/sec /leak/fd/stop - stop fd leak === BASELINE CONSUMPTION === /baseline/config - show current baseline configuration Environment variables (auto-enabled when min != max): GAFFOTRON_BASELINE_MIN_CPU - minimum CPU % (0 to disable) GAFFOTRON_BASELINE_MAX_CPU - maximum CPU % (0 to disable) GAFFOTRON_BASELINE_MIN_MEM - minimum memory MiB (0 to disable) GAFFOTRON_BASELINE_MAX_MEM - maximum memory MiB (0 to disable) GAFFOTRON_BASELINE_INTERVAL - seconds between changes (default: 30) === REVERSE PROXY === /proxy/* - reverse proxy to GAFFOTRON_PROXY_TARGET Environment variables: GAFFOTRON_PROXY_TARGET - upstream base URL (e.g., http://svc.ns.svc:8080) GAFFOTRON_PROXY_TIMEOUT_MS - upstream timeout in ms (default: 5000) === BEHAVIOR === /freeze?secs=N - freeze process N seconds /probe/all/fail?secs=N - fail probes N seconds /probe/ready/fail?secs=N - fail readiness probe N seconds /probe/live/fail?secs=N - fail liveness probe N seconds === MONITORING === /livez /readyz - health probes /metrics - Prometheus metrics === CHAOS AUTOMATION === /chaos/random - activate random chaos /chaos/stop - stop all chaos Root options: /?error_rate=0..100 - randomly return one of: 400,401,403,404,500,502,503,504