tracer

package
v0.0.99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 6 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL