Skip to content

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

Open
rwunderer wants to merge 1 commit into
mainfrom
github-renovate/go-modules
Open

fix(deps): update module github.com/prometheus/client_golang to v1.24.1#69
rwunderer wants to merge 1 commit into
mainfrom
github-renovate/go-modules

Conversation

@rwunderer

@rwunderer rwunderer commented Jul 20, 2026

Copy link
Copy Markdown
Owner

This PR contains the following updates:

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

Release Notes

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

v1.24.1: / 2026-07-23

Compare Source

Small bugfix release for promhttp.

What's Changed

[BUGFIX] promhttp: Fix panic on requests with nil URL. #​2065

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

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
    • Between 12:00 AM and 05:59 AM (* 0-5 * * *)

🚦 Automerge: Enabled.

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 has been generated by Mend Renovate.

@rwunderer

rwunderer commented Jul 20, 2026

Copy link
Copy Markdown
Owner 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 mod tidy
go: downloading github.com/golang/mock v1.6.0
go: downloading github.com/google/go-licenses v1.6.0
go: downloading gotest.tools/gotestsum v1.13.0
go: downloading github.com/klauspost/compress v1.19.1
go: downloading go.uber.org/goleak v1.3.0
go: downloading gopkg.in/dnaeon/go-vcr.v3 v3.1.2
go: downloading github.com/otiai10/copy v1.14.0
go: downloading github.com/spf13/cobra v1.10.1
go: downloading github.com/openshift/client-go v0.0.0-20251015124057-db0dee36e235
go: downloading istio.io/client-go v1.29.1
go: downloading sigs.k8s.io/gateway-api v1.5.1
go: downloading github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
go: downloading gopkg.in/src-d/go-git.v4 v4.13.1
go: downloading github.com/dnephin/pflag v1.0.7
go: downloading github.com/fatih/color v1.18.0
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading gotest.tools/v3 v3.5.2
go: downloading github.com/otiai10/mint v1.5.1
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/spf13/pflag v1.0.10
go: downloading github.com/onsi/ginkgo/v2 v2.27.2
go: downloading github.com/onsi/gomega v1.38.2
go: downloading github.com/stretchr/objx v0.5.3
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading go.opencensus.io v0.24.0
go: downloading github.com/google/go-replayers/httpreplay v1.2.0
go: downloading github.com/sergi/go-diff v1.2.0
go: downloading golang.org/x/crypto v0.54.0
go: downloading gopkg.in/src-d/go-billy.v4 v4.3.2
go: downloading gopkg.in/src-d/go-git-fixtures.v3 v3.5.0
go: downloading github.com/mattn/go-colorable v0.1.14
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/fsnotify/fsnotify v1.9.0
go: downloading github.com/bitfield/gotestdox v0.2.2
go: downloading github.com/kr/pretty v0.3.1
go: downloading k8s.io/apiextensions-apiserver v0.35.0
go: downloading github.com/go-logr/zapr v1.3.0
go: downloading go.uber.org/zap v1.27.0
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/emirpasic/gods v1.12.0
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/openshift/api v0.0.0-20251015095338-264e80a2b6e7
go: downloading github.com/rogpeppe/go-internal v1.14.1
go: downloading github.com/kr/text v0.2.0
go: downloading go.uber.org/multierr v1.11.0
go: downloading istio.io/api v1.29.1
go: downloading github.com/google/martian/v3 v3.3.2
go: downloading github.com/google/martian v2.1.0+incompatible
go: downloading github.com/src-d/gcfg v1.4.0
go: downloading github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/xanzy/ssh-agent v0.2.1
go: downloading github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
go: downloading github.com/gliderlabs/ssh v0.2.2
go: downloading github.com/go-openapi/testify/v2 v2.0.2
go: downloading github.com/Masterminds/semver/v3 v3.4.0
go: downloading github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7
go: downloading github.com/golang/protobuf v1.5.4
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20260316180232-0b37fe3546d5
go: downloading google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/go-openapi/swag/jsonutils/fixtures_test v0.25.4
go: downloading github.com/go-openapi/testify/enable/yaml/v2 v2.0.2
go: downloading github.com/go-task/slim-sprig/v3 v3.0.0
go: downloading github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: downloading github.com/google/pprof v0.0.0-20250607225305-033d6d78b36a
go: external-dns-cloudns-webhook/internal/cloudns imports
	sigs.k8s.io/external-dns/plan tested by
	sigs.k8s.io/external-dns/plan.test imports
	sigs.k8s.io/external-dns/internal/testutils imports
	istio.io/client-go/pkg/clientset/versioned imports
	istio.io/client-go/pkg/clientset/versioned/typed/extensions/v1alpha1 imports
	istio.io/client-go/pkg/apis/extensions/v1alpha1 imports
	istio.io/api/extensions/v1alpha1 imports
	google.golang.org/genproto/googleapis/api/annotations: ambiguous import: found package google.golang.org/genproto/googleapis/api/annotations in multiple modules:
	google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959 (/tmp/renovate/cache/others/go/pkg/mod/google.golang.org/genproto@v0.0.0-20220815135757-37a418bb8959/googleapis/api/annotations)
	google.golang.org/genproto/googleapis/api v0.0.0-20260316180232-0b37fe3546d5 (/tmp/renovate/cache/others/go/pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20260316180232-0b37fe3546d5/annotations)

@rwunderer
rwunderer force-pushed the github-renovate/go-modules branch 4 times, most recently from 0085527 to b64e456 Compare July 24, 2026 10:26
@rwunderer rwunderer 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
@rwunderer
rwunderer force-pushed the github-renovate/go-modules branch from b64e456 to f77469d Compare July 24, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants