You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref(tracing): Add necessary helpers for using propagation context on outgoing headers (#8434)
This PR adds:
1. A getter for `PropagationContext` on the scope
2. `generateSentryTraceHeader`, which will be used to dynamically create
`sentry-trace` headers, regardless of if there is a span or not
3. `getDynamicSamplingContextFromClient`, which is used to generate
dynamic sampling context from a client directly (instead of having to go
through a transaction)
This PR also updates `extractTraceparentData` and
`dynamicSamplingContextToSentryBaggageHeader` to be more liberal about
the values it takes so we can better accommodate the new flows we are
going to add.
Co-authored-by: Francesco Novy <[email protected]>
Copy file name to clipboardExpand all lines: packages/node-integration-tests/suites/express/sentry-trace/baggage-other-vendors-with-sentry-entries/test.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ test('should ignore sentry-values in `baggage` header of a third party vendor an
0 commit comments