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 6f66c73 commit ddbd371Copy full SHA for ddbd371
packages/core/src/utils/spanUtils.ts
@@ -24,5 +24,5 @@ export function spanToTraceContext(span: Span): TraceContext {
24
* Convert a Span to a Sentry trace header.
25
*/
26
export function spanToTraceHeader(span: Span): string {
27
- return generateSentryTraceHeader(span.traceId, span.spanId, span.sampled);
+ return generateSentryTraceHeader(span.traceId, span.spanId, span.isRecording());
28
}
0 commit comments