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

Chaguar / committer / 31478561424
91%

Build:
DEFAULT BRANCH: main
Ran 11 Aug 2026 09:42AM UTC
Jobs 3
Files 132
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

11 Aug 2026 09:37AM UTC coverage: 90.904% (-0.04%) from 90.947%
31478561424

push

github

web-flow
[loadgen] Key-generation metrics (#751)

#### Type of change

- New feature

#### Description

- Expose the load generator's key-generation counts as scrape-time
Prometheus counters, derived on demand from the shared transaction-index
counter (no caller updates them):
- `loadgen_created_keys_total` — committable keys introduced (the
frontier C(N)).
- `loadgen_referenced_read_keys_total` — existing (backward) read-only
key references.
- `loadgen_referenced_write_keys_total` — existing write-slot key
references (read-write + blind-write).
- Add `TxCounter.KeyStats` (the source of the three totals), a
`monitoring.Provider.NewCounterFunc` helper, and register the three
counters in `NewLoadgenServiceMetrics`.
- Regenerate the metrics reference.

#### Additional details (Optional)

The three values are cumulative monotone totals, so they are counters
rather than gauges, computed at scrape time from the counter via
`CounterFunc` — no goroutine samples them and no caller increments them.

Split out of #718 to keep the workload-model change focused.

#### Related issues

- related to #678
- related to #671

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

42 of 42 new or added lines in 4 files covered. (100.0%)

13 existing lines in 6 files now uncovered.

10853 of 11939 relevant lines covered (90.9%)

13564.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
94.42
-2.15% service/coordinator/coordinator.go
2
85.47
-0.69% service/sidecar/relay.go
2
92.35
-0.53% mock/orderer.go
2
97.83
-2.17% service/verifier/verifier_server.go
1
80.23
-0.19% service/sidecar/sidecar.go
1
86.42
-1.23% loadgen/adapters/verifier.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 31478561424.1 11 Aug 2026 09:44AM UTC 94
84.59
GitHub Action Run
2 db-test - 31478561424.2 11 Aug 2026 09:43AM UTC 132
78.93
GitHub Action Run
3 core-db-test - 31478561424.3 11 Aug 2026 09:42AM UTC 101
48.42
GitHub Action Run
Source Files on build 31478561424
  • Tree
  • List 132
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a799f4f2 on github
  • Prev Build on main (#31413896762)
  • Next Build on main (#31484672330)
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