Skip to content

process: Use registry collector for V1 data #1509

process: Use registry collector for V1 data

process: Use registry collector for V1 data #1509

Triggered via pull request December 4, 2024 22:22
Status Failure
Total duration 3m 49s
Artifacts 1

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: internal/collector/process/process.go#L217
if statements should only be cuddled with assignments used in the if statement itself (wsl)
lint: internal/collector/process/process.go#L220
commentFormatting: put a space between `//` and comment text (gocritic)
lint: internal/pdh/pdh.go#L256
exported: type name will be used as pdh.PDHQueryHandle by other packages, and that stutters; consider calling this QueryHandle (revive)
lint: internal/pdh/pdh.go#L257
exported: type name will be used as pdh.PDHCounterHandle by other packages, and that stutters; consider calling this CounterHandle (revive)
lint: internal/pdh/pdh.go#L318
exported: func name will be used as pdh.PdhAddCounter by other packages, and that stutters; consider calling this AddCounter (revive)
lint: internal/pdh/pdh.go#L331
exported: func name will be used as pdh.PdhAddEnglishCounter by other packages, and that stutters; consider calling this AddEnglishCounter (revive)
lint: internal/pdh/pdh.go#L348
exported: func name will be used as pdh.PdhCloseQuery by other packages, and that stutters; consider calling this CloseQuery (revive)
lint: internal/pdh/pdh.go#L375
exported: func name will be used as pdh.PdhCollectQueryData by other packages, and that stutters; consider calling this CollectQueryData (revive)
lint: internal/pdh/pdh.go#L383
exported: func name will be used as pdh.PdhCollectQueryDataWithTime by other packages, and that stutters; consider calling this CollectQueryDataWithTime (revive)
lint: internal/pdh/pdh.go#L405
exported: func name will be used as pdh.PdhGetFormattedCounterValueDouble by other packages, and that stutters; consider calling this GetFormattedCounterValueDouble (revive)

Artifacts

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