vector/sinks/datadog/traces/
mod.rs

1//! The Datadog Traces [`vector_lib::sink::VectorSink`]
2//!
3//! This module contains the [`vector_lib::sink::VectorSink`] instance responsible for taking
4//! a stream of [`vector_lib::event::Event`], partition them following the right directions and
5//! sending them to the Datadog Trace intake.
6//! This module use the same protocol as the official Datadog trace-agent to
7//! submit traces to the Datadog intake.
8
9#[cfg(all(test, feature = "datadog-traces-integration-tests"))]
10mod integration_tests;
11#[cfg(test)]
12mod tests;
13
14pub(crate) mod apm_stats;
15mod config;
16mod request_builder;
17mod service;
18mod sink;
19
20#[allow(warnings, clippy::pedantic, clippy::nursery)]
21pub(crate) mod ddsketch_full {
22    include!(concat!(env!("OUT_DIR"), "/ddsketch_full.rs"));
23}
24
25#[allow(warnings)]
26pub(crate) mod dd_proto {
27    include!(concat!(env!("OUT_DIR"), "/dd_trace.rs"));
28}
29
30pub use self::config::DatadogTracesConfig;