Conversation
…d-only insights - Replace the in-memory ring buffer with a SQLite-backed history store (WAL mode, auto_vacuum, redacted query text, age/count/disk-size-based pruning) so replay survives a restart - Recording now follows monitoring automatically instead of a separate time-capped start/stop action; replay window is selectable (1h-24h) with periodic-snapshot downsampling - Add prepared transaction, replication slot, long-running query, and unlogged table checks to Insights, plus temp file rate to the live dashboard stats - Add table-driven unit tests for every domain file with real decision logic (previously untested) - Fix a raw-query-text exposure gap in the new long-running-query collector to match the existing pg_stat_statements-only convention
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.
…d-only insights
What does this PR do
Why
How was this tested
go build ./... && go vet ./... && go test ./...passesnpx tsc -bpasses (if frontend changed)Checklist
CONTRIBUTING.md(no SQL outsideinfrastructure/postgres, no Postgres vocabulary indomain)CONTRIBUTING.md's note on this recurring bug class)SELECTagainst statistics views