pub struct ControlConfiguration {Show 15 fields
pub enabled: bool,
pub dogstatsd: bool,
pub checks: bool,
pub otlp: bool,
pub standalone_mode: bool,
pub remote_agent_enabled: bool,
pub use_new_config_stream_endpoint: bool,
pub api_listen_address: ListenAddress,
pub secure_api_listen_address: ListenAddress,
pub logging: Logging,
pub ipc: ControlIpc,
pub aggregator_stop_timeout: u64,
pub stop_timeout: u64,
pub memory_limit: u64,
pub memory_slop_factor: f64,
}Expand description
Topology gates and orchestration decisions. Static for the process lifetime.
Fields§
§enabled: boolMaster switch for the whole data plane; when false, no pipelines are built.
dogstatsd: boolWhether the DogStatsD metrics pipeline is built.
checks: boolWhether the checks metrics pipeline is built. (not in Datadog Agent config schema)
otlp: boolWhether the OTLP pipeline is built.
standalone_mode: boolWhether standalone mode is active, running without a core Agent. (not in Datadog Agent config schema)
remote_agent_enabled: boolWhether the process registers itself with the core Agent as a remote agent.
use_new_config_stream_endpoint: boolWhether to subscribe to core Agent configuration updates over the newer config-stream endpoint.
api_listen_address: ListenAddressAddress the unsecured control API listens on.
secure_api_listen_address: ListenAddressAddress the TLS-secured control API listens on.
logging: LoggingLogging configuration, read before runtime authority exists.
ipc: ControlIpcBootstrap IPC and remote-agent connection parameters.
aggregator_stop_timeout: u64Grace period, in seconds, the aggregator is given to flush before shutdown.
stop_timeout: u64Grace period, in seconds, for the whole topology to shut down. (not in Datadog Agent config schema)
memory_limit: u64Process memory ceiling, in bytes. (not in Datadog Agent config schema)
memory_slop_factor: f64Fraction of the memory limit held back as headroom during memory accounting. (not in Datadog Agent config schema)
Implementations§
Source§impl ControlConfiguration
impl ControlConfiguration
Sourcepub fn requires_datadog_forwarder(&self) -> bool
pub fn requires_datadog_forwarder(&self) -> bool
Derived decision the topology builder reads. The outbound Datadog forwarder is needed only if some pipeline that emits to Datadog is enabled.
Trait Implementations§
Source§impl Clone for ControlConfiguration
impl Clone for ControlConfiguration
Source§fn clone(&self) -> ControlConfiguration
fn clone(&self) -> ControlConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more