tide-tracing

Crates.iotide-tracing
lib.rstide-tracing
version0.1.1
sourcesrc
created_at2020-07-26 20:11:39.055403
updated_at2023-10-23 12:42:59.345798
descriptionA simple middleware for tide using the tracing crate for logging.
homepage
repositoryhttps://github.com/ethanboxx/tide-tracing
max_upload_size
id269850
size58,182
Ethan Brierley (eopb)

documentation

https://docs.rs/tide-tracing/

README

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

Commit count: 92

cargo fmt