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

nbari / pg_exporter / 34334254169
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: sandbox
DEFAULT BRANCH: main
Ran 09 Sep 2026 09:29AM 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 08:03AM UTC coverage: 89.779% (+0.004%) from 89.775%
34334254169

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, and add the 0.20.0 changelog
entry noting the remaining FreeBSD limitation.

Fix #36

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

7 existing lines in 3 files now uncovered.

19922 of 22190 relevant lines covered (89.78%)

481.01 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
1
94.02
-0.13% src/collectors/system/process.rs
1
77.97
0.0% tests/collector_safety.rs
Jobs
ID Job ID Ran Files Coverage
1 34334254169.1 09 Sep 2026 09:29AM UTC 125
89.78
GitHub Action Run
Source Files on build 34334254169
  • Tree
  • List 125
  • Changed 7
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34334254169
  • d8cc0d55 on github
  • Prev Build on main (#34246638362)
  • Next Build on develop (#34334734710)
  • 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