pub struct ExportSettings {
pub batch_size: usize,
pub queue_capacity: usize,
pub flush_interval: Duration,
pub metrics_interval: Duration,
pub timeout: Duration,
pub max_retries: u32,
pub initial_backoff: Duration,
}Expand description
Tuning knobs.
Fields§
§batch_size: usizeSpans per request.
queue_capacity: usizeSpans buffered before new ones are dropped.
flush_interval: DurationMaximum delay before a partial batch is sent.
metrics_interval: DurationInterval between metric pushes.
timeout: DurationPer-request timeout.
max_retries: u32Retries after the first attempt for retryable failures.
initial_backoff: DurationFirst retry delay (doubled each retry, capped at 30 s).
Trait Implementations§
Source§impl Clone for ExportSettings
impl Clone for ExportSettings
Source§impl Debug for ExportSettings
impl Debug for ExportSettings
Auto Trait Implementations§
impl Forget for ExportSettings
impl Freeze for ExportSettings
impl Move for ExportSettings
impl RefUnwindSafe for ExportSettings
impl Send for ExportSettings
impl Sync for ExportSettings
impl Unpin for ExportSettings
impl UnsafeUnpin for ExportSettings
impl UnwindSafe for ExportSettings
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