pub type DefaultTracingLayer<F> = TracingLayer<F, DefaultInstrumentor>;Expand description
A TracingLayer pre-configured with the default backend instrumentor.
This is the most convenient way to construct the Tower layer for Lambda
invocation instrumentation. The F type parameter is the flush callback
type (typically inferred).
§Examples
use awssdk_instrumentation::lambda::layer::DefaultTracingLayer;
// Flush callback — called after each invocation future drops.
let layer = DefaultTracingLayer::new(|| {
// flush the tracer provider here
});Aliased Type§
pub struct DefaultTracingLayer<F> { /* private fields */ }