Function tracing_actions_otlp::header_interceptor
source · pub fn header_interceptor(
headers: Vec<(&'static str, String)>
) -> Option<Box<dyn RequestInterceptor>>
Expand description
A convenience request interceptor for adding metadata.
List your (header, value) pairs and this interceptor will put them as metadata on all trace RPC calls.