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

Function generateSpanId

packages/core/src/utils/propagationContext.ts:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * Generate a random, valid span ID.
12 */
13export function generateSpanId(): string {
14 return uuid4().substring(16);
15}

Callers 12

getTraceContextFromScopeFunction · 0.90
spanToTraceContextFunction · 0.90
applyFunction · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
applyScopeToEventFunction · 0.90
sampler.test.tsFile · 0.90
startNewTraceFunction · 0.90
applyScopeToEventFunction · 0.90
setupFunction · 0.85

Calls 1

uuid4Function · 0.90

Tested by

no test coverage detected