pub struct CorrelationConfig {
pub enabled: bool,
pub max_active_requests: usize,
pub max_completed_requests: usize,
pub request_timeout_secs: u64,
pub track_resources: bool,
pub cross_service_enabled: bool,
pub correlation_headers: CorrelationHeaders,
}
Expand description
Configuration for correlation tracking
Fields§
§enabled: bool
Enable correlation tracking
max_active_requests: usize
Maximum number of active requests to track
max_completed_requests: usize
Maximum number of completed requests to keep in history
request_timeout_secs: u64
Request timeout for cleanup (in seconds)
track_resources: bool
Enable detailed resource tracking
cross_service_enabled: bool
Enable cross-service correlation
correlation_headers: CorrelationHeaders
Header names for correlation propagation
Trait Implementations§
Source§impl Clone for CorrelationConfig
impl Clone for CorrelationConfig
Source§fn clone(&self) -> CorrelationConfig
fn clone(&self) -> CorrelationConfig
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 CorrelationConfig
impl Debug for CorrelationConfig
Source§impl Default for CorrelationConfig
impl Default for CorrelationConfig
Source§impl<'de> Deserialize<'de> for CorrelationConfig
impl<'de> Deserialize<'de> for CorrelationConfig
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 CorrelationConfig
impl RefUnwindSafe for CorrelationConfig
impl Send for CorrelationConfig
impl Sync for CorrelationConfig
impl Unpin for CorrelationConfig
impl UnwindSafe for CorrelationConfig
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