exporter

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL