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

Not all traces are starting from faro browser instrumentation #758

Open
prajon84 opened this issue Dec 6, 2024 · 2 comments
Open

Not all traces are starting from faro browser instrumentation #758

prajon84 opened this issue Dec 6, 2024 · 2 comments

Comments

@prajon84
Copy link

prajon84 commented Dec 6, 2024

I have implemented faro browser instrumentation on my front end app.
front end app connects to the backend api and all.

As per my understanding, all the traces should be starting from the browser tracing.

However, I always have traces that do not start from browser side.

Can it be issue related to faro configuration, sampling, or implementation ?

@cedricziel
Copy link
Contributor

Can you provide an example for this behavior?

With tracing, only requests that originate from xhr and fetch APIs will have a mapped frontend span; initial loads cannot cause a root-span.

@prajon84
Copy link
Author

Yeah, I have sth like this:
where the left side trace is not starting from browser but after the app which the browser hits.
But, the right side trace is correctly starting from the browser and then the app:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants