Skip to content

fix(deps): update module github.com/prometheus/client_golang to v1.21.0 #1556

fix(deps): update module github.com/prometheus/client_golang to v1.21.0

fix(deps): update module github.com/prometheus/client_golang to v1.21.0 #1556

Triggered via pull request February 15, 2025 00:44
Status Failure
Total duration 6m 38s
Artifacts

push_pr.yml

on: pull_request
Run all static analysis checks
1m 38s
Run all static analysis checks
Run unit tests on *Nix
1m 19s
Run unit tests on *Nix
Run unit tests on Windows
2m 3s
Run unit tests on Windows
Build binary for all platforms:arch
6m 31s
Build binary for all platforms:arch
Matrix: Helm chart Lint
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
Run unit tests on *Nix
Process completed with exit code 2.
Run all static analysis checks: internal/pkg/prometheus/prometheus.go#L72
undefined: expfmt.FmtText (typecheck)
Run all static analysis checks: internal/integration/fetcher.go#L25
could not import github.com/newrelic/nri-prometheus/internal/pkg/prometheus (-: # github.com/newrelic/nri-prometheus/internal/pkg/prometheus
Run all static analysis checks: internal/pkg/prometheus/prometheus.go#L72
undefined: expfmt.FmtText) (typecheck)
Run all static analysis checks: internal/pkg/prometheus/prometheus_test.go#L12
could not import github.com/newrelic/nri-prometheus/internal/pkg/prometheus (-: # github.com/newrelic/nri-prometheus/internal/pkg/prometheus
Run all static analysis checks: internal/pkg/prometheus/prometheus.go#L72
undefined: expfmt.FmtText) (typecheck)
Run all static analysis checks
issues found
Run unit tests on Windows
undefined: expfmt.FmtText
Run unit tests on Windows
Process completed with exit code 1.
Build binary for all platforms:arch
Process completed with exit code 2.
Run all static analysis checks
Cache not found for keys: golangci-lint.cache-Linux-2876-a1b6b7498352d2530082d750225dc288ec95bb00, golangci-lint.cache-Linux-2876-
Run all static analysis checks
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.6-d1eb3cc378a9c737b31175d9426cf713956b2b09bfa6436bb1a5af805c5ce72e
Run unit tests on Windows
Restore cache failed: Dependencies file is not found in D:\a\nri-prometheus\nri-prometheus. Supported file pattern: go.sum