pub struct TracesIntake {
pub apm_dd_url: String,
pub additional_endpoints: HashMap<String, Vec<String>>,
pub opw_intake: AltTracesIntake,
pub vector_intake: AltTracesIntake,
pub skip_main_endpoint: bool,
pub connection_reset_interval: Duration,
}Expand description
Routing of trace and APM stats payloads.
Traces are routed on their own, so none of this affects metrics, logs, or events.
Fields§
§apm_dd_url: StringIntake URL that replaces the primary endpoint for traces and APM stats
(apm_config.apm_dd_url).
Empty when unset.
additional_endpoints: HashMap<String, Vec<String>>Additional dual-shipping endpoints for traces and APM stats, keyed by intake URL with their API keys
(apm_config.additional_endpoints).
opw_intake: AltTracesIntakeAlternate traces intake for the Observability Pipelines Worker, used in place of the default intake when enabled.
vector_intake: AltTracesIntakeAlternate traces intake for Vector, used in place of the default intake when enabled.
skip_main_endpoint: boolWhether traces and APM stats skip the primary traces endpoint and go only to
additional_endpoints (apm_config.traces_send_to_main_endpoint is false).
This is the inverse of the setting, so that the default sends to the primary endpoint.
connection_reset_interval: DurationHow long the traces forwarder keeps a connection before resetting it (apm_config.connection_reset_interval).
Duration::ZERO, the default, never resets a connection. A negative value is read as zero, with a warning.
As in the trace-agent, this replaces forwarder_connection_reset_interval for traces and APM stats.
Trait Implementations§
Source§impl Clone for TracesIntake
impl Clone for TracesIntake
Source§fn clone(&self) -> TracesIntake
fn clone(&self) -> TracesIntake
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more