Crate datadog_tracing
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
.
Re-exports§
pub use init::init;
Modules§
- An event formatter to emit events in a way that Datadog can correlate them with traces.
- Shutdown utilities.
- Trace and layer builders to export traces to the Datadog agent.
Functions§
- Shut down the current tracer provider. This will invoke the shutdown method on all span processors. span processors should export remaining spans before return