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

[loadgenerator] - have traffic go through frontend-web #1303

Closed
puckpuck opened this issue Dec 19, 2023 · 1 comment
Closed

[loadgenerator] - have traffic go through frontend-web #1303

puckpuck opened this issue Dec 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@puckpuck
Copy link
Contributor

It would be desirable to have the load generator create traffic that shows the frontend-web service trace through to the backend.

There was an attempt to do this using Playwright, but that was pulled because the spans for frontend-web were not getting sent to the collector. This comment and the 3 subsequent ones point to potential issues with why it failed in the past and workarounds that can be implemented to alleviate this.

cc: @jordibisbal8 and @danielgblanco

@jordibisbal8
Copy link
Contributor

Hi @puckpuck, we have added a PR that now correctly exports the traces for the frontend-web service. The approach used was to use the baggage header with synthetic_request=true from the load generator. Then, the frontend uses a different OTC endpoint for the synthetic requests OTEL_COLLECTOR_NAME

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