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

hyperledger-labs / fabric-smart-client / 29484837588 / 2
81%
main: 81%

Build:
DEFAULT BRANCH: main
Ran 16 Jul 2026 09:00AM UTC
Files 523
Run time 17s
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

16 Jul 2026 08:49AM UTC coverage: 72.532% (+0.04%) from 72.488%
29484837588.2

push

github

web-flow
fix(metrics): cache collectors in the prometheus provider (#1582)

* fix(metrics): cache collectors in the prometheus provider

Repeated requests for the same metric built a fresh collector whose
registration failed; with SkipRegisterErr set the error was swallowed
and the collector was silently left unregistered. Cache collectors by
kind and fully-qualified name so repeated requests share the collector
registered first and skip the registry, and fail with a descriptive
error when a name is reused with different options or an incompatible
collector type.

Fixes #1581

Signed-off-by: Evan <evanyan@sign.global>

* fix(metrics): drop SkipRegisterErr and exclude LabelHelp from cache checks

Address review feedback on the collector cache:
- exclude the doc-only LabelHelp field from the cached definition so
  requests differing only in label documentation share the collector
- remove SkipRegisterErr: the cache and the AlreadyRegisteredError
  handling cover duplicate registration, so the remaining failures are
  programming errors that should fail fast instead of silently handing
  out collectors that are invisible on /metrics
- cover reuse of a collector registered outside the provider

Signed-off-by: Evan <evanyan@sign.global>

---------

Signed-off-by: Evan <evanyan@sign.global>

28307 of 39027 relevant lines covered (72.53%)

2756.98 hits per line

Source Files on job utest - 29484837588.2
  • Tree
  • List 523
  • Changed 4
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29484837588
  • c10decb0 on github
  • Prev Job for on main (#29430585665.2)
  • Next Job for on main (#29487017076.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc