Fix the InFlightGuard TRACE logs to explicitly include request_id as a top-level field in the JSON output. Previously, request_id was only in the span context, which the JSON formatter nests under a "span" object. This made it impossible to grep for request_id across log lines. Changes: - InFlightGuard now takes request_id and includes it in TRACE logs - Updated call site in telemetry_middleware to pass request_id Acceptance: - Grepping request_id=abc123 now returns every log line from that request - Non-request logs (startup, background tasks) don't have request_id field Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||