Crate tide_tracing
source ·Expand description
tide-tracing
A simple middleware for tide
using the tracing
crate for logging.
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
- Log all incoming requests and responses with tracing spans.