otel

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 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 added in v0.8.0

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

func NewInstrumenter

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

func (*Instrumenter) OnMessageDeserialized added in v0.8.0

func (o *Instrumenter) OnMessageDeserialized(ctx context.Context, message *hedwig.Message)

func (*Instrumenter) OnPublish added in v0.8.0

func (o *Instrumenter) OnPublish(ctx context.Context, message *hedwig.Message, attributes map[string]string) (context.Context, map[string]string, func())

func (*Instrumenter) OnReceive added in v0.8.0

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

Jump to

Keyboard shortcuts

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