We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6e295 commit 668c276Copy full SHA for 668c276
packages/opentelemetry/src/propagator.ts
@@ -264,16 +264,6 @@ function getExistingBaggage(carrier: unknown): string | undefined {
264
}
265
266
267
-/** Try to get the existing sentry-trace header so we can merge this in. */
268
-function getExistingSentryTrace(carrier: unknown): string | undefined {
269
- try {
270
- const sentryTrace = (carrier as Record<string, string | string[]>)[SENTRY_TRACE_HEADER];
271
- return Array.isArray(sentryTrace) ? sentryTrace.join(',') : sentryTrace;
272
- } catch {
273
- return undefined;
274
- }
275
-}
276
-
277
/**
278
* It is pretty tricky to get access to the outgoing request URL of a request in the propagator.
279
* As we only have access to the context of the span to be sent and the carrier (=headers),
0 commit comments