#tide #tracing #middleware

tide-tracing

A simple middleware for tide using the tracing crate for logging

12 releases

0.0.12 Aug 30, 2022
0.0.11 May 23, 2021
0.0.9 Apr 12, 2021
0.0.8 Feb 3, 2021
0.0.4 Jul 27, 2020

#109 in Debugging

Download history 343/week @ 2022-08-14 140/week @ 2022-08-21 206/week @ 2022-08-28 379/week @ 2022-09-04 166/week @ 2022-09-11 180/week @ 2022-09-18 437/week @ 2022-09-25 504/week @ 2022-10-02 1105/week @ 2022-10-09 616/week @ 2022-10-16 437/week @ 2022-10-23 263/week @ 2022-10-30 303/week @ 2022-11-06 475/week @ 2022-11-13 188/week @ 2022-11-20 186/week @ 2022-11-27

1,165 downloads per month
Used in passcod-accord

MIT/Apache

15KB
55 lines

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

Dependencies

~7–13MB
~243K SLoC