Module tonic

Source

Structs§

MetadataInjector 🔒

Functions§

accept_trace
Trace context propagation: associate the current span with the otlp trace of the given request, if any and valid. This only sets the parent trace if the otlp feature is also enabled.
send_trace
Trace context propagation: send the trace context by injecting it into the metadata of the given request. This only injects the current span if the otlp feature is also enabled.