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

macro tracing-datadog-macros

Collection of convenience macros to use with Datadog tracing

1 unstable release

new 0.0.2 Dec 17, 2024

#225 in Profiling

Download history 103/week @ 2024-12-12

103 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.2–3.5MB
~56K SLoC