Skip to content

process: Use registry collector for V1 data #1523

process: Use registry collector for V1 data

process: Use registry collector for V1 data #1523

Triggered via pull request December 15, 2024 13:00
Status Failure
Total duration 3m 30s
Artifacts 1

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors
promtool
Process completed with exit code 1.
test: internal/utils/testutils/testutils.go#L99
undefined: pdh.PdhCstatusNoCounter
test: internal/utils/testutils/testutils.go#L100
undefined: pdh.PdhCstatusNoObject
test
Process completed with exit code 1.
lint: internal/collector/iis/iis.go#L298
unusedresult: result of slices.Delete call not used (govet)
lint: internal/collector/iis/iis_w3svc_w3wp.go#L500
S1021: should merge variable declaration with assignment on next line (gosimple)
lint: internal/collector/performancecounter/performancecounter.go#L270
for loop can be changed to use an integer range (Go 1.22+) (intrange)
lint: internal/collector/process/process.go#L87
type `processWorkerRequest` is unused (unused)
lint: internal/pdh/collector.go#L115
continue with no blank line before (nlreturn)
lint: internal/pdh/collector.go#L331
`if item.RawValue.CStatus == CstatusValidData || item.RawValue.CStatus == CstatusNewData` has complex nested blocks (complexity: 13) (nestif)
lint: internal/pdh/registry/nametable.go#L15
CounterNameTable is a global variable (gochecknoglobals)
lint: internal/pdh/registry/perflib.go#L128
bo is a global variable (gochecknoglobals)
lint
undefined: pdh.PdhCstatusNoObject"
lint
undefined: pdh.PdhCstatusNoObject)"

Artifacts

Produced during runtime
Name Size
windows_exporter.amd64.exe Expired
11.8 MB