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

Method EmitTrace

internal/telemetry/log_exporter.go:23–26  ·  view source on GitHub ↗
(trace types.TraceRecord)

Source from the content-addressed store, hash-verified

21}
22
23func (e *LogExporter) EmitTrace(trace types.TraceRecord) {
24 log.Printf("telemetry=trace trace_id=%s span_id=%s name=%s start=%d end=%d labels=%v",
25 trace.TraceID, trace.SpanID, trace.Name, trace.StartUnix, trace.EndUnix, trace.Labels)
26}
27
28func (e *LogExporter) StatusSummary() map[string]any {
29 return map[string]any{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected