-
Notifications
You must be signed in to change notification settings - Fork 60
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
Improve how to work with multiple requests from the same page load #558
Comments
@jcarres-mdsol just a heads-up With the next Faro release we remove the otel document-load instrumentation from the default instruments in the web-tracing package. This is to reduce data sent. Faro brings it's own related instrumentation so the data is redundant. |
Hey @jcarres-mdsol this is very good and useful feedback. Thank you. Cheers, |
I think we may have lost the thread of this issue as I intended it. Let's say I log into my system and I'm in a home page with multiple widgets. Let's say they use React and call some API to render. This will create multiple These traces will then contain 1 browser span and whatever happens in the backend. Some alternative solutions:
|
Description
I am not sure if this is a bug or a feature request.
Currently visiting a URL will create one documentLoad trace, this trace will have many spans for resource load, javascript and css files. This looks great.
But this same page will then make many calls to the backend, each call is retrieving the information of a particular widget of which we have 20 in the page.
Each of these calls are each of these its own trace, each with a single span because we are yet to instrument the backend.
This is very difficult to work with. In Grafana/tempo we need to click one by one to know the url, even if we do
select(span.http.url)
the UI does not have real state enough to show us the relevant information.It is difficult having so many requests ongoing which come from what page.
It is also difficult to know what requests come from who. This is how it looks like
Were each of this contain 1 span.
I imagine if the backend were instrumented then each would contain a number of spans from backend services also.
Would it make more sense that all these calls show up in the documentLoad trace? If not, and probably not, how can we connect them to know they are part of the same page load?
The text was updated successfully, but these errors were encountered: