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

digitalocean / ceph_exporter / 222 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2017 09:34AM UTC
Files 6
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 Nov 2017 09:32AM UTC coverage: 87.093%. Remained the same
DOCKER_TAG=$TRAVIS_TAG

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

Source Files on job 222.1 (DOCKER_TAG=$TRAVIS_TAG)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 222
  • Travis Job 222.1
  • 9a7d7c0b on github
  • Prev Job for DOCKER_TAG=$TRAVIS_TAG on master (#208.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