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

hyperledger / fabric-x-committer / 30786346119
91%

Build:
DEFAULT BRANCH: main
Ran 03 Aug 2026 05:12AM UTC
Jobs 3
Files 131
Run time 1min
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

03 Aug 2026 05:09AM UTC coverage: 91.204% (+0.03%) from 91.175%
30786346119

push

github

web-flow
[coordinator] Fix swapped manager metrics, report queues on scrape (#724)

#### Type of change

- Bug fix
- Improvement (improvement to code, performance, etc)
- Breaking change
- Test update

#### Description

- Register the metric set common to both service managers from a single
`newManagerMetrics`,
instantiated once per manager, so the verifier and vcservice series can
no longer be given
  each other's subsystem.
- Rename `retired_transaction_total` to `transaction_retried_total` and
shorten the queue-size
gauge names. Dashboards querying the old names need updating; see the
mapping below.
- Report the queue depths with `prometheus.NewGaugeFunc`, through a new
`monitoring.Provider.NewGaugeFunc`, and drop `Service.monitorQueues`
along with its goroutine
and ticker. The reported value is now exact at scrape time instead of up
to one sampling
interval stale. `queue-monitor-sampling-time` is unchanged and still
used by the dependency
  graph, which keeps its own sampler.
- `scripts/metrics_doc_extract.py`: follow a metric helper defined in
the file being parsed (it
resolved only `package.Func` against `utils/<package>/metrics.go`),
recognise `NewGaugeFunc`,
and skip a definition whose namespace is still `params.Namespace` — it
is emitted once per call
  site with the namespace substituted.
- `TestManagerMetricsSubsystem` asserts on the exported series names.
The existing tests asserted
on the `perfMetrics` fields, which is why they passed while the series
were swapped.

#### Additional details (Optional)

Metric name changes, for dashboard migration. The first two rows also
change meaning, since the
counters were reporting each other's manager:

| before | after |
|---|---|
| `coordinator_vcservice_retired_transaction_total` (held verifier
retries) | `coordinator_verifier_transaction_retried_total` |
| `coordinator_verifier_retired_transaction_total` (held vcservice
retries) | `coordinator_vcservice_transaction_retried_total` |
| `coordinator_verifier... (continued)

46 of 46 new or added lines in 5 files covered. (100.0%)

18 existing lines in 7 files now uncovered.

10524 of 11539 relevant lines covered (91.2%)

34210.96 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
91.94
-2.84% service/coordinator/signature_verifier_manager.go
3
91.21
-1.65% service/coordinator/validator_committer_manager.go
3
64.71
-17.65% utils/serve/server.go
2
85.47
-0.69% service/sidecar/relay.go
2
94.42
-1.2% service/coordinator/coordinator.go
1
78.29
-0.19% service/sidecar/sidecar.go
1
80.33
-1.64% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 30786346119.1 03 Aug 2026 05:12AM UTC 100
46.53
GitHub Action Run
2 unit-test - 30786346119.2 03 Aug 2026 05:15AM UTC 95
84.5
GitHub Action Run
3 db-test - 30786346119.3 03 Aug 2026 05:15AM UTC 131
78.89
GitHub Action Run
Source Files on build 30786346119
  • Tree
  • List 131
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a1230966 on github
  • Prev Build on main (#30785809044)
  • Next Build on main (#30786611240)
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