MCPcopy
hub / github.com/CherryHQ/cherry-studio / TraceCache

Interface TraceCache

packages/mcp-trace/trace-core/core/traceCache.ts:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { ReadableSpan } from '@opentelemetry/sdk-trace-base'
2
3export interface TraceCache {
4 createSpan: (span: ReadableSpan) => void
5 endSpan: (span: ReadableSpan) => void
6 clear: () => void
7}

Callers

nothing calls this directly

Implementers 1

SpanCacheServicesrc/main/services/SpanCacheService.ts

Calls

no outgoing calls

Tested by

no test coverage detected