otel

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

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

func New

func New(opts Options) *Middleware

func (*Middleware) DispatchMiddleware

func (m *Middleware) DispatchMiddleware() natasks.DispatchMiddleware

func (*Middleware) Extract

func (m *Middleware) Extract(ctx context.Context, carrier natasks.TextMapCarrier) context.Context

func (*Middleware) Inject

func (m *Middleware) Inject(ctx context.Context, carrier natasks.TextMapCarrier)

func (*Middleware) ProcessMiddleware

func (m *Middleware) ProcessMiddleware(queue string) natasks.ProcessMiddleware

type Options

type Options struct {
	TracerProvider      trace.TracerProvider
	Propagator          propagation.TextMapPropagator
	InstrumentationName string
}

Jump to

Keyboard shortcuts

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