Skip to main content

Crate trybench_sdk

Crate trybench_sdk 

Source
Expand description

Bounded server tracing for Bench. Capture never runs paid evaluations. Call flush().await at a request or shutdown boundary to deliver events.

Structs§

Application
Bench
BenchPlatform
EvaluationContext
EvaluationOptions
EvaluationReport
EvaluationSummary
ExternalSpan
A finished span produced by another tracer: an OpenTelemetry exporter or a framework callback. IDs, timing and parent links come from that tracer, so Bench rebuilds the agent/model/tool tree the framework actually executed. This is the framework-agnostic path to SDK-first discovery.
Options
PlatformError
PlatformFile
PlatformRequest
SimulationSession
Span
An unfinished or canceled span records an error when dropped. No error text is captured.
SpanInput
Stats
SystemCase
TraceContext

Functions§

infer_span_kind
Map OpenTelemetry GenAI semantic conventions to a Bench span kind. Every supported framework that emits GenAI spans uses these attributes, so discovery does not depend on the framework or language.

Type Aliases§

Redactor