pub struct Traces {
pub enabled: bool,
pub internal_port: u16,
pub probabilistic_sampler_sampling_percentage: f64,
pub string_interner_size: NonZeroUsize,
pub enable_compute_top_level_by_span_kind: bool,
pub ignore_missing_datadog_fields: bool,
}Expand description
OTLP trace ingestion settings.
Fields§
§enabled: boolWhether OTLP trace ingestion is enabled.
internal_port: u16Internal port the OTLP trace receiver forwards to.
probabilistic_sampler_sampling_percentage: f64Percentage of OTLP traces the OTLP receiver keeps when the APM probabilistic sampler is disabled.
The receiver turns this into a sampling rate and reports that rate on every OTLP trace as _dd.otlp_sr, even
when the APM probabilistic sampler makes the sampling decision. Values outside (0, 100), and NaN, normalize to a
receiver rate of 1.0. Explicit sampling priorities and other samplers still apply.
Defaults to 100. Lower it to reduce OTLP trace volume when the APM probabilistic sampler is disabled.
string_interner_size: NonZeroUsizeNon-zero byte budget for the OTLP trace context interner. (not in Datadog Agent config schema)
Defaults to 512 KiB and cannot exceed 1 GiB.
enable_compute_top_level_by_span_kind: boolWhether top-level spans are computed from span kind on OTLP traces. (not in Datadog Agent config schema)
ignore_missing_datadog_fields: boolWhether spans missing intake-required fields are ingested rather than rejected. (not in Datadog Agent config schema)