Skip to content

Lite: Add memory clerks tab with picker-driven chart (#145)#225

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/memory-clerks-tab
Feb 22, 2026
Merged

Lite: Add memory clerks tab with picker-driven chart (#145)#225
erikdarlingdata merged 1 commit intodevfrom
feature/memory-clerks-tab

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Added Memory Clerks sub-tab under Memory in Lite, after the Overview tab
  • Picker panel (left side) lets you select which clerk types to chart, with search, "Top Clerks" (auto-selects top 5), and "Clear All"
  • Trend chart shows MB over time per selected clerk type with hover tooltips
  • Summary footer shows Non-BP Total and Top Non-BP Clerk (excludes buffer pool)
  • Added missing DuckDB index on memory_clerks(server_id, collection_time)

The collector and data service already existed — this was purely UI work plus two new queries (GetDistinctMemoryClerkTypesAsync, GetMemoryClerkTrendAsync).

Closes #145

Test plan

  • Build succeeds with 0 errors, 0 warnings
  • Memory Clerks tab renders with picker and chart
  • Selecting/deselecting clerk types updates chart
  • Top Clerks and Clear All buttons work
  • Search filters clerk type list
  • Summary footer shows correct non-BP values
  • Hover tooltips show MB values

🤖 Generated with Claude Code

Memory clerks data was already being collected but had no UI. Added a
Memory Clerks sub-tab under Memory with a type picker (matching the
wait stats pattern), trend chart showing MB over time per clerk type,
and a summary footer showing non-buffer-pool total and top clerk.

Also added missing DuckDB index on memory_clerks(server_id, collection_time).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit e94e0b7 into dev Feb 22, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/memory-clerks-tab branch February 23, 2026 21:07
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