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

nbari / pg_exporter / 34322190537
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 09 Sep 2026 07:14AM UTC
Jobs 1
Files 125
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

09 Sep 2026 07:06AM UTC coverage: 89.761% (-0.01%) from 89.775%
34322190537

push

github

nbari
Fix process-group memory counting shared_buffers once per backend

The default rss source summed statm resident pages across all postgres
processes, so shared_buffers was charged to every backend that touched
it: 312 GiB reported on a 93.8 GiB host with 208 backends (issue #36).

Read resident minus shared from the same statm line instead, so the
gauge reports the group's private memory — the part that actually grows
with work_mem, sorts and hash joins. Same single read per process, same
O(processes) cost, and the pss opt-in keeps working with the private
figure as its fallback.

Also update the CLI help, collector docs, Grafana panel and legend to
describe the private-memory semantics.

Fix #36

21 of 23 new or added lines in 2 files covered. (91.3%)

12 existing lines in 5 files now uncovered.

19918 of 22190 relevant lines covered (89.76%)

450.14 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
77.97
0.0% tests/collector_safety.rs

Coverage Regressions

Lines Coverage ∆ File
5
79.8
-1.66% tests/collectors/vacuum/progress.rs
3
95.21
-0.76% src/collectors/activity/connections.rs
2
90.6
-0.28% tests/collectors/statements/pg_statements.rs
1
95.84
-0.28% src/collectors/stat/user_tables.rs
1
77.97
0.0% tests/collector_safety.rs
Jobs
ID Job ID Ran Files Coverage
1 34322190537.1 09 Sep 2026 07:14AM UTC 125
89.76
GitHub Action Run
Source Files on build 34322190537
  • Tree
  • List 125
  • Changed 11
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34322190537
  • d71fb7b6 on github
  • Prev Build on main (#34246638362)
  • Next Build on sandbox (#34323802832)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc