Documentation
¶
Overview ¶
Package exporter defines the interface for exporting trace spans.
An Exporter receives completed spans and sends them to a tracing backend or storage system. Implementations of the Exporter interface handle the specifics of how and where span data is transmitted.
Use this package when you need to define a custom span export destination.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter interface {
// Export sends a completed span to the tracing backend.
// Implementations should manage their own context.
// No error is returned because the trace package does not handle them.
Export(s *span.Span)
}
Exporter defines the interface for exporting spans to a tracing backend.
Click to show internal directories.
Click to hide internal directories.