Operational Runbooks — Recovery & Incident Response
This document provides checklists and runbooks for standard operational alert events in the Pranor ecosystem.
Runbook 001: Pranor Gate High Latency / Backpressure
Alert Trigger: Inbound latency on :8080 exceeds 1.5s, or request queues fill.
1. Diagnosis
- Inspect Pranor Console trace list to see which downstream route is bottlenecking:
serv status --json - Check active connection pool state. If pool size matches
max_open_conns, verify downstream database health.
2. Resolution
- Temporarily increase gateway concurrency limit by updating
max_concurrent_requestsinconfig.jsonand reloading:"max_concurrent_requests": 100 - If downstreams are timed out, apply a temporary circuit breaker:
# Add emergency routing override in config.json "target": "http://localhost:8080/error-fallback"
Runbook 002: Pranor Auth Verification Failures (Key Rotation)
Alert Trigger: HTTP 401/403 errors spike globally. Token validation fails on Pranor Core/middleware.go.
1. Diagnosis
- Query key cache endpoint to check if rotated keys are public:
curl -i http://localhost:8098/oauth/keys - Verify if the JWKS URL
:8098/oauth/keysreturns valid RSA keys.
2. Resolution
- Force JWKS cache invalidation inside
Pranor Coreclient by updating the cache expiration timestamp. - If a key leak is suspected, issue an emergency rotation:
# Trigger key generator script ./scripts/rotate-keys.sh