| Crates.io | dogdata |
| lib.rs | dogdata |
| version | 0.3.0 |
| created_at | 2025-07-11 15:11:00.853742+00 |
| updated_at | 2025-07-13 14:45:09.824304+00 |
| description | A Rust telementy provider for Datadog |
| homepage | https://github.com/flashnetxyz/dogdata-rs |
| repository | https://github.com/flashnetxyz/dogdata-rs.git |
| max_upload_size | |
| id | 1748052 |
| size | 102,494 |
The lib is configurable via environment variables as following:
| env var | default value | description |
|---|---|---|
| DD_ENABLED | false | Enables the datadog exporter and trace_id/span_id on logs |
| DD_SERVICE | Datadog service name | |
| DD_AGENT_HOST | localhost | Datadog agent host |
| DD_AGENT_PORT | 8126 | Datadog agent port |
| RUST_LOG | info | |
| OTEL_LOG_LEVEL | debug |
This crate is a fork of datadog-tracing with updated dependencies and adjusted span base names for greater compatibility.
The original datadog-tracing lib was highly inspired on ddtrace crate,
which is also a glue between tracing + opentelemetry + datadog.
The main difference is that it exportes using the opentelemetry_otlp exporter, and this one uses opentelemetry_datadog,
so there is no need to configure your datadog agent to receive traces via OTLP and the default datadog APM works as expected!