devguard icon indicating copy to clipboard operation
devguard copied to clipboard

add monitoring metrics

Open refoo0 opened this issue 7 months ago • 1 comments

refoo0 avatar May 14 '25 16:05 refoo0

Merging this branch changes the coverage (1 decrease, 2 increase)

Impacted Packages Coverage Δ :robot:
github.com/l3montree-dev/devguard/cmd/devguard/api 13.50% (-0.04%) :thumbsdown:
github.com/l3montree-dev/devguard/internal/core/component 40.98% (+0.49%) :thumbsup:
github.com/l3montree-dev/devguard/internal/core/daemon 0.00% (ø)
github.com/l3montree-dev/devguard/internal/core/vuln 7.11% (+0.42%) :thumbsup:
github.com/l3montree-dev/devguard/internal/core/vulndb/scan 0.00% (ø)
github.com/l3montree-dev/devguard/internal/monitoring 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed :robot:
github.com/l3montree-dev/devguard/cmd/devguard/api/api.go 13.50% (-0.04%) 326 (+1) 44 282 (+1) :thumbsdown:
github.com/l3montree-dev/devguard/internal/core/component/component_service.go 53.57% (+0.56%) 84 (+1) 45 (+1) 39 :thumbsup:
github.com/l3montree-dev/devguard/internal/core/daemon/deps_dev_daemon.go 0.00% (ø) 13 (+4) 0 13 (+4)
github.com/l3montree-dev/devguard/internal/core/daemon/flaw_daemon.go 0.00% (ø) 77 (+5) 0 77 (+5)
github.com/l3montree-dev/devguard/internal/core/daemon/risk_daemon.go 0.00% (ø) 12 (+7) 0 12 (+7)
github.com/l3montree-dev/devguard/internal/core/daemon/scan_daemon.go 0.00% (ø) 53 (+6) 0 53 (+6)
github.com/l3montree-dev/devguard/internal/core/daemon/statistics_daemon.go 0.00% (ø) 25 (+6) 0 25 (+6)
github.com/l3montree-dev/devguard/internal/core/daemon/ticket_daemon.go 0.00% (ø) 12 (+7) 0 12 (+7)
github.com/l3montree-dev/devguard/internal/core/daemon/vulndb_daemon.go 0.00% (ø) 18 (+8) 0 18 (+8)
github.com/l3montree-dev/devguard/internal/core/vuln/dependency_vuln_service.go 14.35% (+0.38%) 237 (+15) 34 (+3) 203 (+12) :thumbsup:
github.com/l3montree-dev/devguard/internal/core/vulndb/scan/scan_controller.go 0.00% (ø) 118 (+8) 0 118 (+8)
github.com/l3montree-dev/devguard/internal/monitoring/depsdev.go 0.00% (ø) 0 0 0
github.com/l3montree-dev/devguard/internal/monitoring/risk_prom.go 0.00% (ø) 0 0 0
github.com/l3montree-dev/devguard/internal/monitoring/scan_prom.go 0.00% (ø) 0 0 0
github.com/l3montree-dev/devguard/internal/monitoring/statistics_prom.go 0.00% (ø) 0 0 0
github.com/l3montree-dev/devguard/internal/monitoring/ticket_prom.go 0.00% (ø) 0 0 0
github.com/l3montree-dev/devguard/internal/monitoring/vulndb_prom.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

github-actions[bot] avatar May 21 '25 17:05 github-actions[bot]