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

m-lab / disco / 39
94%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2020 09:32PM UTC
Jobs 1
Files 4
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

18 Jun 2020 09:30PM UTC coverage: 96.708% (+8.2%) from 88.462%
39

push

travis-ci

web-flow
Adds 'main' and 'metrics' packages. (#3)

* Adds 'main' and 'metrics' packages.

* Changes in response to comments and requests in PR #3.

* Changes from comments and suggestions in PR #3.

* Fixes a few tests for metrics package.

* Renames struct element intervalSeries to just interval. Renames Prom metric lable 'node' to 'machine'.

* Adds two new Prometheus metrics: disco_collect_duration_seconds (a histogram) and disco_collect_errors_total.

* Outputs JSONL instead of indented JSON. Removes the node/machine label from Prom metrics (k8s auto-discovery should add it automatically).

* Tests archive.Write by writing a set of models as JSONL to a file, then reading that file back into new set of models, and then checking for equality between the two.

* Moves collectDuration and collectErrors out of the Metrics struct and instead as global package variables. Handles and unhandled error case.

235 of 243 relevant lines covered (96.71%)

1.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39.1 18 Jun 2020 09:32PM UTC 0
96.71
Travis Job 39.1
Source Files on build 39
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #39
  • ca7aacf0 on github
  • Prev Build on master (#20)
  • Next Build on master (#39)
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