Skip to content

Commit bcb2d2d

Browse files
committed
feat(types): Add PropagationContext
1 parent 087819c commit bcb2d2d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/types/src/tracing.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1+
import type { DynamicSamplingContext } from './envelope';
2+
13
export type TracePropagationTargets = (string | RegExp)[];
4+
5+
export interface PropagationContext {
6+
traceId: string;
7+
spanId: string;
8+
parentSpanId: string;
9+
sampled: boolean;
10+
dsc: DynamicSamplingContext;
11+
}

0 commit comments

Comments
 (0)