Repository navigation
Release v1.5.11 — overview KPI row and layout (#183) - #273
Conversation
…-v1.5.10 Sync develop with main after v1.5.10
Align the overview page with the v1.5.0 dashboard mockup by exposing compare sparklines, optional Node $request latency/Apdex, and a top-errors / recent-sessions grid. Co-authored-by: Cursor <[email protected]>
Apply started_at and event created_at upper bounds so sessions outside the metrics window no longer appear in sparklines and volume charts. Co-authored-by: Cursor <[email protected]>
Add metricsTopErrorGroups so the grid matches recent sessions when the time picker is unselected, while paginated error lists keep the list window. Co-authored-by: Cursor <[email protected]>
Rank top errors by in-window occurrence counts and bound environment-filtered session totals to the same started_at and event window as sparklines. Co-authored-by: Cursor <[email protected]>
Bound environment-filtered session EXISTS to the metrics window and omit Apdex sparkline points when buckets have no request samples. Co-authored-by: Cursor <[email protected]>
Apply per-window environment/release EXISTS in summary scalars and sparklines so headline counts match filtered list totals. Co-authored-by: Cursor <[email protected]>
Skip compare deltas when the prior window has no timed $request rows and use null avg-response sparkline buckets instead of zero. Co-authored-by: Cursor <[email protected]>
…ompare-183 Overview: KPI compare, sparklines, and latency (#183)
Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.
| listPageSize, | ||
| series, | ||
| sessionDurationSeries, | ||
| kpiSparklines: sparklinesFromTimeSeries(series), |
There was a problem hiding this comment.
KPI sparklines truncate metrics window
Medium Severity
Overview KPI headline counts use the full metrics window, but mini sparklines are built from chart series that query only from overviewChartQuerySince (capped at 120 buckets). On long ranges, events/errors/sessions totals and request latency scalars can include data the sparklines omit, so the row misrepresents the same period.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.
| const stroke = color ?? colors.error; | ||
| const chartData = data.map((p) => ({ value: p.count })); | ||
| const hasData = chartData.some((p) => p.value > 0); | ||
| const hasData = chartData.some((p) => p.value != null && p.value > 0); |
There was a problem hiding this comment.
Apdex sparkline hidden at zero
Low Severity
MiniSparkline treats a series as empty unless some point is strictly greater than zero. Apdex bucket values can legitimately be 0 (all frustrated samples), so a KPI can show 0.0% Apdex while the sparkline renders “—” instead of a flat zero trend.
Reviewed by Cursor Bugbot for commit 3bc7da6. Configure here.


Summary
developtomainas v1.5.11 (patch).Test plan
pnpm lint && pnpm test && pnpm buildmain→ Railway deployv1.5.11and publish GitHub releasedevelopwithmainDatabase
No new migrations.
Made with Cursor