kubernetes/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporter.go

var errAlreadyStarted

type Exporter

// ExportSpans exports a batch of spans.
func (e *Exporter) ExportSpans(ctx context.Context, ss []tracesdk.ReadOnlySpan) error {}

// Start establishes a connection to the receiving endpoint.
func (e *Exporter) Start(ctx context.Context) error {}

// Shutdown flushes all exports and closes all connections to the receiving endpoint.
func (e *Exporter) Shutdown(ctx context.Context) error {}

var _

// New constructs a new Exporter and starts it.
func New(ctx context.Context, client Client) (*Exporter, error) {}

// NewUnstarted constructs a new Exporter and does not start it.
func NewUnstarted(client Client) *Exporter {}

// MarshalLog is the marshaling function used by the logging system to represent this Exporter.
func (e *Exporter) MarshalLog() interface{}