pub struct TracerConfig {
pub enabled: bool,
pub detail_level: DetailLevel,
pub outputs: TracerOutputs,
pub metrics_collector: Option<Arc<dyn MetricsCollector>>,
}Expand description
Configuration for the Tracer EIP (Enterprise Integration Pattern).
This struct defines how message tracing should be performed throughout
Camel routes. Use CamelContext::set_tracer_config to apply configuration
programmatically, or configure via Camel.toml as shown in the module documentation.
Fields§
§enabled: bool§detail_level: DetailLevel§outputs: TracerOutputs§metrics_collector: Option<Arc<dyn MetricsCollector>>Metrics collector for recording route-level metrics. Not serializable - injected at runtime.
Trait Implementations§
Source§impl Clone for TracerConfig
impl Clone for TracerConfig
Source§fn clone(&self) -> TracerConfig
fn clone(&self) -> TracerConfig
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 TracerConfig
impl Debug for TracerConfig
Source§impl Default for TracerConfig
impl Default for TracerConfig
Source§fn default() -> TracerConfig
fn default() -> TracerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TracerConfig
impl<'de> Deserialize<'de> for TracerConfig
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 TracerConfig
impl !RefUnwindSafe for TracerConfig
impl Send for TracerConfig
impl Sync for TracerConfig
impl Unpin for TracerConfig
impl UnsafeUnpin for TracerConfig
impl !UnwindSafe for TracerConfig
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