#open-telemetry

tide-tracing

A simple middleware for tide using the tracing crate for logging

15 releases

0.1.1 Oct 23, 2023
0.0.13 Oct 23, 2023
0.0.12 Aug 30, 2022
0.0.11 May 23, 2021
0.0.4 Jul 27, 2020

#189 in Profiling

Download history 91/week @ 2024-07-20 103/week @ 2024-07-27 401/week @ 2024-08-03 16/week @ 2024-08-10 35/week @ 2024-08-17 185/week @ 2024-08-24 90/week @ 2024-08-31 55/week @ 2024-09-07 58/week @ 2024-09-14 108/week @ 2024-09-21 186/week @ 2024-09-28 158/week @ 2024-10-05 94/week @ 2024-10-12 103/week @ 2024-10-19 113/week @ 2024-10-26 81/week @ 2024-11-02

431 downloads per month
Used in 2 crates

MIT/Apache

17KB
69 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

~10–21MB
~296K SLoC