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

m-lab / mlab-ns / 409 / 1
64%
master: 64%

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

05 Apr 2018 07:27PM UTC coverage: 59.649% (-0.03%) from 59.676%
PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine

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

Source Files on job 409.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 409.1
  • cbda9382 on github
  • Prev Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#360.1)
  • Next Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#421.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