MCPcopy Index your code
hub / github.com/codeaashu/claude-code / generateSpanId

Function generateSpanId

src/utils/telemetry/perfettoTracing.ts:179–181  ·  view source on GitHub ↗

* Generate a unique span ID

()

Source from the content-addressed store, hash-verified

177 * Generate a unique span ID
178 */
179function generateSpanId(): string {
180 return `span_${++spanIdCounter}`
181}
182
183/**
184 * Evict pending spans older than STALE_SPAN_TTL_MS.

Callers 4

startToolPerfettoSpanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected