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

digitalocean / ceph_exporter / 222
87%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2017 09:34AM UTC
Jobs 1
Files 6
Run time 1s
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
222

Pull #80

travis-ci

web-flow
Terminate exporter process if maximum open files exceeded

This is somewhat of a workaround for the exporter becoming
perpetually blocked when it runs out of file descriptors if
the cluster is down for too long, as mentioned in:

  https://github.com/digitalocean/ceph_exporter/issues/60#issuecomment-319396108

The problem is that if the MONs are down for long enough,
each time prometheus scrapes the metrics, another socket is
opened, but these block forever.  If the cluster comes back
up before we run out of FDs, the blocked requests recover.
If the clusetr *doesn't* come back up before we run out of
FDs, the blocked requests never recover.

This commit causes ceph exporter to terminate if it runs
out of file descriptors, which IMO is better than blocking
forever -- it'll be a noisier failure, and also if you're
running ceph_exporter via systemd, systemd will then
automatically trigger a service restart.

Signed-off-by: Tim Serong <tserong@suse.com>
Pull Request #80: Terminate exporter process if maximum open files exceeded

1363 of 1565 relevant lines covered (87.09%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 222.1 (DOCKER_TAG=$TRAVIS_TAG) 23 Nov 2017 09:34AM UTC 0
87.09
Travis Job 222.1
Source Files on build 222
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #222
  • Pull Request #80
  • PR Base - master (#208)
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