• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nbari / pg_exporter / 18800822326
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 25 Oct 2025 08:49AM UTC
Jobs 1
Files 51
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Oct 2025 08:43AM UTC coverage: 86.67% (-0.4%) from 87.055%
18800822326

push

github

nbari
feat: add bloat metrics to stat_user_tables collector

Add two derived metrics to help identify bloated tables:
- pg_stat_user_tables_bloat_ratio: ratio of dead to total tuples (0.0-1.0)
- pg_stat_user_tables_dead_tuple_size_bytes: estimated reclaimable space

These metrics are computed from existing pg_stat_user_tables data
(n_live_tup, n_dead_tup, table_size_bytes) without additional queries,
making it easier to identify tables needing vacuum and prioritize by
impact.

Example alerts:
- High bloat ratio: pg_stat_user_tables_bloat_ratio > 0.2
- Large waste: pg_stat_user_tables_dead_tuple_size_bytes > 1073741824

38 of 64 new or added lines in 2 files covered. (59.38%)

1 existing line in 1 file now uncovered.

3979 of 4591 relevant lines covered (86.67%)

33.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
70.16
-0.78% tests/collectors/stat/user_tables.rs
12
61.76
-1.0% src/collectors/stat/user_tables.rs

Coverage Regressions

Lines Coverage ∆ File
1
61.76
-1.0% src/collectors/stat/user_tables.rs
Jobs
ID Job ID Ran Files Coverage
1 18800822326.1 25 Oct 2025 08:49AM UTC 51
86.67
GitHub Action Run
Source Files on build 18800822326
  • Tree
  • List 51
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18800822326
  • 3caf1fe7 on github
  • Prev Build on develop (#18790798593)
  • Next Build on develop (#18800876695)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc