Expand description
Metrics, tracing spans and the dashboard description a running Turnframe application reports through.
Modules§
- attrs
- The attribute keys this crate emits, in one place.
- composite
- Combining observers, and the observer tests assert against.
- dashboard
- The reliability dashboard of spec §26.3, as data.
- metrics
- Metric emission through the
metricsfacade (spec §26.2, §28). - otel
- OpenTelemetry bridge (feature
otel). - tracing
- Structured tracing: the end-to-end trace of one turn (spec §26.1).
Structs§
- Composite
Observer - Fans every signal out to several observers, in registration order.
- Content
Recorder - Records prompt and completion text on a provider-call span.
- Dashboard
- A data-only description of the reliability dashboard.
- Grouping
Span Processor - A span processor that copies the trace grouping out of OpenTelemetry baggage onto every span that starts underneath it.
- Metric
Doc - One row of the metric catalogue: everything the README table publishes.
- Metrics
Observer - An
Observerthat turns signals intometricscounters and histograms. - Otel
Observer - An
Observerthat records signals on OpenTelemetry instruments. - Panel
- One panel: what it answers, which metrics feed it, and against what it is normalized.
- Provider
Call - One provider call, described with the OpenTelemetry GenAI semantic
conventions (
gen_ai.*). - Recorded
Signal - One signal as a
RecordingObserverkept it. - Recording
Observer - An observer that keeps everything it was given, for assertions in tests.
- Trace
Grouping - Vendor-neutral grouping of spans: which session, which end user, which tags, which environment, which release.
- Tracing
Observer - An
Observerthat emits one structuredtracingevent per signal. - Turn
Identifiers - The stable identifiers of one turn (spec §26.1).
Enums§
- Content
Role - Which half of a conversation a piece of content is.
- Label
Key - Name of a metric dimension.
- PanelId
- One panel of the reliability dashboard (spec §26.3).
- Panel
Source - Where a panel’s numbers come from.
- Pipeline
Stage - One stage of the turn pipeline, used as the name of a child span.
Traits§
- Content
Redactor - Decides what, if anything, of a prompt or completion may be recorded.