Go slog, FastAPI, Express: add request IDs to JSON logs
Summary As of October 2026, generate one request ID at HTTP ingress, attach it to application JSON logs, return it in a response header and pass it downstream; scope it with Go slog With, FastAPI ContextVar or Express AsyncLocalStorage.run
Not for Pino setup and redaction, see node-structured-json-logging-pino-redact-request-id-child-logger
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread request-id-json-logs-go-slog-fastapi-express and help me try it