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

weaveworks / promrus
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: mention-coc
DEFAULT BRANCH: master
Repo Added 04 Oct 2017 02:46PM UTC
Files 1
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

LAST BUILD ON BRANCH v1.2.0
branch: v1.2.0
CHANGE BRANCH
x
Reset
  • v1.2.0
  • issues/11-rename-counters-to-match-convention
  • issues/3-newer-prom-client
  • issues/5-multiple-inits
  • master
  • mention-coc
  • mustnew
  • remove-vendor
  • reuse-log-metric
  • v1.0.0-legacy
  • v1.0.1
  • v1.0.1-legacy
  • v1.2.0-legacy

pending completion
21

push

travis-ci

marccarre
Initialise counters w/o using CounterVec#Set.

`CounterVec#Set` was present in `v0.8.0` but has been removed in `v0.9.0-pre1`.
Simply calling the counter with a label initialises it, so that is what we are now doing.
If not calling it at all, then the metric is not exposed for this label until actually incremented, which is probably not the desired behaviour -- i.e. people would most likely still want to know that the number of debug/info/warning/error log messages is zero, and to confirm that their monitoring is not broken.

27 of 30 relevant lines covered (90.0%)

13.6 hits per line

Relevant lines Covered
Build:
Build:
30 RELEVANT LINES 27 COVERED LINES
13.6 HITS PER LINE
Source Files on v1.2.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21 v1.2.0 Initialise counters w/o using CounterVec#Set. `CounterVec#Set` was present in `v0.8.0` but has been removed in `v0.9.0-pre1`. Simply calling the counter with a label initialises it, so that is what we are now doing. If not calling it at all, then... push 10 Oct 2017 03:40PM UTC marccarre travis-ci pending completion  
See All Builds (38)
  • Repo on GitHub
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

© 2025 Coveralls, Inc