Fix for iamseth/oracledb_exporter#459 / [valrusu] is testing from fork [valrusu/oracledb_exporter] π #173
Annotations
10 errors and 2 warnings
main.go#L77
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
main.go#L93
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
main.go#L105
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
main.go#L114
Error return value of `w.Write` is not checked (errcheck)
|
collector/collector.go#L446
cognitive complexity 63 of func `(*Exporter).scrapeGenericValues` is high (> 30) (gocognit)
|
collector/collector.go#L241
cognitive complexity 34 of func `(*Exporter).scrape` is high (> 30) (gocognit)
|
collector/collector.go#L308
string `histogram` has 3 occurrences, make it a constant (goconst)
|
main.go#L120
exitAfterDefer: os.Exit will exit, and `defer cancel()` will not run (gocritic)
|
collector/collector.go#L282
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
collector/collector.go#L447
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "application", "test-coverage".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
This job succeeded
Loading