• 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 issues/3-newer-prom-client
branch: issues/3-newer-prom-client
CHANGE BRANCH
x
Reset
  • issues/3-newer-prom-client
  • issues/11-rename-counters-to-match-convention
  • 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
  • v1.2.0-legacy

pending completion
18

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.

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

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 issues/3-newer-prom-client
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18 issues/3-newer-prom-client 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 10:22AM UTC marccarre travis-ci pending completion  
12 issues/3-newer-prom-client 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 09 Oct 2017 02:31PM UTC marccarre travis-ci pending completion  
11 issues/3-newer-prom-client Initialise counters w/o using Set. CounterVec#Set was present in v0.8.0 but has been removed in 0.9.0-pre1. Simply calling the counter with a label seems to initialise it. If not calling it, then the metric/label is not exposed until actually inc... push 09 Oct 2017 02:25PM 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