Documentation ¶
Overview ¶
Deprecated: This package was moved to exporters/zipkin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallNewPipeline ¶ added in v0.10.0
InstallNewPipeline instantiates a NewExportPipeline with the recommended configuration and registers it globally.
func NewExportPipeline ¶ added in v0.10.0
func NewExportPipeline(collectorURL string, opts ...Option) (*sdktrace.TracerProvider, error)
NewExportPipeline sets up a complete export pipeline with the recommended setup for trace provider
Types ¶
type Exporter ¶
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.
func NewRawExporter ¶ added in v0.10.0
NewRawExporter creates a new Zipkin exporter.
func (*Exporter) ExportSpans ¶
ExportSpans exports SpanSnapshots to a Zipkin receiver.
type Option ¶
type Option func(*options)
Option defines a function that configures the exporter.
func WithClient ¶
WithClient configures the exporter to use the passed HTTP client.
func WithLogger ¶
WithLogger configures the exporter to use the passed logger.
func WithSDKOptions ¶ added in v0.19.0
func WithSDKOptions(tpOpts ...sdktrace.TracerProviderOption) Option
WithSDKOptions configures options passed to the created TracerProvider.