Skip to main content

Tracer

Defined in the trace module.
Rust AI Agent SDK Global tracer for convenience.

Fields

Methods

new

Create a new tracer.

add_exporter

Add an exporter. Parameters:

start_trace

Start a new trace. Parameters:

end_trace

End a trace and export. Parameters:

start_span

Start a span in a trace. Parameters:

end_span

End a span in a trace. Parameters:

trace_count

Get trace count.

Source

View on GitHub

praisonai/src/trace/mod.rs at line 382

Rust Tracing

Rust Telemetry