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

cabify / gotoprom / 142
98%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v1.1.0
DEFAULT BRANCH: master
Ran 09 Jan 2020 01:29PM UTC
Jobs 2
Files 3
Run time 2s
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:28PM UTC coverage: 98.94%. Remained the same
142

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.

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

280 of 283 relevant lines covered (98.94%)

22.01 hits per line

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