pub struct Telemetry {
pub run_id: String,
pub agent_id: String,
pub agent_path: String,
pub trace_id: Option<String>,
pub log_level: String,
pub log_content: bool,
}Expand description
The correlation block stamped into the child’s logs, so every line a subtree emits can be joined back to the run and to its position in the tree.
Fields§
§run_id: String§agent_id: String§agent_path: String§trace_id: Option<String>§log_level: String§log_content: boolContent-capture policy: when true the child logs tool args and results,
not just their lengths. Off by default because those payloads routinely
carry sensitive data. Inherited from the parent’s --log-content.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Telemetry
impl<'de> Deserialize<'de> for Telemetry
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 Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnsafeUnpin for Telemetry
impl UnwindSafe for Telemetry
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