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

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
go: downloading github.com/prometheus/client_golang v1.24.1
go: downloading k8s.io/apimachinery v0.36.4
go: downloading k8s.io/client-go v0.36.4
go: downloading sigs.k8s.io/controller-runtime v0.24.1
go: downloading github.com/prometheus/common v0.70.1
go: downloading k8s.io/api v0.36.4
go: downloading k8s.io/apiextensions-apiserver v0.36.2
go: downloading k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2
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 k8s.io/component-base v0.36.2
go: downloading golang.org/x/time v0.14.0
go: downloading github.com/fxamacker/cbor/v2 v2.9.0
go: downloading k8s.io/apiserver v0.36.2
go: downloading github.com/go-openapi/swag v0.23.0
go: downloading github.com/go-openapi/jsonreference v0.20.2
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.68.0
go: downloading github.com/klauspost/compress v1.19.1
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-openapi/jsonpointer v0.21.0
go: downloading github.com/josharian/intern v1.0.0
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 2 times, most recently from a51eaa0 to afc5f3b Compare August 21, 2026 01:26
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from afc5f3b to 64bb3ce Compare August 28, 2026 15:00
@renovate renovate Bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.24.1 fix(deps): update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Aug 31, 2026
@renovate renovate Bot closed this Aug 31, 2026
@renovate
renovate Bot deleted the renovate/github.com-prometheus-client_golang-1.x branch August 31, 2026 08:00
@renovate renovate Bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.24.1 - autoclosed fix(deps): update module github.com/prometheus/client_golang to v1.24.1 Aug 31, 2026
@renovate renovate Bot reopened this Aug 31, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 64bb3ce to 48574f6 Compare August 31, 2026 09:40
@renovate renovate Bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.24.1 fix(deps): update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Sep 1, 2026
@renovate renovate Bot closed this Sep 1, 2026
@renovate renovate Bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.24.1 - autoclosed fix(deps): update module github.com/prometheus/client_golang to v1.24.1 Sep 1, 2026
@renovate renovate Bot reopened this Sep 1, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 5 times, most recently from 7e9be70 to daf7a9b Compare September 8, 2026 09:38
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from daf7a9b to 41bfba9 Compare September 14, 2026 13:15
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