(trace types.TraceRecord)
| 75 | } |
| 76 | |
| 77 | func (e *OTLPHTTPExporter) EmitTrace(trace types.TraceRecord) { |
| 78 | e.enqueue("traces", map[string]any{ |
| 79 | "trace_id": trace.TraceID, |
| 80 | "span_id": trace.SpanID, |
| 81 | "name": trace.Name, |
| 82 | "start_unix": trace.StartUnix, |
| 83 | "end_unix": trace.EndUnix, |
| 84 | "labels": trace.Labels, |
| 85 | }) |
| 86 | } |
| 87 | |
| 88 | func (e *OTLPHTTPExporter) StatusSummary() map[string]any { |
| 89 | e.mu.Lock() |