#datadog #tracing #macro #collection #convenience #instrument #web

macro tracing-datadog-macros

Collection of convenience macros to use with Datadog tracing

1 unstable release

0.0.2 Dec 17, 2024

#224 in Profiling

Download history 74/week @ 2024-12-11 78/week @ 2024-12-18 8/week @ 2024-12-25 6/week @ 2025-01-01

166 downloads per month

Apache-2.0

11KB
159 lines

tracing-datadog-macros


lib.rs:

Collection of tracing macros

Example

use tracing_datadog_macros::instrument_web;

#[instrument_web(skip(self))]
async fn process_data(&self, data: Data) {
    // ...
}

Dependencies

~2–3MB
~55K SLoC