Skip to content

Conversation

@0xgouda
Copy link
Collaborator

@0xgouda 0xgouda commented Jan 7, 2026

  • Add indexes_size_b column to db_size metric
    • The column returns the total index size aggregated from pg_stat_user_indexes
  • Add new Total index size panel to Health Check dashboard

  • This is the first PR in a series of PRs that aim to improve the index dashboards
  • I think the Health Check dashboard panels need to be re-arranged in a more logical grouping row-by-row, putting relevant panels together, but this is to be done in a separate PR

Screenshots:
image


image

The column returns the total index size aggregated from
`pg_stat_user_indexes`
@coveralls
Copy link

coveralls commented Jan 7, 2026

Pull Request Test Coverage Report for Build 20780733018

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 74.573%

Totals Coverage Status
Change from base Build 20746606366: 0.0%
Covered Lines: 3971
Relevant Lines: 5325

💛 - Coveralls

@0xgouda 0xgouda requested a review from pashagolub January 7, 2026 10:51
@pashagolub pashagolub self-assigned this Jan 7, 2026
@pashagolub pashagolub added dashboards Grafana dashboards related metrics Metrics related issues labels Jan 7, 2026
Copy link
Collaborator

@pashagolub pashagolub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cool!

@0xgouda 0xgouda merged commit 59c4b1f into master Jan 7, 2026
9 checks passed
@0xgouda 0xgouda deleted the add-total-index-size-panel branch January 7, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboards Grafana dashboards related metrics Metrics related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants