Interface TraceExporter
- All Known Implementing Classes:
InMemoryTraceExporter
public interface TraceExporter
Interface for exporting spans to tracing backends.
Implementation notes
- Implementations should handle null or empty span lists gracefully - Implementations should be thread-safe - Implementations should not block indefinitely- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidexport(List<SpanManager.Span> spans) Export a batch of spans.voidshutdown()Shutdown the exporter and release any resources.
-
Method Details
-
export
Export a batch of spans.- Parameters:
spans- the spans to export (may be empty)
-
shutdown
void shutdown()Shutdown the exporter and release any resources.
-