MCPcopy Create free account
hub / github.com/InferCore/InferCore / EmitTrace

Method EmitTrace

internal/server/server_test.go:1107–1111  ·  view source on GitHub ↗
(trace types.TraceRecord)

Source from the content-addressed store, hash-verified

1105func (e *captureTelemetryExporter) EmitMetric(_ string, _ float64, _ map[string]string) {}
1106func (e *captureTelemetryExporter) EmitEvent(_ types.Event) {}
1107func (e *captureTelemetryExporter) EmitTrace(trace types.TraceRecord) {
1108 e.mu.Lock()
1109 defer e.mu.Unlock()
1110 e.traces = append(e.traces, trace)
1111}
1112
1113func (e *captureTelemetryExporter) Traces() []types.TraceRecord {
1114 e.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected