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

m-lab / mlab-ns / 409
64%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2018 07:31PM UTC
Jobs 1
Files 21
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
409

push

travis-ci

web-flow
Allows service status checks to use data from Prometheus, or Nagios. (#128)

* Adds a new source property to the 'Tool' datastore Kind which allows us to specify whether status comes from Nagios or Prometheus.

* Renames the new database field from source to status_source, to be more descriptive.

* Updates Tool class to have new field status_source, and adds new class Prometheus to contain the login credentials and URL for Prometheus.

* Adds some new constants for Prometheus.

* Adds initial changes for switching status based on status_source (nagios or prometheus). Still incomplete and likely broken.

* Adds a new script for fetching the Prometheus login credentials, analagous, and nearly identical to the old one for Nagios.

* Adds a script for fetching Prometheus status. Initial PromQL work moving along. Still need parsing functions.

* Passes tool.slice_id to the Prom status handler so it can construct the sliver FQDN.

* Adds initial code to parse Prometheus JSON responses.

* Updates docstring and adds some additional comments, and renames one variable.

* Fixes a syntax error. There were two stray colons.

* Added two debugging INFO statements. Remove these later, maybe.

* Fixes a syntax error: missing closing parenthesis.

* Changes status scripts to only return a single object to be processed.

* Fixes a syntax error: removes two extra parens.

* Adds two missing arguments.

* Moves auth out of main loop for status updates class, and adds two more debug logging statements.

* Fixes a syntax error: missing type qualifier on % replacement.

* Creates status_source-specific URL openers, since installing a single global default one doesn't work when we have two services.

* Creates a loader for the Prometheus datastore type.

* Changes the value for constants.DEFAULT_PROMETHEUS_ENTRY to something different than the Nagios constant.

* Fixes the DEFAULT_PROMETHEUS_ENTRY and bulkloader loader to match wh... (continued)

850 of 1425 relevant lines covered (59.65%)

0.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 409.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine) 05 Apr 2018 07:31PM UTC 0
59.65
Travis Job 409.1
Source Files on build 409
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #409
  • cbda9382 on github
  • Prev Build on master (#360)
  • Next Build on master (#421)
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