Traces vs. Logs
Traces
show the complete journey of a request through your stack and are composed of nested spans.Logs
focus on discrete interactions—ideal for measuring responses and running detections.
Trace Anatomy
Traces are built from spans. Each span represents a meaningful unit of work (model call, tool invocation, retrieval step, etc.). Quotient follows the OpenInference semantic conventions so span names and attributes are consistent across frameworks and providers. A typical trace contains:- A root span that represents the overall request.
- Child spans for agent reasoning steps, tool calls, or vector database operations.
- Attributes and events describing inputs, outputs, and metrics captured during execution.
Where Traces Appear
Navigate to the Traces tab in the Quotient UI to explore recorded interactions. Filter byapp_name
, environment
, time range, and tags to spot regressions or drill into a single user journey.
Getting Started
- Initialize the tracer with your app details and optional detections.
- Record traces using the decorator or OpenInference integrations.
- Extend traces with custom spans and vector database instrumentation.
- Retrieve traces programmatically for automation or post-processing.
Next: Initialize the Tracer