Source File
exporter.go
Belonging Package
go.pact.im/x/traces/batchtraces
package batchtracesimport ()// Exporter sends a batch of finished span records to a downstream destination.// Implementations are synchronous and perform a single attempt; retries and// backoff are composed by wrapping Exporter.type Exporter interface {// Export sends batch to the destination.Export(ctx context.Context, batch []traces.Record) error}// ExporterFunc is a function that implements the [Exporter] interface.type ExporterFunc func(ctx context.Context, batch []traces.Record) error// Export implements the [Exporter] interface.func ( ExporterFunc) ( context.Context, []traces.Record) error {return (, )}
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)