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

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

Build:
Build:
LAST BUILD BRANCH: test-coverage-improve
DEFAULT BRANCH: main
Ran 09 Feb 2026 01:23PM 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 01:18PM UTC coverage: 88.872% (-0.1%) from 88.974%
21826669177

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%)

23 existing lines in 5 files now uncovered.

9088 of 10226 relevant lines covered (88.87%)

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
80.0
-3.64% service/vc/validator.go
7
80.0
-2.22% service/sidecar/sidecar.go
8
86.36
-1.14% service/vc/database.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 21826669177.1 09 Feb 2026 01:23PM UTC 116
83.91
GitHub Action Run
2 unit-test - 21826669177.2 09 Feb 2026 01:23PM UTC 72
65.05
GitHub Action Run
Source Files on build 21826669177
  • Tree
  • List 116
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
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