Skip to content

Commit ad67471

Browse files
committed
WIP do not use custom getTraceData in OTEL???
1 parent ec4aa58 commit ad67471

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/opentelemetry/src/asyncContextStrategy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { startInactiveSpan, startSpan, startSpanManual, withActiveSpan } from '.
1212
import type { CurrentScopes } from './types';
1313
import { getScopesFromContext } from './utils/contextData';
1414
import { getActiveSpan } from './utils/getActiveSpan';
15-
import { getTraceData } from './utils/getTraceData';
1615
import { suppressTracing } from './utils/suppressTracing';
1716

1817
/**
@@ -104,7 +103,7 @@ export function setOpenTelemetryContextAsyncContextStrategy(): void {
104103
startInactiveSpan,
105104
getActiveSpan,
106105
suppressTracing,
107-
getTraceData,
106+
// getTraceData,
108107
// The types here don't fully align, because our own `Span` type is narrower
109108
// than the OTEL one - but this is OK for here, as we now we'll only have OTEL spans passed around
110109
withActiveSpan: withActiveSpan as typeof defaultWithActiveSpan,

0 commit comments

Comments
 (0)