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

hyperledger / fabric-x-committer / 21819357629
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: test-coverage-improve
DEFAULT BRANCH: main
Ran 09 Feb 2026 09:28AM UTC
Jobs 2
Files 116
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

09 Feb 2026 09:22AM UTC coverage: 88.911% (-0.06%) from 88.974%
21819357629

Pull #302

github

cendhu
feat: enable pprof profiling endpoints in monitoring server

Add pprof profiling support to the monitoring HTTP server to enable
runtime profiling of CPU, memory, goroutines, and other metrics.

Changes:
- Add net/http/pprof import and pprofSubPath constant
- Register pprof handlers explicitly on custom ServeMux
- Add comprehensive table-driven test (TestPprofEndpoints)
- Document why explicit registration is required and how Index
  handler dynamically serves all runtime profiles

Available endpoints:
- /debug/pprof/ - Index page listing all profiles
- /debug/pprof/profile - CPU profile
- /debug/pprof/heap - Memory heap profile
- /debug/pprof/goroutine - Goroutine profile
- /debug/pprof/allocs - Memory allocation profile
- /debug/pprof/block - Block profile
- /debug/pprof/mutex - Mutex profile
- /debug/pprof/cmdline - Command line
- /debug/pprof/symbol - Symbol lookup
- /debug/pprof/trace - Execution trace

All tests pass and Go linter reports 0 issues.

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #302: feat: enable pprof profiling endpoints in monitoring server

12 of 14 new or added lines in 1 file covered. (85.71%)

19 existing lines in 5 files now uncovered.

9092 of 10226 relevant lines covered (88.91%)

1.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
94.12
0.68% utils/monitoring/provider.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.02
-1.89% loadgen/adapters/coordinator.go
3
80.16
-1.21% service/sidecar/relay.go
4
87.5
0.0% service/vc/database.go
4
80.0
-3.64% service/vc/validator.go
7
80.0
-2.22% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 21819357629.1 09 Feb 2026 09:28AM UTC 116
83.97
GitHub Action Run
2 unit-test - 21819357629.2 09 Feb 2026 09:29AM UTC 72
65.01
GitHub Action Run
Source Files on build 21819357629
  • Tree
  • List 116
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #302
  • PR Base - main (#21756734508)
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

© 2026 Coveralls, Inc