Skip to content

fix(deps): update module github.com/prometheus/client_golang to v1.24.1 - #982

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-prometheus-client_golang-1.x
Open

fix(deps): update module github.com/prometheus/client_golang to v1.24.1#982
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-prometheus-client_golang-1.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/prometheus/client_golang v1.23.2v1.24.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.24.1

Compare Source

v1.24.0: - 2026-07-20

Compare Source

Changes
  • [CHANGE] Minimum required Go version is now 1.25, only the two latest Go versions (1.25 and 1.26) are supported from now on. #​1862
  • [CHANGE] prometheus: Name validation now always uses the UTF-8 scheme instead of the deprecated model.NameValidationScheme global. Default behavior is unchanged; code that set NameValidationScheme = LegacyValidation no longer gets legacy enforcement at metric, label, and push-grouping construction. #​2051
  • [CHANGE] api/prometheus/v1: Support matchers (matches[] parameter) in Rules method (Rules(ctx context.Context, matches []string) (RulesResult, error)). #​1843
  • [CHANGE] api/prometheus/v1: Refactor LabelNames method to return model.LabelNames instead of []string for consistency across the API. #​1850
  • [CHANGE] exp/api/remote: Simplify Store interface, rename Handler to WriteHandler, and encapsulate write response handling. #​1855
  • [FEATURE] prometheus: Add new Go 1.26 runtime metrics (/sched/goroutines-created:goroutines, /sched/goroutines/not-in-go:goroutines, /sched/goroutines/runnable:goroutines, /sched/goroutines/running:goroutines, /sched/goroutines/waiting:goroutines, /sched/threads/total:threads). #​1942
  • [FEATURE] prometheus: Add WithUnit(unit string) option and explicit OpenMetrics unit support in CounterOpts, GaugeOpts, SummaryOpts, and HistogramOpts. #​1392
  • [FEATURE] prometheus: Expose descriptor construction error through public Err() method on Desc. #​1902
  • [FEATURE] promhttp: Add opt-in HandlerOpts.CoalesceGather to deduplicate concurrent Gather calls so overlapping scrapes share one collection cycle, preventing goroutine pile-up when the scrape rate outpaces collection time. #​1969
  • [FEATURE] promhttp: HTTP handlers created by promhttp package now support metrics filtering by providing one or more name[] query parameters. The default behavior when none are provided remains the same, returning all metrics. #​1925
  • [FEATURE] api/prometheus/v1: Add query formatting endpoint support (/format_query) and FormatQuery(ctx context.Context, query string) (string, error) method. #​1846, #​1856
  • [FEATURE] api/prometheus/v1: Add support for /status/tsdb/blocks endpoint via TSDBBlocks(ctx context.Context) ([]TSDBBlock, error) method. #​1896
  • [FEATURE] exp/api/remote: Export BackoffConfig to allow customization when using WithAPIBackoff. #​1895
  • [FEATURE] exp/api/remote: Add RetryCallBack to allow custom logging or handling on retry attempts in the remote write client. #​1888, #​1890
  • [ENHANCEMENT] prometheus/collectors/version: Allow specifying custom labels when registering the version collector. #​1860
  • [ENHANCEMENT] api: Use cloned http.DefaultTransport when constructing default HTTP clients to prevent accidental mutations of shared global transport state. #​1885
  • [BUGFIX] prometheus: Recover from collector panics during Gather() and return an error instead of crashing the process. #​1961
  • [BUGFIX] prometheus: Fix cpu-seconds unit suffix handling for metric go_cpu_classes_gc_mark_assist_cpu_seconds. #​1991
  • [BUGFIX] promhttp: InstrumentHandlerDuration and InstrumentHandlerCounter no longer panic when given an observer/counter that does not implement ExemplarObserver/ExemplarAdder (e.g. a SummaryVec). The exemplar is dropped and the value is recorded via the plain Observe/Add path, matching the safe-cast already used by Timer.ObserveDurationWithExemplar. #​2005
  • [BUGFIX] api/prometheus/v1: Fall back to GET requests when POST requests return 403 Forbidden or method not allowed. #​2030
  • [BUGFIX] api: Respect context cancellation inside httpClient.Do. #​1971
  • [BUGFIX] exp/api/remote: Fix compression buffer pooling where compressed buffers were released prematurely, causing corrupted remote-write payloads. #​1889
  • [BUGFIX] exp/api/remote: Reject malformed snappy payloads declaring huge decoded sizes. Enforce a 32MB decoded-size limit to prevent OOM from oversized remote-write requests. #​1917
  • [BUGFIX] exp/api/remote: Ensure remote write v2 headers cannot be returned on v1 requests. #​1927
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.23.2...v1.24.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner July 20, 2026 22:31
@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate PR created by RenovateBot labels Jul 20, 2026
@renovate

renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: downloading github.com/giantswarm/backoff v1.0.1
go: downloading github.com/giantswarm/kubeconfig/v4 v4.1.4
go: downloading github.com/giantswarm/microerror v0.4.1
go: downloading github.com/giantswarm/micrologger v1.1.2
go: downloading github.com/opencontainers/image-spec v1.1.1
go: downloading github.com/prometheus/client_golang v1.24.1
go: downloading github.com/spf13/afero v1.15.0
go: downloading helm.sh/helm/v3 v3.21.4
go: downloading k8s.io/apimachinery v0.36.3
go: downloading k8s.io/client-go v0.36.3
go: downloading oras.land/oras-go v1.2.7
go: downloading sigs.k8s.io/controller-runtime v0.24.1
go: downloading github.com/cenkalti/backoff/v4 v4.3.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/go-kit/log v0.2.1
go: downloading github.com/go-logr/logr v1.4.3
go: downloading github.com/go-stack/stack v1.8.1
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.2
go: downloading github.com/prometheus/common v0.70.1
go: downloading github.com/prometheus/procfs v0.21.1
go: downloading golang.org/x/sys v0.47.0
go: downloading google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af
go: downloading golang.org/x/text v0.40.0
go: downloading github.com/Masterminds/semver/v3 v3.5.0
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/gosuri/uitable v0.0.4
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/term v0.45.0
go: downloading k8s.io/api v0.36.3
go: downloading k8s.io/cli-runtime v0.36.2
go: downloading sigs.k8s.io/yaml v1.6.0
go: downloading github.com/evanphx/json-patch v5.9.11+incompatible
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading k8s.io/apiextensions-apiserver v0.36.2
go: downloading k8s.io/kubectl v0.36.2
go: downloading oras.land/oras-go/v2 v2.6.1
go: downloading github.com/Masterminds/squirrel v1.5.4
go: downloading github.com/jmoiron/sqlx v1.4.0
go: downloading github.com/lib/pq v1.12.3
go: downloading github.com/rubenv/sql-migrate v1.8.1
go: downloading k8s.io/klog/v2 v2.140.0
go: downloading github.com/google/gnostic-models v0.7.0
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/net v0.57.0
go: downloading k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/containerd/containerd v1.7.33
go: downloading golang.org/x/sync v0.22.0
go: downloading sigs.k8s.io/randfill v1.0.0
go: downloading github.com/go-logfmt/logfmt v0.6.0
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading github.com/spf13/cast v1.7.0
go: downloading golang.org/x/crypto v0.54.0
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/cyphar/filepath-securejoin v0.7.0
go: downloading github.com/santhosh-tekuri/jsonschema/v6 v6.0.2
go: downloading github.com/BurntSushi/toml v1.6.0
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/ProtonMail/go-crypto v1.4.1
go: downloading k8s.io/kube-openapi v0.0.0-20260317180543-43fb72c5454a
go: downloading sigs.k8s.io/structured-merge-diff/v6 v6.3.3
go: downloading github.com/spf13/cobra v1.10.2
go: downloading gopkg.in/evanphx/json-patch.v4 v4.13.0
go: downloading github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de
go: downloading github.com/moby/term v0.5.2
go: downloading go.yaml.in/yaml/v2 v2.4.4
go: downloading sigs.k8s.io/kustomize/api v0.21.1
go: downloading sigs.k8s.io/kustomize/kyaml v0.21.1
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading k8s.io/component-base v0.36.2
go: downloading github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f
go: downloading github.com/lann/builder v0.0.0-20180802200727-47ae307949d0
go: downloading github.com/go-gorp/gorp/v3 v3.1.0
go: downloading go.yaml.in/yaml/v3 v3.0.4
go: downloading golang.org/x/time v0.14.0
go: downloading github.com/fxamacker/cbor/v2 v2.9.0
go: downloading golang.org/x/oauth2 v0.36.0
go: downloading github.com/containerd/log v0.1.0
go: downloading github.com/sirupsen/logrus v1.9.4
go: downloading github.com/containerd/errdefs v0.3.0
go: downloading google.golang.org/grpc v1.82.1
go: downloading github.com/containerd/platforms v0.2.1
go: downloading github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24
go: downloading github.com/moby/locker v1.0.1
go: downloading github.com/docker/cli v28.5.1+incompatible
go: downloading github.com/docker/distribution v0.0.0-20191216044856-a8371794149d
go: downloading github.com/moby/moby v28.5.2+incompatible
go: downloading github.com/docker/go-connections v0.6.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-isatty v0.0.17
go: downloading github.com/mattn/go-runewidth v0.0.9
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading k8s.io/apiserver v0.36.2
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/peterbourgon/diskv v2.0.1+incompatible
go: downloading github.com/go-openapi/swag v0.23.0
go: downloading github.com/go-openapi/jsonreference v0.20.2
go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
go: downloading github.com/chai2010/gettext-go v1.0.2
go: downloading github.com/MakeNowJust/heredoc v1.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: downloading github.com/russross/blackfriday/v2 v2.1.0
go: downloading github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0
go: downloading github.com/x448/float16 v0.8.4
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0
go: downloading go.opentelemetry.io/otel v1.44.0
go: downloading go.opentelemetry.io/otel/trace v1.44.0
go: downloading github.com/docker/docker-credential-helpers v0.9.5
go: downloading github.com/distribution/reference v0.6.0
go: downloading github.com/klauspost/compress v1.19.1
go: downloading github.com/cloudflare/circl v1.6.3
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee
go: downloading github.com/google/btree v1.1.3
go: downloading github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/go-errors/errors v1.4.2
go: downloading github.com/emicklei/go-restful/v3 v3.13.0
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading go.opentelemetry.io/otel/metric v1.44.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00
go: downloading github.com/xlab/treeprint v1.2.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading go.opentelemetry.io/auto/sdk v1.2.1
go: downloading github.com/gorilla/mux v1.8.1
go: downloading github.com/docker/go-metrics v0.0.1
go: github.com/golang-jwt/jwt/v5@v5.3.1 used for two different module paths (github.com/dgrijalva/jwt-go and github.com/golang-jwt/jwt/v5)

@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 6f41d77 to 9257f31 Compare July 24, 2026 10:51
@renovate renovate Bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.24.0 fix(deps): update module github.com/prometheus/client_golang to v1.24.1 Jul 24, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 6 times, most recently from 6f4cb92 to 9b989ea Compare August 18, 2026 12:48
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 9b989ea to a51eaa0 Compare August 19, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate PR created by RenovateBot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants