Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExporter ¶
func NewExporter(config *ExporterConfig, customFunc func() (sdktrace.SpanExporter, error)) (tracerProvider *sdktrace.TracerProvider, propagator propagation.TextMapPropagator, err error)
NewExporter is an absolute function with @customFunc to create a spec exporter
Types ¶
type DefaultExporter ¶
type DefaultExporter struct { TracerProvider *sdktrace.TracerProvider Propagator propagation.TextMapPropagator }
func (*DefaultExporter) GetPropagator ¶
func (e *DefaultExporter) GetPropagator() propagation.TextMapPropagator
func (*DefaultExporter) GetTracerProvider ¶
func (e *DefaultExporter) GetTracerProvider() *sdktrace.TracerProvider
type Exporter ¶
type Exporter interface { GetTracerProvider() *sdktrace.TracerProvider GetPropagator() propagation.TextMapPropagator }
Click to show internal directories.
Click to hide internal directories.