Skip to content

Scale query log browsing and dashboard insights - #89

Merged
drudge merged 2 commits into
mainfrom
codex/query-log-scale
Aug 28, 2026
Merged

drudge merged 2 commits into
mainfrom
codex/query-log-scale

Conversation

@drudge

@drudge drudge commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • maintain minute-level query-log rollups and normalized search keys transactionally
  • load dashboard rankings after the primary page and aggregate wide/custom ranges on demand
  • use stable ID cursors for log paging, preserve known totals, and count only new rows during live refreshes
  • keep upgraded databases and partial-minute retention boundaries exact

Verification

  • env GOCACHE=/private/tmp/sable-go-cache go tool mage verify
  • 100k-event insight benchmark: 17.8 ms with rollups vs 261 ms from the raw log (about 14.6x faster)
  • local demo: dashboard insight swap and forward/reverse cursor paging verified with 1,400 events

@drudge
drudge merged commit aad68f0 into main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant