veza/veza-backend-api/internal/tracing
senke 0ac3b82962 [BE-SVC-018] be-svc: Implement request tracing
- Created TraceContext struct for distributed tracing
- Implemented W3C Trace Context format support (traceparent header)
- Added backward compatibility with legacy X-Trace-ID and X-Span-ID headers
- Created HTTPClientWithTracing for automatic trace propagation in outgoing requests
- Enhanced Tracing middleware to use new trace context system
- Added context propagation helpers (WithTraceContext, FromContext)
- Added child span creation for nested operations
- Comprehensive unit tests for trace context and HTTP client

Phase: PHASE-6
Priority: P2
Progress: 114/267 (42.70%)
2025-12-24 17:05:32 +01:00
..
http_client.go [BE-SVC-018] be-svc: Implement request tracing 2025-12-24 17:05:32 +01:00
trace_context.go [BE-SVC-018] be-svc: Implement request tracing 2025-12-24 17:05:32 +01:00
trace_context_test.go [BE-SVC-018] be-svc: Implement request tracing 2025-12-24 17:05:32 +01:00