Repository navigation
Commit 55729f8
authored
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` |

|

|
---
> [!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.
[#​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.
[#​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.
[#​1928](https://redirect.github.com/prometheus/client_golang/issues/1928)
- \[FEATURE] testutil: Add `GatherAndFormat` to encode a subset of
metrics from a Gatherer.
[#​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.
[#​2146](https://redirect.github.com/prometheus/client_golang/issues/2146)
- \[ENHANCEMENT] promhttp: Negotiated metrics responses now include a
`Vary` header.
[#​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.
[#​2090](https://redirect.github.com/prometheus/client_golang/issues/2090),
[#​2095](https://redirect.github.com/prometheus/client_golang/issues/2095)
- \[ENHANCEMENT] testutil: Finalize OpenMetrics output in
`GatherAndFormat` and `CollectAndFormat` (terminating `# EOF`).
[#​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`.
[#​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.
[#​2139](https://redirect.github.com/prometheus/client_golang/issues/2139)
- \[BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi".
[#​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​liggi[https://github.com/prometheus/client_golang/pull/2111](https://redirect.github.com/prometheus/client_golang/pull/2111)l/2111
* Improve linting by
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​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
@​kakkoy[https://github.com/prometheus/client_golang/pull/2164](https://redirect.github.com/prometheus/client_golang/pull/2164)l/2164
#### New Contributors
* @​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
* @​zenador made their first
contributi[https://github.com/prometheus/client_golang/pull/1963](https://redirect.github.com/prometheus/client_golang/pull/1963)l/1963
* @​thaJeztah made their first
contributi[https://github.com/prometheus/client_golang/pull/2077](https://redirect.github.com/prometheus/client_golang/pull/2077)l/2077
* @​mvanhorn made their first
contributi[https://github.com/prometheus/client_golang/pull/1987](https://redirect.github.com/prometheus/client_golang/pull/1987)l/1987
* @​wieghx made their first
contributi[https://github.com/prometheus/client_golang/pull/2091](https://redirect.github.com/prometheus/client_golang/pull/2091)l/2091
* @​radianceded made their first
contributi[https://github.com/prometheus/client_golang/pull/2114](https://redirect.github.com/prometheus/client_golang/pull/2114)l/2114
* @​ajavanma made their first
contributi[https://github.com/prometheus/client_golang/pull/2125](https://redirect.github.com/prometheus/client_golang/pull/2125)l/2125
* @​ZainnQureshii made their first
contributi[https://github.com/prometheus/client_golang/pull/2135](https://redirect.github.com/prometheus/client_golang/pull/2135)l/2135
* @​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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
1015 | | - | |
1016 | | - | |
| 1015 | + | |
| 1016 | + | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
| |||
0 commit comments