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

m-lab / disco / 39 / 1
94%
master: 94%

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

18 Jun 2020 09:30PM UTC coverage: 96.708%. Remained the same
39.1

push

travis-ci-com

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

Source Files on job 39.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 62
  • Travis Job 39.1
  • ca7aacf0 on github
  • Prev Job for on master (#39.1)
  • Next Job for on master (#46.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