File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
packages/opentelemetry/src Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -264,16 +264,6 @@ function getExistingBaggage(carrier: unknown): string | undefined {
264
264
}
265
265
}
266
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
267
/**
278
268
* It is pretty tricky to get access to the outgoing request URL of a request in the propagator.
279
269
* As we only have access to the context of the span to be sent and the carrier (=headers),
You can’t perform that action at this time.
0 commit comments