Skip to main content

TraceContextData

Defined in the extras module.
Rust AI Agent SDK Trace context for tracking operations

Fields

NameTypeDescription
trace_idStringTrace ID
span_idStringSpan ID
parent_span_idOption<String>Parent span ID
attributesHashMap<StringAttributes
serde_json:Value>Attributes

Methods

new

fn new() -> Self
Create a new trace context

Source

View on GitHub

praisonai/src/parity/extras.rs at line 655