You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(app): show RED metrics on the trace search results view
For a trace source in results mode, replace the single count histogram above
the results with a Throughput / Errors / Duration trio:
- Throughput counts spans (bars). Duration shows Avg / p95 / p99 over the raw
Duration column, with the unit applied at display from the source precision.
- Errors toggles between rate and volume. Rate is countIf/count as a percent
line, capped at 100%. Volume groups error spans by status and renders them as
bars, so clicking a bar filters the results to that status; this keeps the
per-status drill-down the count histogram had.
- The three charts are DBTimeCharts under a shared sync scope (synced hover
cursor) and use the dashboard tile card header. A RED/Heatmap switch in the
stats row flips to the same heatmap tile the dashboard renders, and resets to
RED when the source changes.
- Aggregations are over raw columns (count, countIf, quantile/avg) so
materialized views can satisfy them; ratio and unit conversion happen at the
display layer. Aggregation builders live in a pure, unit-tested module.
- Adds an opt-in compactXAxisLabels (edge-anchor first/last x labels) and
yAxisMaxDomain (cap the y-axis while auto-scaling below it) to the shared
time chart, both covered by focused unit tests.
Logs and session sources keep the existing histogram.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Show RED metrics (Throughput, Errors, Duration) above the trace search results instead of the single count histogram. The three charts share a synced hover cursor, Errors toggles between rate and volume, and a RED/Heatmap switch flips the area to the duration heatmap. Logs and other sources keep the existing histogram.
0 commit comments