Skip to content

Add networkobservability_build_info Prometheus metric #7792

Add networkobservability_build_info Prometheus metric

Add networkobservability_build_info Prometheus metric #7792

Re-run triggered February 14, 2026 04:12
Status Failure
Total duration 5m 48s
Artifacts

golangci-lint.yaml

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

Annotations

24 errors
Lint (windows, amd64)
issues found
Lint (windows, amd64): pkg/metrics/metrics_test.go#L66
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (windows, amd64): pkg/metrics/metrics_test.go#L65
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (windows, amd64): pkg/metrics/metrics_test.go#L61
avoid direct access to proto field metric.Gauge, use metric.GetGauge() instead (protogetter)
Lint (windows, amd64): pkg/metrics/metrics_test.go#L20
The line is 205 characters long, which exceeds the maximum of 200 characters. (lll)
Lint (windows, amd64): pkg/metrics/metrics_test.go#L42
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, arm64)
issues found
Lint (windows, arm64): pkg/metrics/metrics_test.go#L66
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (windows, arm64): pkg/metrics/metrics_test.go#L65
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (windows, arm64): pkg/metrics/metrics_test.go#L61
avoid direct access to proto field metric.Gauge, use metric.GetGauge() instead (protogetter)
Lint (windows, arm64): pkg/metrics/metrics_test.go#L20
The line is 205 characters long, which exceeds the maximum of 200 characters. (lll)
Lint (windows, arm64): pkg/metrics/metrics_test.go#L42
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (linux, amd64)
issues found
Lint (linux, amd64): pkg/metrics/metrics_test.go#L66
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (linux, amd64): pkg/metrics/metrics_test.go#L65
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (linux, amd64): pkg/metrics/metrics_test.go#L61
avoid direct access to proto field metric.Gauge, use metric.GetGauge() instead (protogetter)
Lint (linux, amd64): pkg/metrics/metrics_test.go#L20
The line is 205 characters long, which exceeds the maximum of 200 characters. (lll)
Lint (linux, amd64): pkg/metrics/metrics_test.go#L42
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (linux, arm64)
issues found
Lint (linux, arm64): pkg/metrics/metrics_test.go#L66
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (linux, arm64): pkg/metrics/metrics_test.go#L65
avoid direct access to proto field *metric.Gauge.Value, use metric.GetGauge().GetValue() instead (protogetter)
Lint (linux, arm64): pkg/metrics/metrics_test.go#L61
avoid direct access to proto field metric.Gauge, use metric.GetGauge() instead (protogetter)
Lint (linux, arm64): pkg/metrics/metrics_test.go#L20
The line is 205 characters long, which exceeds the maximum of 200 characters. (lll)
Lint (linux, arm64): pkg/metrics/metrics_test.go#L42
Error return value of `log.SetupZapLogger` is not checked (errcheck)