ROX-33979: external diagnostic stats fix#19859
Conversation
pg_stat_all_tables requires elevated privileges that external database instances may not grant. pg_stat_user_tables returns the same data for tables owned by the current user without requiring additional grants. Partially generated by AI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Skipping CI for Draft Pull Request. |
🚀 Build Images ReadyImages are ready for commit e037ba4. To use with deploy scripts: export MAIN_IMAGE_TAG=4.11.x-584-ge037ba4575 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19859 +/- ##
==========================================
- Coverage 49.60% 49.60% -0.01%
==========================================
Files 2763 2763
Lines 208339 208331 -8
==========================================
- Hits 103344 103336 -8
+ Misses 97330 97328 -2
- Partials 7665 7667 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/test gke-operator-e2e-tests |
|
@dashrews78: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Description
use pg_stat_user_tables for diagnostic bundle analyze stats
pg_stat_all_tables requires elevated privileges that external database
instances may not grant. pg_stat_user_tables returns the same data for
tables owned by the current user without requiring additional grants.
Partially generated by AI.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
User-facing documentation
Testing and quality
Automated testing
How I validated my change
spun up BYODB cluster and verified via the diagnostic bundle.