Last updated: July 5, 2026
Derived Metrics
Time-series metrics Dash0 derives from coding agent spans for querying and visualization.
Derived metrics are aggregated time-series counters and histograms Dash0 computes from the raw spans your agents emit. These are not tags on individual spans—they are computed aggregations you query over time. Use them to build dashboards, track token consumption, and measure session characteristics.
For the raw span attributes you can group these metrics by, see Span Attributes.
| Metric | Type | What it measures |
|---|---|---|
dash0.gen_ai.cache_tokens.input | Counter | Input tokens served from the prompt cache. |
dash0.gen_ai.chats.duration | Histogram | Per-turn response latency. |
dash0.gen_ai.conversations | Counter | Sessions started. |
dash0.gen_ai.conversations.duration | Histogram | End-to-end session duration. |
dash0.gen_ai.tokens.input | Counter | Input tokens consumed. |
dash0.gen_ai.tokens.output | Counter | Output tokens generated. |
dash0.gen_ai.tool_calls | Counter | Tool invocations, with an error label for failures. |
dash0.gen_ai.tool_calls.duration | Histogram | Tool execution time, exposing _sum, _count, and _bucket for percentiles. |
Because the metrics carry the same labels as the spans, you can group any of them by repository, user, model, branch, or team. See Span Attributes for the complete list of grouping dimensions.
Further Reading
- Span Attributes: Complete list of span attributes available for grouping and filtering.
- Track Cost: See spend by model, team, and user.
- Track Adoption: Understand usage patterns and who's using AI coding tools.
- Explore Sessions: Drill into individual sessions to see detailed metrics.