Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate seamless correlation with Grafana Frontend Observability #1073

Open
cedricziel opened this issue Jul 31, 2024 · 0 comments
Open

Automate seamless correlation with Grafana Frontend Observability #1073

cedricziel opened this issue Jul 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cedricziel
Copy link

Is your feature request related to a problem? Please describe.

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.

grafana/faro-web-sdk@ce86005/packages/web-sdk/src/instrumentations/performance/navigation.test.ts#L96-L109

Describe alternatives you've considered

No response

Additional context

Our Java distro for OTel does it :) - grafana/grafana-opentelemetry-java#661

@marctc marctc added the enhancement New feature or request label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants