MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / otelSnapshot

Function otelSnapshot

apps/cloud/src/observability/memory-metrics.ts:117–120  ·  view source on GitHub ↗
(maxQueueSize: number)

Source from the content-addressed store, hash-verified

115};
116
117const otelSnapshot = (maxQueueSize: number): OtelMetricsSnapshot => ({
118 ...otelMetrics,
119 maxQueueSize,
120});
121
122const snapshot = (now: number, maxQueueSize: number) => {
123 let oldestConnectionAgeMs = 0;

Callers 1

snapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected