Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
*/
13
export
function
generateSpanId(): string {
14
return
uuid4().substring(16);
15
}
Callers
12
getTraceContextFromScope
Function · 0.90
spanToTraceContext
Function · 0.90
generateSentryTraceHeader
Function · 0.90
generateTraceparentHeader
Function · 0.90
apply
Function · 0.90
constructor
Method · 0.90
constructor
Method · 0.90
applyScopeToEvent
Function · 0.90
sampler.test.ts
File · 0.90
startNewTrace
Function · 0.90
applyScopeToEvent
Function · 0.90
setup
Function · 0.85
Calls
1
uuid4
Function · 0.90
Tested by
no test coverage detected