MCPcopy Create free account
hub / github.com/freecodexyz/free-code / createNoopSpan

Function createNoopSpan

src/utils/telemetry/sessionTracing.ts:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19type SpanMetadata = Record<string, string | number | boolean>
20
21function createNoopSpan(): Span {
22 return {
23 setAttribute() {},
24 setAttributes() {},
25 addEvent() {},
26 end() {},
27 recordException() {},
28 }
29}
30
31let currentInteractionSpan: Span | null = null
32let currentToolSpan: Span | null = null

Callers 7

startInteractionSpanFunction · 0.85
startLLMRequestSpanFunction · 0.85
startToolSpanFunction · 0.85
startToolExecutionSpanFunction · 0.85
executeInSpanFunction · 0.85
startHookSpanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected