Skip to main content

Install

Until the crate registry release is available, vendor the production artifact:

Configure once

Construct the layer inside a Tokio runtime:

Server-rendered HTML

Finite bodies with an exact bounded size can be instrumented. Streams and unknown-size bodies remain untouched. If an advertised safe body fails while being read, the middleware returns an explicit non-empty 500 instead of disguising the body failure as a success.

Verify

Send one request to each included surface, then verify the response contract and Setup telemetry. Call feedback.shutdown().await during graceful shutdown; it has a two-second bound and returns delivery failures. View the runnable Rust example