Re-exports§
pub use builder::SpanBuilder;pub use builder::agent as build_agent;pub use builder::llm_call as build_llm_call;pub use builder::tool as build_tool;pub use capture::CaptureConfig;pub use capture::capture_enabled;pub use capture::capture_json;pub use capture::capture_policy;pub use capture::init_capture;pub use capture::redact_text;pub use context::SpanContext;pub use context::current_span_context;pub use context::scope_current;pub use events::EventBuilder;pub use events::event;pub use hitl::HitlResponse;pub use hitl::get_pending_approvals;pub use hitl::register_approval;pub use hitl::resolve_approval;pub use replay::ReplayConfig;pub use replay::init_replay;pub use serde_json;pub use uuid;
Modules§
- builder
- capture
- Content capture.
- context
- Ambient span context.
- eval
- events
- Intra-span event recording.
- hitl
- redactor
- replay
- semconv
- Shared OpenTelemetry GenAI semantic-convention attribute keys.
Structs§
- Blob
Hash - BlobRef
- Checkpoint
Record - Cost
Estimate - EventId
- Event
Record - A point-in-time event recorded within a span. Events carry their parent
span and an ordering
seqso an event stream (retries, budget checks, guardrail trips, REPL steps) survives without collapsing into many tiny spans. - Local
Config - Null
Store - A
TraceStorethat discards every span and event. Lets integrators compile tracing in but disable it at runtime (init_custom(Arc::new(NullStore))) without their owncfgshims. - Redaction
Result - RunId
- Session
Id - SpanId
- Span
Record - Token
Usage - TraceId
- Trace
Record
Enums§
- Capture
Policy - Event
Kind - Kind of an intra-span event — a point-in-time occurrence within a span’s lifetime (a retry, a budget check, a guardrail trip, an REPL step), as opposed to a span, which has a duration.
- Redaction
Status - Replay
Mode - Side
Effect Policy - Span
Status - Trace
Weft Span Kind