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

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

Functions