Remove prometheus/client_golang
replace
#1448
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
28 errors and 6 warnings
Build (1.19.x, mongo:4.4, ubuntu-latest, false):
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
^
|
Build (1.19.x, mongo:4.4, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, mongo:4.4, ubuntu-latest, false):
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{
^
|
Build (1.19.x, mongo:4.4, ubuntu-latest, false):
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 {
^
|
Build (1.19.x, mongo:4.2, ubuntu-latest, false):
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
^
|
Build (1.19.x, mongo:4.2, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, mongo:4.2, ubuntu-latest, false):
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{
^
|
Build (1.19.x, mongo:4.2, ubuntu-latest, false):
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 {
^
|
Build (1.19.x, percona/percona-server-mongodb:4.2, ubuntu-latest, false):
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
^
|
Build (1.19.x, percona/percona-server-mongodb:4.2, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, percona/percona-server-mongodb:4.2, ubuntu-latest, false):
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{
^
|
Build (1.19.x, percona/percona-server-mongodb:4.2, ubuntu-latest, false):
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 {
^
|
Build (1.19.x, mongo:5.0, ubuntu-latest, false):
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
^
|
Build (1.19.x, mongo:5.0, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, mongo:5.0, ubuntu-latest, false):
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{
^
|
Build (1.19.x, mongo:5.0, ubuntu-latest, false):
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 {
^
|
Build (1.19.x, percona/percona-server-mongodb:5.0, ubuntu-latest, false):
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
^
|
Build (1.19.x, percona/percona-server-mongodb:5.0, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, percona/percona-server-mongodb:5.0, ubuntu-latest, false):
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{
^
|
Build (1.19.x, percona/percona-server-mongodb:5.0, ubuntu-latest, false):
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 {
^
|
Build (1.19.x, percona/percona-server-mongodb:4.4, ubuntu-latest, false):
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
^
|
Build (1.19.x, percona/percona-server-mongodb:4.4, ubuntu-latest, false):
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() {
^
|
Build (1.19.x, percona/percona-server-mongodb:4.4, ubuntu-latest, false):
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{
^
|
Build (1.19.x, percona/percona-server-mongodb:4.4, ubuntu-latest, false):
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 {
^
|
Build (tip, mongo:4.4, ubuntu-latest, true):
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
^
|
Build (tip, mongo:4.4, ubuntu-latest, true):
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() {
^
|
Build (tip, mongo:4.4, ubuntu-latest, true):
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{
^
|
Build (tip, mongo:4.4, ubuntu-latest, true):
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 {
^
|
Build (1.19.x, mongo:4.4, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|
Build (1.19.x, mongo:4.2, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|
Build (1.19.x, percona/percona-server-mongodb:4.2, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|
Build (1.19.x, mongo:5.0, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|
Build (1.19.x, percona/percona-server-mongodb:5.0, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|
Build (1.19.x, percona/percona-server-mongodb:4.4, ubuntu-latest, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/mongodb_exporter/mongodb_exporter. Supported file pattern: go.sum
|