pub struct AggregationConfig {
    pub enabled: bool,
    pub buffer_size: usize,
    pub batch_size: usize,
    pub batch_timeout_ms: u64,
    pub deduplication_enabled: bool,
    pub deduplication_window_secs: u64,
    pub max_entry_size_bytes: usize,
    pub destinations: Vec<LogDestination>,
    pub compression_enabled: bool,
    pub retry_config: RetryConfig,
}Expand description
Configuration for log aggregation
Fields§
§enabled: boolEnable log aggregation
buffer_size: usizeBuffer size for log entries
batch_size: usizeBatch size for forwarding
batch_timeout_ms: u64Batch timeout in milliseconds
deduplication_enabled: boolEnable log deduplication
deduplication_window_secs: u64Deduplication window in seconds
max_entry_size_bytes: usizeMaximum log entry size in bytes
destinations: Vec<LogDestination>Forwarding destinations
compression_enabled: boolEnable compression for forwarding
retry_config: RetryConfigRetry configuration
Trait Implementations§
Source§impl Clone for AggregationConfig
 
impl Clone for AggregationConfig
Source§fn clone(&self) -> AggregationConfig
 
fn clone(&self) -> AggregationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for AggregationConfig
 
impl Debug for AggregationConfig
Source§impl Default for AggregationConfig
 
impl Default for AggregationConfig
Source§impl<'de> Deserialize<'de> for AggregationConfig
 
impl<'de> Deserialize<'de> for AggregationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AggregationConfig
impl RefUnwindSafe for AggregationConfig
impl Send for AggregationConfig
impl Sync for AggregationConfig
impl Unpin for AggregationConfig
impl UnwindSafe for AggregationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more