Skip to content

[release-2.12] Fix leaky goroutine on metrics-collector (#1733) #2365

[release-2.12] Fix leaky goroutine on metrics-collector (#1733)

[release-2.12] Fix leaky goroutine on metrics-collector (#1733) #2365

Triggered via pull request December 19, 2024 11:35
Status Success
Total duration 7m 7s
Artifacts

lint.yaml

on: pull_request
Formatters + Linters (Static Analysis) for Go
6m 58s
Formatters + Linters (Static Analysis) for Go
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
Formatters + Linters (Static Analysis) for Go: collectors/metrics/pkg/simulator/simulator.go#L71
decoder.Decode undefined (type expfmt.Decoder has no field or method Decode)
Formatters + Linters (Static Analysis) for Go: collectors/metrics/pkg/metricsclient/metricsclient.go#L104
c.metrics.FederateRequests.WithLabelValues("recording", "200").Inc undefined (type prometheus.Counter has no field or method Inc)
Formatters + Linters (Static Analysis) for Go: loaders/dashboards/pkg/util/grafana_util.go#L26
hasher.Write undefined (type hash.Hash has no field or method Write)
Formatters + Linters (Static Analysis) for Go: collectors/metrics/pkg/simulator/simulator.go#L71
decoder.Decode undefined (type expfmt.Decoder has no field or method Decode)
Formatters + Linters (Static Analysis) for Go
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636