Problem Statement
I have a need to manually apply the traceparent header to my application's outgoing network requests, and I want to use the traceId and spanId from the active sentry span. There is already a spanToTraceHeader() function exported by the library but it returns a sentry trace header, not a W3C standard traceparent header.
However, there is already a spanToTraceparentHeader() function right alongside it! But it's not exported from the library/ies. It would be great if this was exported so I don't have to generate the header mysekf.
Solution Brainstorm
Export the spanToTraceparentHeader() function alongside the spanToTraceHeader() function 🙂
Additional Context
Tip: React with 👍 to help prioritize this improvement. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Problem Statement
I have a need to manually apply the
traceparentheader to my application's outgoing network requests, and I want to use thetraceIdandspanIdfrom the active sentry span. There is already aspanToTraceHeader()function exported by the library but it returns a sentry trace header, not a W3C standardtraceparentheader.However, there is already a
spanToTraceparentHeader()function right alongside it! But it's not exported from the library/ies. It would be great if this was exported so I don't have to generate the header mysekf.Solution Brainstorm
Export the
spanToTraceparentHeader()function alongside thespanToTraceHeader()function 🙂Additional Context
Tip: React with 👍 to help prioritize this improvement. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it.