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

CyberDem0n / governor / 13 / 3
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: patroni
DEFAULT BRANCH: master
Ran 23 May 2015 06:43PM UTC
Files 7
Run time 0s
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

23 May 2015 06:29PM UTC coverage: 94.969%. First build
13.3

push

travis-ci

CyberDem0n
Added simple web server which shows current state of postgres

Server always returns json which contains some status of postgres:
* instance type: master/slave
* xlog location for master
* xlog received_location, replayed_location
This server could be used by haproxy
GET / returns 200 if there is postgres master behind governor.
GET /slave returns 200 is there is postgres slave behind governor
In all other cases it returns 503
Currently server always listening on 0.0.0.0:8080, but it should be
configurable. In the next versions this rest api could also report some
status of etcd and could be used by is_healthiest_node method

453 of 477 relevant lines covered (94.97%)

0.95 hits per line

Source Files on job 13.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13
  • Travis Job 13.3
  • d202f72a on github
  • Next Job for on restapi (#15.1)
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