Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyTracerOption ¶
type EmptyTracerOption struct{}
EmptyTracerOption does not alter the configuration. It can be embedded in another structure to build custom options.
This API is EXPERIMENTAL.
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func NewTracer ¶
func NewTracer(opts ...TracerOption) *Tracer
func (*Tracer) ApplyOptions ¶
func (o *Tracer) ApplyOptions(options ...TracerOption) *Tracer
type TracerExporterBuilder ¶
type TracerExporterBuilder interface {
Build(ctx context.Context) (sdktrace.SpanExporter, error)
}
type TracerOption ¶
type TracerOption interface {
// contains filtered or unexported methods
}
A TracerOption sets options.
func WithExporterBuilder ¶
func WithExporterBuilder(builder TracerExporterBuilder) TracerOption
type TracerOptionFunc ¶
type TracerOptionFunc func(*Tracer)
TracerOptionFunc wraps a function that modifies Client into an implementation of the TracerOption interface.
type TracerOptions ¶
type TracerOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.