You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `PropagationContext` represents the data from an incoming trace. It should be constructed from incoming trace data,
7
+
* usually represented by `sentry-trace` and `baggage` HTTP headers.
8
+
*
9
+
* There is always a propagation context present in the SDK (or rather on Scopes), holding at least a `traceId`. This is
10
+
* to ensure that there is always a trace we can attach events onto, even if performance monitoring is disabled. If
11
+
* there was no incoming `traceId`, the `traceId` will be generated by the current SDK.
12
+
*/
5
13
exportinterfacePropagationContext{
14
+
/**
15
+
* Either represents the incoming `traceId` or the `traceId` generated by the current SDK, if there was no incoming trace.
16
+
*/
6
17
traceId: string;
18
+
/**
19
+
* Represents the execution context of the current SDK. This acts as a fallback value to associate events with a
20
+
* particular execution context when performance monitoring is disabled.
21
+
*
22
+
* The ID of a current span (if one exists) should have precedence over this value when propagating trace data.
23
+
*/
7
24
spanId: string;
25
+
/**
26
+
* Represents the sampling decision of the incoming trace.
27
+
*
28
+
* The current SDK should not modify this value!
29
+
*/
8
30
sampled?: boolean;
31
+
/**
32
+
* The `parentSpanId` denotes the ID of the incoming client span. If there is no `parentSpanId` on the propagation
33
+
* context, it means that the the incoming trace didn't come from a span.
34
+
*
35
+
* The current SDK should not modify this value!
36
+
*/
9
37
parentSpanId?: string;
38
+
/**
39
+
* An undefined dsc in the propagation context means that the current SDK invocation is the head of trace and still free to modify and set the DSC for outgoing requests.
0 commit comments