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

cabify / gotoprom / 144
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v1.1.0
DEFAULT BRANCH: master
Ran 09 Jan 2020 01:34PM UTC
Jobs 2
Files 3
Run time 8s
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:33PM UTC coverage: 98.936% (-0.004%) from 98.94%
144

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%)

22.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 144.1 (GO111MODULE=on) 09 Jan 2020 01:34PM UTC 0
98.94
Travis Job 144.1
2 144.2 (GO111MODULE=on) 09 Jan 2020 01:34PM UTC 0
98.94
Travis Job 144.2
Source Files on build 144
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #144
  • a33793f5 on github
  • Prev Build on colega/remove-default-buckets (#142)
  • Next Build on colega/remove-default-buckets (#147)
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