http:middlewares:# Request ID generation/forwardingx-request-id:headers:customRequestHeaders:X-Request-Id:"{{uuid}}"# Note: Traefik v3 doesn't have native UUID generation# Alternative: Use plugin or rely on backend generation
Alternative approach (if Traefik lacks UUID generation):
Backend generates UUID if X-Request-Id header missing
Traefik forwards existing X-Request-Id headers
Add X-Request-Id to accessLog fields
Update middleware chains:
api-chain:chain:middlewares:- compression- security-headers-strict- cors- rate-limit- api-auth- retry-policy# x-request-id handled by backend if not natively supported
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Parent Issue
Refs #80 - Unified Debug Logging System
Scope
Configure Traefik to generate/forward X-Request-Id headers for request correlation.
Files to Modify
config/traefik/dynamic/middleware.yml- Add x-request-id middlewareImplementation Details
Add to middleware.yml:
Alternative approach (if Traefik lacks UUID generation):
Update middleware chains:
Ensure access logs include request ID:
Acceptance Criteria
Dependencies
None - can be executed in parallel with #80-A and #80-E
Milestone
Milestone 1: Foundation