* Get a sentry-trace header value for the given scope.
(scope: Scope)
| 88 | * Get a sentry-trace header value for the given scope. |
| 89 | */ |
| 90 | function scopeToTraceHeader(scope: Scope): string { |
| 91 | const { traceId, sampled, propagationSpanId } = scope.getPropagationContext(); |
| 92 | return generateSentryTraceHeader(traceId, propagationSpanId, sampled); |
| 93 | } |
| 94 | |
| 95 | function scopeToTraceparentHeader(scope: Scope): string { |
| 96 | const { traceId, sampled, propagationSpanId } = scope.getPropagationContext(); |
no test coverage detected