pub struct NodeObservation {
pub span_id: String,
pub run_id: String,
pub conversation_id: String,
pub node_type: String,
pub started_at: DateTime<Utc>,
pub duration_ms: u64,
pub data: NodeObservationData,
pub metadata: HashMap<String, Value>,
}Expand description
Observation data captured during node execution
Contains all input/output information needed for tracing. The structure varies based on node type (LLM vs Tool).
Fields§
§span_id: StringUnique identifier for this observation/span
run_id: StringRun identifier for the overall graph execution
conversation_id: StringConversation/thread identifier
node_type: StringNode type: “llm” or “tool”
started_at: DateTime<Utc>Timestamp when node execution started
duration_ms: u64Duration of node execution in milliseconds
data: NodeObservationDataInput/output data specific to node type
metadata: HashMap<String, Value>Optional metadata
Trait Implementations§
Source§impl Clone for NodeObservation
impl Clone for NodeObservation
Source§fn clone(&self) -> NodeObservation
fn clone(&self) -> NodeObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeObservation
impl Debug for NodeObservation
Source§impl<'de> Deserialize<'de> for NodeObservation
impl<'de> Deserialize<'de> for NodeObservation
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 NodeObservation
impl RefUnwindSafe for NodeObservation
impl Send for NodeObservation
impl Sync for NodeObservation
impl Unpin for NodeObservation
impl UnsafeUnpin for NodeObservation
impl UnwindSafe for NodeObservation
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