Some checks failed
CI / Typecheck & Lint (pull_request) Failing after 0s
- Add request-id middleware: assigns X-Request-Id (reuses upstream header or generates UUID), stored on res.locals and echoed in response header - Add LOG_LEVEL env var support (debug/info/warn/error) to structured logger for controlling log verbosity - Add HTTP request counters: total requests, by status code, 4xx/5xx error counts — tracked in-memory via response-time middleware - Enhance /api/metrics endpoint with new `http` section exposing request counts, status breakdown, and error rates - Include request_id in structured HTTP request logs for correlation Fixes #57 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>