Skip to content

feat: add metricscardinality to heartbeat #4735

feat: add metricscardinality to heartbeat

feat: add metricscardinality to heartbeat #4735

Triggered via pull request January 17, 2025 18:48
Status Failure
Total duration 6m 1s
Artifacts

golangci-lint.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
Lint (windows, amd64): pkg/telemetry/telemetry.go#L201
avoid direct access to proto field *mf.Type, use mf.GetType() instead (protogetter)
Lint (windows, amd64): pkg/telemetry/telemetry.go#L195
error returned from external package is unwrapped: sig: func (*github.com/prometheus/client_golang/prometheus.Registry).Gather() ([]*github.com/prometheus/client_model/go.MetricFamily, error) (wrapcheck)
Lint (windows, amd64)
issues found
Lint (windows, arm64): pkg/telemetry/telemetry.go#L201
avoid direct access to proto field *mf.Type, use mf.GetType() instead (protogetter)
Lint (windows, arm64): pkg/telemetry/telemetry.go#L195
error returned from external package is unwrapped: sig: func (*github.com/prometheus/client_golang/prometheus.Registry).Gather() ([]*github.com/prometheus/client_model/go.MetricFamily, error) (wrapcheck)
Lint (windows, arm64)
issues found
Lint (linux, arm64): pkg/telemetry/telemetry.go#L201
avoid direct access to proto field *mf.Type, use mf.GetType() instead (protogetter)
Lint (linux, arm64): pkg/telemetry/telemetry.go#L195
error returned from external package is unwrapped: sig: func (*github.com/prometheus/client_golang/prometheus.Registry).Gather() ([]*github.com/prometheus/client_model/go.MetricFamily, error) (wrapcheck)
Lint (linux, arm64)
issues found
Lint (linux, amd64): pkg/telemetry/telemetry.go#L201
avoid direct access to proto field *mf.Type, use mf.GetType() instead (protogetter)
Lint (linux, amd64): pkg/telemetry/telemetry.go#L195
error returned from external package is unwrapped: sig: func (*github.com/prometheus/client_golang/prometheus.Registry).Gather() ([]*github.com/prometheus/client_model/go.MetricFamily, error) (wrapcheck)
Lint (linux, amd64)
issues found
Lint (windows, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (windows, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636