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

cabify / gotoprom / 145
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 3s
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.932%
145

Pull #27

travis-ci-com

web-flow
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.
Pull Request #27: Histograms: require buckets to be explicit

6 of 6 new or added lines in 1 file covered. (100.0%)

279 of 282 relevant lines covered (98.94%)

22.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 145.1 (GO111MODULE=on) 09 Jan 2020 01:34PM UTC 0
98.94
Travis Job 145.1
2 145.2 (GO111MODULE=on) 09 Jan 2020 01:34PM UTC 0
98.94
Travis Job 145.2
Source Files on build 145
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #145
  • Pull Request #27
  • PR Base - master (#140)
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