pub struct ControlIpc {
pub auth_token_file_path: PathBuf,
pub ipc_cert_file_path: PathBuf,
pub cmd_port: u16,
pub vsock_addr: String,
pub grpc_max_message_size: usize,
pub remote_agent_string_interner_size_bytes: NonZeroUsize,
}Expand description
IPC and remote-agent connection parameters, read once at bootstrap before runtime authority exists and again from the authoritative configuration once it does.
Witnessed fields get their effective defaults during translation. The Saluki-only interner
budget uses its Rust Default.
Fields§
§auth_token_file_path: PathBufPath to the Agent authentication token file.
ADP sends the file contents as a bearer token to the Core Agent. Override this path only when the Core Agent uses a non-default token path, and configure both processes to use the same token.
Defaults to an empty path, which selects the platform-specific Agent authentication token path.
ipc_cert_file_path: PathBufPath to the shared Agent IPC mTLS identity file.
The PEM file contains the certificate and private key used by ADP and its IPC peers. Every peer must use the same identity because authentication requires an exact certificate match. Override this path only when the Core Agent uses a non-default identity path.
Defaults to an empty path, which selects ipc_cert.pem beside the resolved authentication token path.
cmd_port: u16TCP port the command API listens on.
Defaults to 5001.
vsock_addr: Stringvsock address used for guest/host IPC.
Defaults to empty, which reaches the Core Agent over TCP on localhost at cmd_port.
grpc_max_message_size: usizeMaximum gRPC message size, in bytes, accepted over the remote-agent IPC channel.
Defaults to 134217728 (128 MiB).
remote_agent_string_interner_size_bytes: NonZeroUsizeByte budget for the remote-agent workload metadata string interner. (not in Datadog Agent config schema)
The workload provider interns entity IDs and tags into a single allocation of this size, taken at startup and
charged in full against the memory bounds ceiling. A workload whose tag cardinality outgrows the budget starts
failing to intern, which drops the affected tags and entity updates and increments the collectors’
intern_failed_total counters.
Defaults to 524288 (512 KiB). An explicit 0 fails the configuration load. Change it when tuning ADP itself;
operators are not expected to.
Trait Implementations§
Source§impl Clone for ControlIpc
impl Clone for ControlIpc
Source§fn clone(&self) -> ControlIpc
fn clone(&self) -> ControlIpc
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more