Skip to content

Commit 55729f8

Browse files
chore(deps): update module github.com/prometheus/client_golang to v1.25.0 (9.4) (#9013)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/prometheus/client_golang](https://redirect.github.com/prometheus/client_golang) | `v1.24.1` → `v1.25.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.25.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.24.1/v1.25.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/3700) for more information. --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.25.0`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.25.0) [Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0) :warning: This release raises the minimum required Go version to 1.26 and includes breaking API changes in `api/prometheus/v1` (see the \[CHANGE] entries below). :warning: #### 1.25.0 / 2026-10-07 - \[CHANGE] Minimum required Go version is now 1.26, only the two latest Go versions (1.26 and 1.27) are supported from now on. [#&#8203;2138](https://redirect.github.com/prometheus/client_golang/issues/2138) - \[CHANGE] api/prometheus/v1: `Query`, `QueryRange`, `Series`, `LabelNames`, and `LabelValues` now return `Infos` annotations in addition to `Warnings`, matching the Prometheus server's info annotations. This changes the signatures of these methods and of `api.Client`'s `Do`/`DoGetFallback`; custom API client implementations must be updated. [#&#8203;1963](https://redirect.github.com/prometheus/client_golang/issues/1963) - \[CHANGE] api/prometheus/v1: Rework `TSDBBlocks` result types to align with the Prometheus server's `tsdb.BlockMeta`: `TSDBBlocksResult` now contains `Blocks []TSDBBlockMeta` directly instead of mirroring the full API envelope, nested types are renamed (`TSDBBlockMeta`, `TSDBBlockStats`, `TSDBBlockMetaCompaction`), stat fields are `uint64` with `omitempty` tags, and the optional compaction `parents` field is included. [#&#8203;1928](https://redirect.github.com/prometheus/client_golang/issues/1928) - \[FEATURE] testutil: Add `GatherAndFormat` to encode a subset of metrics from a Gatherer. [#&#8203;2091](https://redirect.github.com/prometheus/client_golang/issues/2091) - \[FEATURE] promhttp: Add `HandlerOpts.AcceptedFormats` to customize the formats negotiated from the incoming `Accept` header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. [#&#8203;2146](https://redirect.github.com/prometheus/client_golang/issues/2146) - \[ENHANCEMENT] promhttp: Negotiated metrics responses now include a `Vary` header. [#&#8203;2142](https://redirect.github.com/prometheus/client_golang/issues/2142) - \[ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. [#&#8203;2090](https://redirect.github.com/prometheus/client_golang/issues/2090), [#&#8203;2095](https://redirect.github.com/prometheus/client_golang/issues/2095) - \[ENHANCEMENT] testutil: Finalize OpenMetrics output in `GatherAndFormat` and `CollectAndFormat` (terminating `# EOF`). [#&#8203;2125](https://redirect.github.com/prometheus/client_golang/issues/2125) - \[BUGFIX] api: Match complete URL path placeholders only; a `:foo` argument no longer substitutes inside `:foobar`. [#&#8203;2136](https://redirect.github.com/prometheus/client_golang/issues/2136) - \[BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. [#&#8203;2139](https://redirect.github.com/prometheus/client_golang/issues/2139) - \[BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". [#&#8203;2135](https://redirect.github.com/prometheus/client_golang/issues/2135) <details> <summary> What's changed </summary> #### What's Changed * fix: Remove unneeded and broken CI badge by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2057](https://redirect.github.com/prometheus/client_golang/pull/2057)l/2057 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2060](https://redirect.github.com/prometheus/client_golang/pull/2060)l/2060 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2066](https://redirect.github.com/prometheus/client_golang/pull/2066)l/2066 * build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2071](https://redirect.github.com/prometheus/client_golang/pull/2071)l/2071 * build(deps): bump golang.org/x/sys from 0.46.0 to 0.47.0 in the golang-org-x group across 1 directory by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2069](https://redirect.github.com/prometheus/client_golang/pull/2069)l/2069 * build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 in /exp by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2072](https://redirect.github.com/prometheus/client_golang/pull/2072)l/2072 * build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 in /exp by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2073](https://redirect.github.com/prometheus/client_golang/pull/2073)l/2073 * build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2070](https://redirect.github.com/prometheus/client_golang/pull/2070)l/2070 * build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2075](https://redirect.github.com/prometheus/client_golang/pull/2075)l/2075 * Pin GitHub Actions by @&#8203;Supe[https://github.com/prometheus/client_golang/pull/2074](https://redirect.github.com/prometheus/client_golang/pull/2074)l/2074 * build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2067](https://redirect.github.com/prometheus/client_golang/pull/2067)l/2067 * promhttp: fix panic on requests with nil URL by @&#8203;SAY[https://github.com/prometheus/client_golang/pull/2065](https://redirect.github.com/prometheus/client_golang/pull/2065)l/2065 * Return info annotations in addition to warnings in the API by @&#8203;zenad[https://github.com/prometheus/client_golang/pull/1963](https://redirect.github.com/prometheus/client_golang/pull/1963)l/1963 * build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2082](https://redirect.github.com/prometheus/client_golang/pull/2082)l/2082 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2084](https://redirect.github.com/prometheus/client_golang/pull/2084)l/2084 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2086](https://redirect.github.com/prometheus/client_golang/pull/2086)l/2086 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2088](https://redirect.github.com/prometheus/client_golang/pull/2088)l/2088 * Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2090](https://redirect.github.com/prometheus/client_golang/pull/2090)l/2090 * go.mod: remove obsolete exclude rule by @&#8203;thaJezt[https://github.com/prometheus/client_golang/pull/2077](https://redirect.github.com/prometheus/client_golang/pull/2077)l/2077 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2093](https://redirect.github.com/prometheus/client_golang/pull/2093)l/2093 * README: document the OpenTelemetry OTLP push bridge by @&#8203;mvanho[https://github.com/prometheus/client_golang/pull/1987](https://redirect.github.com/prometheus/client_golang/pull/1987)l/1987 * docs: add AGENTS.md contributor and maintainer guide by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2056](https://redirect.github.com/prometheus/client_golang/pull/2056)l/2056 * testutil: add GatherAndFormat helper by @&#8203;wieg[https://github.com/prometheus/client_golang/pull/2091](https://redirect.github.com/prometheus/client_golang/pull/2091)l/2091 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2101](https://redirect.github.com/prometheus/client_golang/pull/2101)l/2101 * build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2097](https://redirect.github.com/prometheus/client_golang/pull/2097)l/2097 * build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2098](https://redirect.github.com/prometheus/client_golang/pull/2098)l/2098 * build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 in /exp by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2099](https://redirect.github.com/prometheus/client_golang/pull/2099)l/2099 * build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 in /exp by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2100](https://redirect.github.com/prometheus/client_golang/pull/2100)l/2100 * build(deps): bump github.com/prometheus/procfs from 0.21.1 to 0.22.0 in the prometheus group across 1 directory by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2096](https://redirect.github.com/prometheus/client_golang/pull/2096)l/2096 * build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2102](https://redirect.github.com/prometheus/client_golang/pull/2102)l/2102 * chore: Update metrics for new Go version by @&#8203;github-actions[bo[https://github.com/prometheus/client_golang/pull/2095](https://redirect.github.com/prometheus/client_golang/pull/2095)l/2095 * Benchmark json-iter, stdlib json and json/v2 by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2107](https://redirect.github.com/prometheus/client_golang/pull/2107)l/2107 * build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2112](https://redirect.github.com/prometheus/client_golang/pull/2112)l/2112 * RuleGroup: use stdlib for json decoding, optimize decoding by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2109](https://redirect.github.com/prometheus/client_golang/pull/2109)l/2109 * Modernize micro benchmarks: b.Loop and key=value case names by @&#8203;radianced[https://github.com/prometheus/client_golang/pull/2114](https://redirect.github.com/prometheus/client_golang/pull/2114)l/2114 * QueryResult: use stdlib for envelope decoding by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2110](https://redirect.github.com/prometheus/client_golang/pull/2110)l/2110 * Use stdlib to decode apiResult envelope by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2111](https://redirect.github.com/prometheus/client_golang/pull/2111)l/2111 * Improve linting by @&#8203;Supe[https://github.com/prometheus/client_golang/pull/2115](https://redirect.github.com/prometheus/client_golang/pull/2115)l/2115 * Delete unused custom json-iterator marshaling by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2121](https://redirect.github.com/prometheus/client_golang/pull/2121)l/2121 * Simplify apiClientImpl#Do error path by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2120](https://redirect.github.com/prometheus/client_golang/pull/2120)l/2120 * testutil: finalize OpenMetrics output by @&#8203;ajavan[https://github.com/prometheus/client_golang/pull/2125](https://redirect.github.com/prometheus/client_golang/pull/2125)l/2125 * build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2124](https://redirect.github.com/prometheus/client_golang/pull/2124)l/2124 * Synchronize common files from prometheus/prometheus by @&#8203;promb[https://github.com/prometheus/client_golang/pull/2116](https://redirect.github.com/prometheus/client_golang/pull/2116)l/2116 * prometheus: fix revive indent-error-flow lint on Darwin by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2131](https://redirect.github.com/prometheus/client_golang/pull/2131)l/2131 * build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.34.0 to 1.45.0 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2123](https://redirect.github.com/prometheus/client_golang/pull/2123)l/2123 * Combine envelope/inner apiResponse decoding, switch to stdlib json by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2118](https://redirect.github.com/prometheus/client_golang/pull/2118)l/2118 * build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.34.0 to 1.45.0 in /tutorials/whatsup by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2122](https://redirect.github.com/prometheus/client_golang/pull/2122)l/2122 * testutil/promlint: fix "mibi" unit prefix to "mebi" by @&#8203;ZainnQuresh[https://github.com/prometheus/client_golang/pull/2135](https://redirect.github.com/prometheus/client_golang/pull/2135)l/2135 * all: update prometheus/common to v0.72.0 and apply modernize fixes by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2138](https://redirect.github.com/prometheus/client_golang/pull/2138)l/2138 * limit json-iterator use to Go 1.26 by @&#8203;liggi[https://github.com/prometheus/client_golang/pull/2128](https://redirect.github.com/prometheus/client_golang/pull/2128)l/2128 * promhttp: add AcceptedFormats option to customize format negotiation by @&#8203;bwplot[https://github.com/prometheus/client_golang/pull/2146](https://redirect.github.com/prometheus/client_golang/pull/2146)l/2146 * build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2143](https://redirect.github.com/prometheus/client_golang/pull/2143)l/2143 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2145](https://redirect.github.com/prometheus/client_golang/pull/2145)l/2145 * build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 in /exp by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2144](https://redirect.github.com/prometheus/client_golang/pull/2144)l/2144 * promhttp: vary negotiated metrics responses by @&#8203;lowga[https://github.com/prometheus/client_golang/pull/2142](https://redirect.github.com/prometheus/client_golang/pull/2142)l/2142 * exp/api/remote: reset pooled buffer before generic marshal by @&#8203;lowga[https://github.com/prometheus/client_golang/pull/2139](https://redirect.github.com/prometheus/client_golang/pull/2139)l/2139 * api: match complete URL placeholders by @&#8203;lowga[https://github.com/prometheus/client_golang/pull/2136](https://redirect.github.com/prometheus/client_golang/pull/2136)l/2136 * fix: updates for tsdb blocks handling by @&#8203;tjh[https://github.com/prometheus/client_golang/pull/1928](https://redirect.github.com/prometheus/client_golang/pull/1928)l/1928 * prometheus: fix modernize lint findings by @&#8203;kakkoy[https://github.com/prometheus/client_golang/pull/2151](https://redirect.github.com/prometheus/client_golang/pull/2151)l/2151 * build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.2 in /api/prometheus/v1/paritytest by @&#8203;dependabot[bo[https://github.com/prometheus/client_golang/pull/2152](https://redirect.github.com/prometheus/client_golang/pull/2152)l/2152 * Cut v1.25.0-rc.0 by @&#8203;kakkoy[https://github.com/prometheus/client_golang/pull/2154](https://redirect.github.com/prometheus/client_golang/pull/2154)l/2154 * Cut v1.25.0 by @&#8203;kakkoy[https://github.com/prometheus/client_golang/pull/2164](https://redirect.github.com/prometheus/client_golang/pull/2164)l/2164 #### New Contributors * @&#8203;SAY-5 made their first contributi[https://github.com/prometheus/client_golang/pull/2065](https://redirect.github.com/prometheus/client_golang/pull/2065)l/2065 * @&#8203;zenador made their first contributi[https://github.com/prometheus/client_golang/pull/1963](https://redirect.github.com/prometheus/client_golang/pull/1963)l/1963 * @&#8203;thaJeztah made their first contributi[https://github.com/prometheus/client_golang/pull/2077](https://redirect.github.com/prometheus/client_golang/pull/2077)l/2077 * @&#8203;mvanhorn made their first contributi[https://github.com/prometheus/client_golang/pull/1987](https://redirect.github.com/prometheus/client_golang/pull/1987)l/1987 * @&#8203;wieghx made their first contributi[https://github.com/prometheus/client_golang/pull/2091](https://redirect.github.com/prometheus/client_golang/pull/2091)l/2091 * @&#8203;radianceded made their first contributi[https://github.com/prometheus/client_golang/pull/2114](https://redirect.github.com/prometheus/client_golang/pull/2114)l/2114 * @&#8203;ajavanma made their first contributi[https://github.com/prometheus/client_golang/pull/2125](https://redirect.github.com/prometheus/client_golang/pull/2125)l/2125 * @&#8203;ZainnQureshii made their first contributi[https://github.com/prometheus/client_golang/pull/2135](https://redirect.github.com/prometheus/client_golang/pull/2135)l/2135 * @&#8203;lowgame made their first contributi[https://github.com/prometheus/client_golang/pull/2142](https://redirect.github.com/prometheus/client_golang/pull/2142)l/2142 **Full Changelog**: <prometheus/client_golang@v1.24.1...v1.25.0> </details> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 01:00 AM and 01:59 AM, Monday through Friday (`* 1 * * 1-5`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTUuNiIsInVwZGF0ZWRJblZlciI6IjQ0LjExNS42IiwidGFyZ2V0QnJhbmNoIjoiOS40IiwibGFiZWxzIjpbIlRlYW06U2VjdXJpdHktQ2xvdWQgU2VydmljZXMiLCJiYWNrcG9ydC1za2lwIiwiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGUiLCJyZW5vdmF0ZS1hdXRvLWFwcHJvdmUiXX0=--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
1 parent 9a77c99 commit 55729f8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ require (
495495
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
496496
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
497497
github.com/power-devops/perfstat v0.0.0-20260916203055-22a1a467d9f0 // indirect
498-
github.com/prometheus/client_golang v1.24.1 // indirect
498+
github.com/prometheus/client_golang v1.25.0 // indirect
499499
github.com/prometheus/client_model v0.6.3 // indirect
500500
github.com/prometheus/common v0.72.0 // indirect
501501
github.com/prometheus/procfs v0.22.0 // indirect

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,8 +1012,8 @@ github.com/power-devops/perfstat v0.0.0-20260916203055-22a1a467d9f0 h1:XA01Vk/wv
10121012
github.com/power-devops/perfstat v0.0.0-20260916203055-22a1a467d9f0/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
10131013
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
10141014
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
1015-
github.com/prometheus/client_golang v1.24.1 h1:JnJkREXzWxUdCuPFpIWZiPispT9xVV59uiuyR2bPlnU=
1016-
github.com/prometheus/client_golang v1.24.1/go.mod h1:F+oSRECHg4sse5ucfYpYDeIv/hu68Zo0uoHKetWnzcE=
1015+
github.com/prometheus/client_golang v1.25.0 h1:cDtW1TcFsMi1RJc8khwCKB4VhzwV04aKqbYtNOXuiK0=
1016+
github.com/prometheus/client_golang v1.25.0/go.mod h1:j2X/4/kaQHLPnmyEU8zjmkndo1T317VpCIQEml8LTKk=
10171017
github.com/prometheus/client_model v0.6.3 h1:O0jaTVAYNxTHYInEPFJt5I3+sN8zqBtVMPTB1qyxiEo=
10181018
github.com/prometheus/client_model v0.6.3/go.mod h1:gpN5P9S7Rr6Yr92PiQ+Ixvhf6JZEkF1dnxsYL2aPBEM=
10191019
github.com/prometheus/common v0.72.0 h1:tAYsE+sPJxIncDAobm4H5aQjmox9ZxEIIqPbiffa8G4=

0 commit comments

Comments
 (0)