Skip to content

What are the possible reasons that tracing headers are not added to request? #9852

Closed Answered by gajus
gajus asked this question in Q&A
Discussion options

You must be logged in to vote

I am posting this to save others time, but TLDR is that only possibility is that you are tree-shaking the Sentry bundle.

We had __SENTRY_TRACING__ constant set in production build and that was causing traces not work in production.

Took a few hours of debugging!

Replies: 1 comment

Comment options

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