Remove prometheus/client_golang
replace
#682
Merged
Annotations
4 errors and 1 warning
exporter/exporter_metrics.go#L24
[golangci-lint] reported by reviewdog 🐶
Comment should end in a period (godot)
Raw Output:
exporter/exporter_metrics.go:24:66: Comment should end in a period (godot)
// measureCollectTime measures time taken for scrape by collector
^
|
exporter/exporter_metrics.go#L25
[golangci-lint] reported by reviewdog 🐶
`measureCollectTime` - `exporter` always receives `"mongodb"` (unparam)
Raw Output:
exporter/exporter_metrics.go:25:54: `measureCollectTime` - `exporter` always receives `"mongodb"` (unparam)
func measureCollectTime(ch chan<- prometheus.Metric, exporter, collector string) func() {
^
|
exporter/exporter.go#L362
[golangci-lint] reported by reviewdog 🐶
WebSystemdSocket is missing in FlagConfig (exhaustruct)
Raw Output:
exporter/exporter.go:362:12: WebSystemdSocket is missing in FlagConfig (exhaustruct)
flags := &web.FlagConfig{
^
|
exporter/exporter.go#L366
[golangci-lint] reported by reviewdog 🐶
Level, Format are missing in Config (exhaustruct)
Raw Output:
exporter/exporter.go:366:59: Level, Format are missing in Config (exhaustruct)
if err := web.ListenAndServe(server, flags, promlog.New(&promlog.Config{})); err != nil {
^
|
|
The logs for this run have expired and are no longer available.
Loading