Skip to main content

Module opentelemetry

Module opentelemetry 

Source
Expand description

Utilities for tracing over NATS

Structs§

NatsHeaderExtractor 🔒
OTel Extractor to extract tracing contexts from NATS headers
NatsHeaderInjector 🔒
OTel Injector to inject tracing contexts to NATS headers

Functions§

extract_otel_context 🔒
Extracts the OpenTelemetry context carried in a NATS message’s headers.
span_from_nats_message
Extract the current span from a NATS message.
span_to_nats_headers
Create NATS message headers, that include the current tracing span