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

kubevirt / containerized-data-importer / #6029
49%
main: 51%

Build:
Build:
LAST BUILD BRANCH: cleanup-prometheus-resources-on-crd-removal
DEFAULT BRANCH: main
Ran 27 May 2026 02:52PM UTC
Jobs 1
Files 159
Run time 4080min
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

27 May 2026 02:42PM UTC coverage: 49.435% (-0.1%) from 49.56%
#6029

Pull #4161

travis-ci

Acedus
cdi: expose secure pprof endpoints for controller and operator

pprof is Go's built-in profiling toolkit that exposes runtime
diagnostics (e.g., heap allocations, goroutine stacks, CPU profiles,
etc.) over HTTP. Exposing these endpoints enables live debugging of
memory leaks, goroutine leaks, and CPU hotspots in running controller
and operator pods without redeployment or recompilation.

This commit exposes the handlers via the existing metrics server by
relying on controller-runtime's ExtraHandlers along with the previously
introduced WithAuthenticationAndAuthorization which serves to secure
the handlers with TLS and RBAC auth. A new ClusterRole (cdi-pprof-reader)
is added to grant pprof access independently of metrics scraping.

Signed-off-by: Adi Aloni <aaloni@redhat.com>
Pull Request #4161: cdi: expose secure pprof endpoints for controller and operator

0 of 37 new or added lines in 4 files covered. (0.0%)

204 existing lines in 8 files now uncovered.

14999 of 30341 relevant lines covered (49.43%)

0.55 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
0.0
0.0% pkg/operator/resources/cluster/controller.go
9
0.0
0.0% pkg/operator/resources/operator/operator.go
7
0.0
0.0% cmd/cdi-controller/controller.go
7
0.0
0.0% cmd/cdi-operator/operator.go

Coverage Regressions

Lines Coverage ∆ File
47
0.0
0.0% cmd/cdi-controller/controller.go
47
70.48
3.99% pkg/operator/controller/prometheus.go
36
0.0
0.0% pkg/operator/resources/cluster/controller.go
28
0.0
0.0% pkg/operator/resources/operator/operator.go
21
0.0
0.0% cmd/cdi-operator/operator.go
12
0.0
0.0% pkg/operator/resources/namespaced/controller.go
11
54.39
-4.6% cmd/openstack-populator/openstack-populator.go
2
77.78
0.0% pkg/common/common.go
Jobs
ID Job ID Ran Files Coverage
1 #6029.1 27 May 2026 02:52PM UTC 159
49.43
Source Files on build #6029
  • Tree
  • List 159
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4161
  • PR Base - main (#)
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