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

nbari / pg_exporter / 34328014958
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: sandbox
DEFAULT BRANCH: main
Ran 09 Sep 2026 08:21AM 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.86% (+0.09%) from 89.775%
34328014958

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%)

15 existing lines in 5 files now uncovered.

19940 of 22190 relevant lines covered (89.86%)

485.8 hits per line

Uncovered Changes

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

Coverage Regressions

Lines Coverage ∆ File
6
85.76
4.3% tests/collectors/vacuum/progress.rs
4
97.15
-1.04% tests/collectors/locks/count.rs
3
95.21
-0.76% src/collectors/activity/connections.rs
1
96.51
-0.12% src/collectors/statements/pg_statements.rs
1
77.97
0.0% tests/collector_safety.rs
Jobs
ID Job ID Ran Files Coverage
1 34328014958.1 09 Sep 2026 08:21AM UTC 125
89.86
GitHub Action Run
Source Files on build 34328014958
  • Tree
  • List 125
  • Changed 12
  • Source Changed 4
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34328014958
  • d8cc0d55 on github
  • Prev Build on main (#34246638362)
  • Next Build on sandbox (#34610930191)
  • 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