API Design · Senior · Question 37 of 75
Why propagate W3C traceparent headers through APIs?
- 1To authenticate clients
- 2To version the API
- ✓Correct answer: So one request can be traced across gateways, services and queues, showing where time and errors come from
Explanation
OpenTelemetry uses W3C Trace Context by default. Accept it from trusted callers and pass it downstream.