pub struct RecorderConfig {
pub root: PathBuf,
pub max_buffered_rows: usize,
pub flush_interval: Duration,
pub max_rows_per_file: usize,
pub channel_capacity: usize,
}Expand description
Configuration used when spawning a ParquetRecorder.
Fields§
§root: PathBufDirectory where all flight recorder data will be stored.
max_buffered_rows: usizeMaximum number of rows buffered in-memory before forcing a flush.
flush_interval: DurationHow often to flush buffers when traffic is low.
max_rows_per_file: usizeMaximum number of rows per parquet file before starting a new file.
channel_capacity: usizeCapacity of the asynchronous channel accepting recorder events.
Trait Implementations§
Source§impl Clone for RecorderConfig
impl Clone for RecorderConfig
Source§fn clone(&self) -> RecorderConfig
fn clone(&self) -> RecorderConfig
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 RecorderConfig
impl Debug for RecorderConfig
Auto Trait Implementations§
impl Freeze for RecorderConfig
impl RefUnwindSafe for RecorderConfig
impl Send for RecorderConfig
impl Sync for RecorderConfig
impl Unpin for RecorderConfig
impl UnwindSafe for RecorderConfig
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