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

tecnickcom / rpistat / 27878507910
98%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2026 05:29PM UTC
Jobs 1
Files 8
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

20 Jun 2026 05:23PM UTC coverage: 97.945% (+2.3%) from 95.69%
27878507910

push

github

nicolaasuni
feat(metrics): collect system stats at scrape time, add robustness

Extract system-stats gathering into a new internal/sysstat package with
no metric or HTTP side effects, and rewrite the metrics package as a
Prometheus collector that reads a fresh snapshot on every scrape. This
makes /metrics correct independently of /stats traffic and drops series
for interfaces that are no longer present. The /stats JSON handler now
serializes the shared gatherer output, and the exported metric names and
labels are unchanged.

Add configurable network-interface exclusions (stats.excluded_nics, with
schema, default config, and CONFIG.md updates) and debug logging of
errors that were previously swallowed. Split the gatherer options into
options.go with dedicated option tests. Use an explicit, side-effect-free
Describe so collector registration does not run a system snapshot.

134 of 138 new or added lines in 7 files covered. (97.1%)

429 of 438 relevant lines covered (97.95%)

7.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.33
internal/sysstat/sysstat.go
Jobs
ID Job ID Ran Files Coverage
1 27878507910.1 20 Jun 2026 05:29PM UTC 8
97.95
GitHub Action Run
Source Files on build 27878507910
  • Tree
  • List 8
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27878507910
  • e85be205 on github
  • Prev Build on main (#26950135900)
  • Next Build on main (#27899121142)
  • 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