opentelemetry

package
v0.0.0-...-5abe684 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OTFacility

type OTFacility struct {
	Tracing *Tracing

	TestShutdownError error // testing purpose only
	// contains filtered or unexported fields
}

OTFacility holds OT related objects

func NewOTFacility

func NewOTFacility(config *config.OpenTelemetryConfig) (facility *OTFacility, err error)

NewOTFacility initializes OT facilities

func (*OTFacility) Shutdown

func (ot *OTFacility) Shutdown(ctx context.Context) error

Shutdown closes OT

type Tracing

type Tracing struct {
	Tracer ottrace.Tracer
	// contains filtered or unexported fields
}

Tracing contains OT tracing resources

func (*Tracing) Shutdown

func (setup *Tracing) Shutdown(ctx context.Context) error

Shutdown OT tracer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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