Documentation ¶
Overview ¶
Package natscarrier provides an OTEL TextMapCarrier implementation for NATS messages.
The carrier can be used to inject and extract trace/span IDs from a nats.Msg via go.opentelemetry.io/otel/propagation.TextMapPropagator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header nats.Header
Header implements the go.opentelemetry.io/otel/propagation.TextMapCarrier interface using a nats.Header held in memory as a storage
Click to show internal directories.
Click to hide internal directories.