-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Manual Trace Propagation missing in docs #11127
Comments
Auto-routing to @getsentry/product-owners-issues for triage ⏲️ |
Routing to @getsentry/product-owners-sdks-web-frontend for triage ⏲️ |
Routing to @getsentry/product-owners-sdks-web-backend for triage ⏲️ |
regarding standards and compatibility across stacks and vendors @cleptric i believe there was an issue that came up which forced us to rollback some of the changes |
We need better controls how people can opt-out of traces being continued from an unknown 3rd party before we can implement the W3C |
FWIW we have these docs here: https://docs.sentry.io/platforms/javascript/guides/react/tracing/trace-propagation/custom-instrumentation/#inject-tracing-information-into-outgoing-requests which explain how to extract trace propagation data. IMHO that should cover manual use cases as well? |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Core or SDK?
Platform/SDK
Which part? Which one?
Browser JS and Node JS
Description
We show Automatica Trace Propagation where the sentry sdk adds a
sentry-trace
header for you. What about if you need to obtain this sentry-trace id yourself and do something with it?What if you have trace id's coming from a different vendor sdk or trace system and you want to set it as a custom tag in the sentry sdk?
Suggested Solution
"You're either propagating a trace into Sentry, or you're propagating a trace out of sentry and into somewhere else. Here are both techniques 1,2"
and this is an option too:
Something I wrote to a customer, he siad it made sense, "There are sdk callback functions that execute right before the sentry_sdk sends the event to Sentry, and during that callback you can analyze the event and obtain properties off of it (like sentry-traceId). beforeSendTransaction"
The text was updated successfully, but these errors were encountered: