Crate ddtrace

Source
Expand description

Utilities to integrate Rust services with Datadog using opentelemetry, tracing, and other open source libraries.

This is an opinionated crate providing the building blocks for a setup that works with Datadog. It has been tested with services using axum hosted on AWS ECS, with propagation working when requests are made to other services using reqwest.

Modules§

formatter
An event formatter to emit events in a way that Datadog can correlate them with traces.
tracer
Trace and layer builders to export traces to the Datadog agent.

Functions§

set_global_propagator
Sets the Datadog propagator as the global propagator.