Operate ShakyLine with confidence.
Use these guides to set up fault drills, automate scenarios, and understand the runtime control surface.
Getting Started
Install, run the proxy, and apply your first fault profile.
Use Cases
Recipes for CI, local debugging, realtime apps, and incident rehearsal.
Control API
HTTP endpoints for profiles, health, sessions, and metrics.
Fault Profiles
Fields for latency, jitter, drops, throttling, and stalls.
common loop
# 1. Start proxy
shakyline --listen 0.0.0.0:8080 --upstream api.example.com:443
# 2. Apply a profile
curl -X POST http://localhost:9090/profiles/default \
-H "Content-Type: application/json" \
-d '{"latency_ms":150,"drop_rate":0.02}'
# 3. Inspect status
curl http://localhost:9090/sessions
curl http://localhost:9090/metrics
# 4. Reset
curl -X DELETE http://localhost:9090/profiles/default