| Crates.io | libdd-telemetry |
| lib.rs | libdd-telemetry |
| version | 2.0.0 |
| created_at | 2025-11-17 16:53:52.742814+00 |
| updated_at | 2026-01-21 10:49:47.734573+00 |
| description | Telemetry client allowing to send data as described in https://docs.datadoghq.com/tracing/configure_data_security/?tab=net#telemetry-collection |
| homepage | https://github.com/DataDog/libdatadog/tree/main/libdd-telemetry |
| repository | https://github.com/DataDog/libdatadog/tree/main/libdd-telemetry |
| max_upload_size | |
| id | 1937202 |
| size | 162,983 |
Internal telemetry library for reporting Datadog library metrics and events.
libdd-telemetry provides telemetry collection and reporting for Datadog libraries, allowing them to report their own operational metrics, configuration, and errors back to Datadog.
config: Telemetry configurationdata: Telemetry data types and structuresinfo: System and host information gatheringmetrics: Metrics collection and aggregationworker: Background telemetry workerThe library collects and reports:
use libdd_telemetry::{build_host, data};
// Build host information
let host = build_host();
// Create telemetry data
let app = data::Application {
service_name: "my-service".to_string(),
env: Some("production".to_string()),
// ...
};
Automatically gathers: