feat: pg_stat_io screen (hotkey j/J) — count + time sub-screens (#006)#141
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e, add column priority, menu binding, width estimate Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Also sync user-spec: io_key is a visible md5 column (column hiding not supported by align). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ols by priority, consts in io.go, tighten align rationale Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…c naming Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…-18 constants) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…res) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…view reports Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…views Adding stat_io + stat_io_time (both NotRecordable) raises filterViews' dropped count by 2 on every version; wantV unchanged. Missed in the sandbox where the record package also fails on connection-refused, masking this pure-unit assertion. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ech debt, metrics, archive Update overview/architecture/patterns; add features-catalog + 3 ADRs + tech-debt [007]; spec reconciliation (io_key visible); metrics summary to docs/metrics/; archive feature dir. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature 006: pg_stat_io screen (flagship of 0.11.0)
New TUI screen for
pg_stat_io(PostgreSQL 16+) inpgcenter top— unified IO breakdown bybackend_type × object × context, shown as per-interval rates.What's new
pg_stat_statements):j— count screen (operations + KiB throughput); repeatjtoggles to timings.J— 2-item menu (pg_stat_io operations/pg_stat_io timings).op_bytes) vs PG 18 (nativeread_bytes/write_bytes/extend_bytes+object='wal'rows).io_keyfor cross-sample row matching (single-columnUniqueKey, likestatements_io).coalesce(...,0)on every diffed column (NULL-abort safety, ADR [005]); KiB via integer/1024.NotRecordable: true— record/report is a separate 0.11.0 feature.MinRequiredVersion = PostgresV16).Files
internal/query/io.go(+query.goconstantsPostgresV15–18),internal/view/view.go(views
stat_io/stat_io_time),top/{keybindings,menu,config_view,help}.go. +426/−4.Testing
menuStatIOitem count,statioNextViewtoggle,switchViewTowiring.*_bytes+object='wal'.make build✅ ·make lint✅ (0 findings) · feature-package tests ✅.Verification notes
object='wal'+ native bytes — gated by the CI PG18 job (not reproducible in the dev sandbox).Planning artifacts (user-spec → tech-spec → tasks → decisions → QA report) under
docs/features/006-feat-pg-stat-io/.🤖 Generated with Claude Code