Crate opentelemetry_nats

Crate opentelemetry_nats 

Source

Structs§

NatsHeaderExtractor
A convenience type that wraps a NATS HeaderMap and implements the Extractor trait
NatsHeaderInjector
A convenience type that wraps a NATS HeaderMap and implements the Injector trait

Functions§

attach_span_context
A convenience function that will extract headers from a message and set the parent span for the current tracing Span. If you want to do something more advanced, use the NatsHeaderExtractor type directly