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

cybertec-postgresql / pgwatch3 / 9921437457
29%

Build:
DEFAULT BRANCH: master
Ran 13 Jul 2024 04:47PM UTC
Jobs 1
Files 37
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

13 Jul 2024 04:44PM UTC coverage: 20.233% (+1.5%) from 18.699%
9921437457

push

github

web-flow
[!] differentiate the concepts of source and monitored database (#472)

Source represents a configuration how to get databases to monitor.
It can be a single database, a group of databases in postgres cluster,
a group of databases in HA patroni cluster.
MonitoredDatabase represents a single database to monitor. Unlike source,
it means a single physical database connection. Continuous discovery
sources (postgres-continuous-discovery, patroni-continuous-discovery,
patroni-namespace-discovery) will produce multiple monitored databases.
pgwatch first reads sources (single dbs, postgres and patroni clusters)
and then lists all found databases in those as monitored databases

* [!] differentiate between the concepts of source and monitored database
* [*] rename api methods
* [+] add sources tests
* [-] fix postgres_test

62 of 118 new or added lines in 8 files covered. (52.54%)

9 existing lines in 5 files now uncovered.

939 of 4641 relevant lines covered (20.23%)

0.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.6
0.0% src/reaper/database.go
1
0.0
0.0% src/reaper/reaper.go
1
91.53
14.48% src/sources/types.go
3
0.0
src/webserver/source.go
8
0.0
0.0% src/webserver/api.go
42
14.54
5.17% src/sources/resolver.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% src/metrics/postgres.go
1
0.0
0.0% src/webserver/api.go
2
0.0
0.0% src/webserver/preset.go
2
14.54
5.17% src/sources/resolver.go
3
21.02
-0.66% src/sinks/postgres.go
Jobs
ID Job ID Ran Files Coverage
1 9921437457.1 13 Jul 2024 04:47PM UTC 37
20.23
GitHub Action Run
Source Files on build 9921437457
  • Tree
  • List 37
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ae4e447f on github
  • Prev Build on master (#9667189103)
  • Next Build on master (#9928476094)
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