Skip to content

perfdata: add experimental generic collector #563

perfdata: add experimental generic collector

perfdata: add experimental generic collector #563

Triggered via pull request April 27, 2024 13:46
Status Failure
Total duration 3m 42s
Artifacts 1

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 13 warnings
lint: pkg/pdh/win_perf_counters.go#L301
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/win_perf_counters.go#L318
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/win_perf_counters.go#L369
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/win_perf_counters.go#L178
ineffectual assignment to newCounterName (ineffassign)
lint: pkg/collector/perfdata/perfdata.go#L134
ineffectual assignment to err (ineffassign)
lint
issues found
lint: pkg/pdh/win_perf_counters.go#L301
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/win_perf_counters.go#L318
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/win_perf_counters.go#L369
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
lint: pkg/pdh/pdh_amd64.go#L36
exported: type name will be used as pdh.PdhFmtCountervalueDouble by other packages, and that stutters; consider calling this FmtCountervalueDouble (revive)
lint: pkg/pdh/pdh_amd64.go#L42
exported: type name will be used as pdh.PdhFmtCountervalueLarge by other packages, and that stutters; consider calling this FmtCountervalueLarge (revive)
lint: pkg/pdh/performance_query.go#L49
exported: type name will be used as pdh.PdhError by other packages, and that stutters; consider calling this Error (revive)
lint: pkg/pdh/pdh_amd64.go#L48
exported: type name will be used as pdh.PdhFmtCountervalueLong by other packages, and that stutters; consider calling this FmtCountervalueLong (revive)
lint: pkg/pdh/pdh_amd64.go#L55
exported: type name will be used as pdh.PdhFmtCountervalueItemDouble by other packages, and that stutters; consider calling this FmtCountervalueItemDouble (revive)
lint: pkg/pdh/pdh_amd64.go#L61
exported: type name will be used as pdh.PdhFmtCountervalueItemLarge by other packages, and that stutters; consider calling this FmtCountervalueItemLarge (revive)
lint: pkg/pdh/pdh_amd64.go#L67
exported: type name will be used as pdh.PdhFmtCountervalueItemLong by other packages, and that stutters; consider calling this FmtCountervalueItemLong (revive)
promtool
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: pkg/pdh/pdh_amd64.go#L36
exported: type name will be used as pdh.PdhFmtCountervalueDouble by other packages, and that stutters; consider calling this FmtCountervalueDouble (revive)
lint: pkg/pdh/pdh_amd64.go#L42
exported: type name will be used as pdh.PdhFmtCountervalueLarge by other packages, and that stutters; consider calling this FmtCountervalueLarge (revive)
lint: pkg/pdh/pdh_amd64.go#L48
exported: type name will be used as pdh.PdhFmtCountervalueLong by other packages, and that stutters; consider calling this FmtCountervalueLong (revive)
lint: pkg/pdh/performance_query.go#L49
exported: type name will be used as pdh.PdhError by other packages, and that stutters; consider calling this Error (revive)
lint: pkg/pdh/pdh_amd64.go#L55
exported: type name will be used as pdh.PdhFmtCountervalueItemDouble by other packages, and that stutters; consider calling this FmtCountervalueItemDouble (revive)
lint: pkg/pdh/pdh_amd64.go#L61
exported: type name will be used as pdh.PdhFmtCountervalueItemLarge by other packages, and that stutters; consider calling this FmtCountervalueItemLarge (revive)
lint: pkg/pdh/pdh_amd64.go#L67
exported: type name will be used as pdh.PdhFmtCountervalueItemLong by other packages, and that stutters; consider calling this FmtCountervalueItemLong (revive)
lint: pkg/pdh/pdh_amd64.go#L73
exported: type name will be used as pdh.PdhCounterInfo by other packages, and that stutters; consider calling this CounterInfo (revive)
lint: pkg/pdh/pdh_amd64.go#L120
exported: type name will be used as pdh.PdhRawCounter by other packages, and that stutters; consider calling this RawCounter (revive)
lint: pkg/pdh/pdh_amd64.go#L135
exported: type name will be used as pdh.PdhRawCounterItem by other packages, and that stutters; consider calling this RawCounterItem (revive)

Artifacts

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