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

nbari / pg_exporter / 29270694679 / 1
89%
main: 91%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 13 Jul 2026 05:36PM UTC
Files 118
Run time 7s
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

13 Jul 2026 05:27PM UTC coverage: 90.83% (+2.9%) from 87.883%
29270694679.1

push

github

nbari
add --collector.system host CPU/memory collector (#26)

Opt-in, Linux/FreeBSD-only collector exposing node_exporter-style host
metrics for the machine running the exporter. CPU time is a single
per-core counter, pg_system_cpu_seconds_total{cpu,mode} (mirroring
node_cpu_seconds_total), alongside load average and memory/swap byte
gauges. It reads only the OS (/proc/stat on Linux, the kern.cp_times
sysctl on FreeBSD, sysinfo for memory/load) and never queries
PostgreSQL, so it adds zero query or connection load.

- Per-core CPU by default; aggregate host utilization is derived in
  PromQL (sum without(cpu) ...). This gives per-core hotspot visibility
  while cardinality stays bounded per host (modes x cores) and does not
  scale with the number of databases.
- Warns at startup when enabled against a non-loopback DSN (co-located
  only; misleading on managed services such as RDS/Aurora).
- Adds a collapsed "Host CPU / Memory" Grafana dashboard row, the
  collector README, a main-README entry, a CHANGELOG [0.17.0] entry, and
  --collector.system to the "just watch" recipe.
- Makes the dashboard "Memory & Swap Usage" panel easier to read: total
  memory renders as a dashed reference line while used-memory and swap
  fills are no longer merged into one stacked gradient.
- Refreshes Cargo.lock (mio, rustls, zmij patch updates) via cargo update.

16453 of 18114 relevant lines covered (90.83%)

134.38 hits per line

Source Files on job 29270694679.1
  • Tree
  • List 118
  • Changed 20
  • Source Changed 5
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29270694679
  • 823b4065 on github
  • Prev Job for on sandbox (#29208914249.1)
  • Next Job for on sandbox (#29276053456.1)
  • 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