MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / shouldGenerateTrace

Method shouldGenerateTrace

scripts/new-relic.runtime.js:2990–2995  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2988 return s && n !== s && (o.d.tk = s), btoa((0, k.A)(o))
2989 }
2990 shouldGenerateTrace(e) {
2991 return (
2992 this.agentRef.init?.distributed_tracing?.enabled &&
2993 this.isAllowedOrigin(e)
2994 )
2995 }
2996 isAllowedOrigin(e) {
2997 var t = !1
2998 const r = this.agentRef.init?.distributed_tracing

Callers 1

generateTracePayloadMethod · 0.95

Calls 1

isAllowedOriginMethod · 0.95

Tested by

no test coverage detected