-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Feature Request
Grafana Frontend Observability can correlate individual page - loads and asynchronous backend calls automatically with Application Observability. The RUM and APM correlation need is pretty popular to diagnose slow loading sites and generally correlate across product areas.
However creating strong correlation, the server needs to send a response header of server-timing, containing the traceparent field of the root span. Implementing this in every service is very expensive. We should look for a solution that decreases the time to value for users and automatically inject the current traceparent for http responses.
Describe the solution you'd like:
Inject a server-timing header containing the current traceparent in its description so that the Faro Web SDK can capture it from the browser performance API.
Describe alternatives you've considered.
Which alternative solutions or features have you considered?
Additional Context
Sprungs OTel distribution does it here https://github.com/signalfx/splunk-otel-dotnet/blob/main/src/Splunk.OpenTelemetry.AutoInstrumentation/Traces.cs
Relevant change in Java OpenTelemetry grafana/grafana-opentelemetry-java#661