File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,14 @@ export class Scope implements ScopeInterface {
532
532
return this ;
533
533
}
534
534
535
+ /**
536
+ * @inheritdoc
537
+ */
538
+ public setPropagationContext ( context : PropagationContext ) : this {
539
+ this . _propagationContext = context ;
540
+ return this ;
541
+ }
542
+
535
543
/**
536
544
* This will be called after {@link applyToEvent} is finished.
537
545
*/
Original file line number Diff line number Diff line change @@ -187,4 +187,9 @@ export interface Scope {
187
187
* Add data which will be accessible during event processing but won't get sent to Sentry
188
188
*/
189
189
setSDKProcessingMetadata ( newData : { [ key : string ] : unknown } ) : this;
190
+
191
+ /**
192
+ * Add propagation context to the scope, used for distributed tracing
193
+ */
194
+ setPropagationContext ( context : PropagationContext ) : this;
190
195
}
You can’t perform that action at this time.
0 commit comments