MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / setPropagationContext

Method setPropagationContext

packages/core/src/scope.ts:673–676  ·  view source on GitHub ↗

* Add propagation context to the scope, used for distributed tracing

(context: PropagationContext)

Source from the content-addressed store, hash-verified

671 * Add propagation context to the scope, used for distributed tracing
672 */
673 public setPropagationContext(context: PropagationContext): this {
674 this._propagationContext = context;
675 return this;
676 }
677
678 /**
679 * Get propagation context from the scope, used for distributed tracing

Callers 15

clearMethod · 0.95
_createRouteSpanFunction · 0.80
setupFunction · 0.80
linkTracesFunction · 0.80
scope.test.tsFile · 0.80
feedback.test.tsFile · 0.80
internal.test.tsFile · 0.80
setupClientFunction · 0.80
traceData.test.tsFile · 0.80
internal.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

setupClientFunction · 0.64