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

hyperledger / fabric-x-committer / 34088332371
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: depgraph/size-scaling
DEFAULT BRANCH: main
Ran 07 Sep 2026 05:54AM UTC
Jobs 3
Files 133
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

07 Sep 2026 05:49AM UTC coverage: 90.531% (+0.2%) from 90.345%
34088332371

Pull #810

github

liran-funaro
[coordinator] Report the dependency graph queue sizes on scrape

#### Type of change

- Improvement (improvement to code, performance, etc)

#### Description

- Replace the dependency graph manager's ticker-based queue monitor with gauges read on scrape, and
  delete the sampler goroutine.
- Gather the two input queues into a receive-only `managerQueues` struct built before the metrics
  that observe them.
- Rename `gdgWaitingTxQueueSize` and `dependentTransactionsQueueSize` to `gdgWaitingTxCount` and
  `dependentTxCount`, since neither is a queue: both count transactions held in the graph's maps and
  stay maintained incrementally.
- Rename the exported `coordinator_dependency_graph_dependent_transactions_queue_size` to
  `coordinator_dependency_graph_dependent_transactions`, for the same reason.
- Reword `coordinator_global_dependency_graph_size`'s help to lead with what it counts.
- Remove the `queue-monitor-sampling-time` config key, whose only reader was the sampler.

#### Additional details (Optional)

Deployed YAML that still sets `queue-monitor-sampling-time` keeps loading, as `v.Unmarshal` ignores
unknown keys.

Dashboard-breaking: `coordinator_dependency_graph_dependent_transactions_queue_size` becomes
`coordinator_dependency_graph_dependent_transactions`. `coordinator_global_dependency_graph_size`
keeps its name, as it never claimed to be a queue.

One of the per-service PRs split out of #736.

#### Related issues

- resolves #771
- related to #730

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #810: [coordinator] Report the dependency graph queue sizes on scrape

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

10 existing lines in 6 files now uncovered.

9312 of 10286 relevant lines covered (90.53%)

11242.18 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
93.37
-1.66% service/coordinator/signature_verifier_manager.go
2
79.57
-2.15% service/query/query.go
2
97.22
-2.78% service/verifier/verifier_server.go
1
85.33
-1.33% loadgen/adapters/verifier.go
1
93.9
-1.22% loadgen/adapters/common.go
1
81.82
-1.82% loadgen/adapters/vcservice.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 34088332371.1 07 Sep 2026 05:54AM UTC 102
48.04
GitHub Action Run
2 unit-test - 34088332371.2 07 Sep 2026 05:56AM UTC 95
85.03
GitHub Action Run
3 db-test - 34088332371.3 07 Sep 2026 05:55AM UTC 133
78.34
GitHub Action Run
Source Files on build 34088332371
  • Tree
  • List 133
  • Changed 22
  • Source Changed 0
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #810
  • PR Base - main (#33762901489)
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