Crate tide_tracing

Source
Expand description

§tide-tracing

License Latest version Latest Docs downloads-badge

A simple middleware for tide using the tracing crate for logging.

tide-tracing in action

§Why

tide uses log in its default logging middleware. When using tracing-log most of the information from tide is lost. This crate provides a middleware that exposes all that information to tracing directly while also improving the structure of the logs using span!.

tide-tracing uses opentelemetry conventional trace field names by default.

§Docs

Structs§

TraceMiddleware
Log all incoming requests and responses with tracing spans.