import "go.opentelemetry.io/otel/exporters/trace/zipkin"
Package zipkin contains an OpenTelemetry tracing exporter for Zipkin.
This package is currently in a pre-GA phase. Backwards incompatible changes may be introduced in subsequent minor version releases as we work to track the evolving OpenTelemetry specification and user feedback.
InstallNewPipeline instantiates a NewExportPipeline with the recommended configuration and registers it globally.
func NewExportPipeline(collectorURL, serviceName string, opts ...Option) (*sdktrace.TracerProvider, error)
NewExportPipeline sets up a complete export pipeline with the recommended setup for trace provider
type Exporter struct {
// contains filtered or unexported fields
}
Exporter exports SpanSnapshots to the zipkin collector. It implements the SpanBatcher interface, so it needs to be used together with the WithBatcher option when setting up the exporter pipeline.
NewRawExporter creates a new Zipkin exporter.
ExportSpans exports SpanSnapshots to a Zipkin receiver.
Shutdown stops the exporter flushing any pending exports.
type Option func(*options)
Option defines a function that configures the exporter.
WithClient configures the exporter to use the passed HTTP client.
WithLogger configures the exporter to use the passed logger.
WithSDK sets the SDK config for the exporter pipeline.
Package zipkin imports 18 packages (graph) and is imported by 4 packages. Updated 2021-01-21. Refresh now. Tools for package owners.