Skip to main content

trace_layer

Function trace_layer 

Source
pub fn trace_layer() -> HttpTraceLayer
Expand description

Build a tower_http request tracing layer with the library’s default HTTP classification (5xx responses and transport errors count as failures; everything else is a success span).