Skip to content

How do you proxy frontend traces via a backend? #2996

Answered by martinkuba
triblondon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @triblondon, the web instrumentation is not as mature as Node, and if I had to guess it was not clear at the time what instrumentations should be there by default. Also async context propagation relies on Zone.js (unlike Node where it is part of the runtime), and Zone.js may not be compatible or desired with every type of web application. With that said, there definitely could be an SDK for web that initializes the web tracer provider with some defaults.

Also fyi, the Client-side SIG will likely work on a browser-optimized SDK in the near future.

As far as collecting the browser traces, I would recommend sending the data directly to a public Collector endpoint.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by triblondon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants