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

CyberDem0n / governor / 13
99%
master: 100%

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

pending completion
13

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

455 of 477 relevant lines covered (95.39%)

1.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13.1 23 May 2015 06:43PM UTC 0
94.97
Travis Job 13.1
3 13.3 23 May 2015 06:43PM UTC 0
94.97
Travis Job 13.3
Source Files on build 13
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13
  • d202f72a on github
  • Next Build on restapi (#15)
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