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

cybertec-postgresql / pgwatch / 19436814112
74%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2025 04:32PM UTC
Jobs 1
Files 43
Run time 159min
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

17 Nov 2025 04:28PM UTC coverage: 73.688% (-0.07%) from 73.757%
19436814112

push

github

web-flow
[*] deprecate `--direct-os-stats` flag (#1024)

* deprecate `--direct-os-stats` flag. Direct OS stats are now fetched
automatically when pgwatch runs on the same host as PostgreSQL.

- `IsDirectlyFetchableMetric()` now auto-detects same-host
- Removed `r.Metrics.DirectOSStats` flag checks from reaper
- Added `SourceConn.IsClientOnSameHost()` helper method

* Improve comment clarity.

* Tag `--direct-os-stats` with `hidden` due to deprecation.

* Log warning if deprecated `--direct-os-stats` flag is used.

* Remove `--direct-os-stats` from docs.

* Mention that pgwatch now auto-detects this.

* Add integration test for non-direct os stats via postgresql.

* Improve comments in `IsClientOnSameHost()`

* remove trailing whitespaces

* Ensure `jsonSink` is truncated before test.

---------

Co-authored-by: Pavlo Golub <pavlo.golub@gmail.com>

4 of 14 new or added lines in 5 files covered. (28.57%)

3680 of 4994 relevant lines covered (73.69%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
83.58
-2.36% cmd/pgwatch/main.go
4
9.95
0.03% internal/reaper/reaper.go
4
95.24
-2.32% internal/sources/conn.go
Jobs
ID Job ID Ran Files Coverage
1 19436814112.1 17 Nov 2025 04:32PM UTC 43
73.69
GitHub Action Run
Source Files on build 19436814112
  • Tree
  • List 43
  • Changed 6
  • Source Changed 6
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19436814112
  • 5ed69681 on github
  • Prev Build on master (#19428750475)
  • Next Build on master (#19552282275)
  • 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

© 2025 Coveralls, Inc