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

cabify / gotoprom / 146 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 09 Jan 2020 01:43PM UTC
Files 3
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

09 Jan 2020 01:42PM UTC coverage: 98.936% (+0.004%) from 98.932%
GO111MODULE=on

push

travis-ci-com

colega
Histograms: require buckets to be explicit

Default buckets were removed and buckets are now required: writing the
buckets is a 5 second effort while forgetting about them and having
wrong buckets in production is a lot of work (and maybe even an incident
if wrong buckets don't provide enough visibility on an issue)

So now any code without buckets on the histograms will fail to intialize
that metrics.

Finally, empty buckets tag is now allowed and it builds an empty buckets
slice, which will cause prometheus library to use its own default
buckets.

Notice that this change identified an issue in one of our own tests
where buckets tag was wrong (`metricsbuckets`) and it was unnoticed
because default buckets where used instead.

279 of 282 relevant lines covered (98.94%)

11.02 hits per line

Source Files on job 146.1 (GO111MODULE=on)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 76
  • Travis Job 146.1
  • 0c15a0bf on github
  • Prev Job for GO111MODULE=on on master (#140.1)
  • Next Job for GO111MODULE=on on master (#3.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