Use strings.ReplaceAll() rather than strings.Replace() with -1 #59
Annotations
11 errors
build:
collector/collector.go#L253
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
build:
collector/collector.go#L256
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
build:
collector/collector.go#L262
Error return value of `(github.com/go-kit/log.Logger).Log` is not checked (errcheck)
|
build:
main.go#L79
Error return value of `w.Write` is not checked (errcheck)
|
build:
collector/collector.go#L408
cognitive complexity 63 of func `(*Exporter).scrapeGenericValues` is high (> 30) (gocognit)
|
build:
collector/collector.go#L239
cognitive complexity 34 of func `(*Exporter).scrape` is high (> 30) (gocognit)
|
build:
collector/collector.go#L423
string `,metricHelp=` has 7 occurrences, make it a constant (goconst)
|
build:
collector/collector.go#L304
string `histogram` has 3 occurrences, make it a constant (goconst)
|
build:
collector/collector.go#L278
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
build:
collector/collector.go#L409
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
deploy-[ubuntu]
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
application
Expired
|
5.09 MB |
|
test-coverage
Expired
|
10 Bytes |
|