pub struct Forwarder {Show 21 fields
pub apikey_validation_interval: i64,
pub backoff_base: f64,
pub backoff_factor: f64,
pub backoff_max: f64,
pub connection_reset_interval: u64,
pub flush_to_disk_mem_ratio: f64,
pub high_prio_buffer_size: usize,
pub http_protocol: ForwarderHttpProtocol,
pub max_concurrent_requests: usize,
pub num_workers: usize,
pub outdated_file_in_days: u32,
pub recovery_interval: u32,
pub recovery_reset: bool,
pub retry_queue_capacity_time_interval_sec: u64,
pub retry_queue_max_size: Option<u64>,
pub retry_queue_payloads_max_size: Option<u64>,
pub stop_timeout: u64,
pub storage_max_disk_ratio: f64,
pub storage_max_size_in_bytes: u64,
pub storage_path: PathBuf,
pub timeout: u64,
}Expand description
Forwarder retry, backoff, worker, and disk-storage settings.
Fields§
§apikey_validation_interval: i64How often, in seconds, API keys are checked for validity against the intake.
backoff_base: f64Base delay, in seconds, for retry backoff.
backoff_factor: f64Multiplier applied to the backoff delay after each failed attempt.
backoff_max: f64Maximum retry backoff delay, in seconds.
connection_reset_interval: u64How often, in seconds, idle connections are reset.
flush_to_disk_mem_ratio: f64Fraction of the in-memory retry queue at which payloads spill to disk.
high_prio_buffer_size: usizeCapacity of the high-priority send buffer.
http_protocol: ForwarderHttpProtocolHTTP protocol the forwarder negotiates with the intake.
max_concurrent_requests: usizeMaximum number of in-flight requests to the intake.
num_workers: usizeNumber of forwarder worker tasks.
outdated_file_in_days: u32Age, in days, after which payloads queued on disk are discarded.
recovery_interval: u32Number of retry cycles between attempts to recover a failed endpoint.
recovery_reset: boolWhether the recovery interval resets after a successful send.
retry_queue_capacity_time_interval_sec: u64Retry-queue capacity expressed as seconds of buffered payloads.
retry_queue_max_size: Option<u64>Maximum number of payloads held in the in-memory retry queue.
retry_queue_payloads_max_size: Option<u64>Maximum total size, in bytes, of payloads held in the retry queue.
stop_timeout: u64Grace period, in seconds, the forwarder is given to drain before shutdown.
storage_max_disk_ratio: f64Fraction of available disk the on-disk retry store may use.
storage_max_size_in_bytes: u64Maximum size, in bytes, of the on-disk retry store.
storage_path: PathBufDirectory where retry payloads are persisted to disk.
timeout: u64Per-request timeout, in seconds, for calls to the intake.