#tide #tracing #logging #middleware #open-telemetry #field-name

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

#214 in Debugging

Download history 74/week @ 2023-12-22 30/week @ 2023-12-29 38/week @ 2024-01-05 124/week @ 2024-01-12 294/week @ 2024-01-19 88/week @ 2024-01-26 8/week @ 2024-02-02 126/week @ 2024-02-09 323/week @ 2024-02-16 296/week @ 2024-02-23 529/week @ 2024-03-01 121/week @ 2024-03-08 104/week @ 2024-03-15 50/week @ 2024-03-22 95/week @ 2024-03-29 94/week @ 2024-04-05

354 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–22MB
~328K SLoC