otel

package
v2.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

Extract extracts the remote trace context from the message if exists, and set it onto ctx

func Inject

func Inject(ctx context.Context, msg *azservicebus.Message)

func MessageAttributes added in v2.6.0

func MessageAttributes(message *azservicebus.ReceivedMessage) []attribute.KeyValue

func MessageCarrierAdapter

func MessageCarrierAdapter(message *azservicebus.Message) propagation.TextMapCarrier

MessageCarrierAdapter wraps a azservicebus.Message so that it implements the propagation.TextMapCarrier interface

func ReceivedMessageCarrierAdapter

func ReceivedMessageCarrierAdapter(message *azservicebus.ReceivedMessage) propagation.TextMapCarrier

ReceivedMessageCarrierAdapter wraps a servicebus ReceivedMessage so that it implements the TextMapCarrier interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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