MCPcopy Create free account
hub / github.com/TanStack/ai / recordOtelHistogram

Function recordOtelHistogram

testing/e2e/src/lib/otel-capture.ts:108–113  ·  view source on GitHub ↗
(
  captureId: string,
  entry: CapturedHistogram,
)

Source from the content-addressed store, hash-verified

106}
107
108export function recordOtelHistogram(
109 captureId: string,
110 entry: CapturedHistogram,
111): void {
112 bucketFor(captureId).histograms.push(entry)
113}

Callers 1

recordFunction · 0.90

Calls 2

bucketForFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected