otel

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instrumenter

type Instrumenter struct {
	// contains filtered or unexported fields
}

func NewInstrumenter

func NewInstrumenter(tracerProvider trace.TracerProvider, propagator propagation.TextMapPropagator) *Instrumenter

func (*Instrumenter) OnDispatch

func (o *Instrumenter) OnDispatch(ctx context.Context, taskName string, attributes map[string]string) (context.Context, map[string]string, func())

func (*Instrumenter) OnReceive

func (o *Instrumenter) OnReceive(ctx context.Context, attributes map[string]string) (context.Context, func())

func (*Instrumenter) OnTask

func (o *Instrumenter) OnTask(ctx context.Context, taskName string)

Jump to

Keyboard shortcuts

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