Documentation
¶
Overview ¶
Package empty provides a no-op OpenTelemetry span exporter used to keep the classic output mode uniform (a real TracerProvider with a silent exporter).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct{}
Exporter implements sdktrace.SpanExporter and drops all spans.
func NewEmptyExporter ¶
func NewEmptyExporter() *Exporter
NewEmptyExporter returns a span exporter that does not output, store, or forward any span data.
func (*Exporter) ExportSpans ¶
ExportSpans discards the spans.
Click to show internal directories.
Click to hide internal directories.