open-telemetry/opentelemetry-propagation-server-timing
Propagates OpenTelemetry trace context through the Server-Timing HTTP header, helping PHP applications correlate backend traces with browser and frontend requests for simpler debugging and performance analysis.
Server-Timing response header, connecting Laravel request traces to what users see in Chrome DevTools and RUM tooling.Server-Timing should be exposed on customer-facing APIs as a debuggability feature, or restricted to internal/partner endpoints due to information-leakage concerns.traceparent propagation.X-* timing headers.Executive summary: This is a low-cost, standards-based observability enhancement that connects backend Laravel traces to browser-visible timing. It helps teams answer “why is the page slow?” faster, shortens mean time to resolution, and makes performance conversations concrete by attributing latency to server vs. client. It builds on our existing OpenTelemetry investment with a small surface area and no application-logic changes.
Engineering summary: A Composer package that registers an OpenTelemetry propagator to enrich the Server-Timing response header. It should slot into existing OTel PHP configuration and Laravel middleware with minimal code, can be feature-flagged, and is easy to remove. Caveat: it is a low-adoption contrib module, so recommend a time-boxed pilot with security review of exposed timing data before production adoption.
How can I help you explore Laravel packages today?