grafana / faro-web-sdk

The Grafana Faro Web SDK, part of the Grafana Faro project, is a highly configurable web SDK for real user monitoring (RUM) that instruments browser frontend applications to capture observability signals. Frontend telemetry can then be correlated with backend and infrastructure data for full-stack observability.
https://grafana.com/oss/faro/
Apache License 2.0
688 stars 62 forks source link

feat: collect tracecontext through server-timing for nav and resource timings #608

Closed cedricziel closed 2 weeks ago

cedricziel commented 3 weeks ago

Why

Create correlation between faro events for navigations by attaching a server-sent identifier

What

Extract server-timing contents and use it to add span context.

Enhance demo to send trace parent via server-timing.

Links

Checklist

Fixes: #452

codecapitano commented 3 weeks ago

@cedricziel please add a proper PR description. Also check the todo items if applicable