Update module github.com/prometheus/client_golang to v1.25.0 #9157
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9157"
general
weight: 0.35
pellared
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/prometheus/client_golang |
v1.24.1→v1.25.0| !age | !confidence |---
Release Notes
<details>
<summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary>
v1.25.0Compare Source
: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
Query,QueryRange,Series,LabelNames, andLabelValuesnow returnInfosannotations in addition toWarnings, matching the Prometheus server's info annotations. This changes the signatures of these methods and ofapi.Client'sDo/DoGetFallback; custom API client implementations must be updated. #​1963TSDBBlocksresult types to align with the Prometheus server'stsdb.BlockMeta:TSDBBlocksResultnow containsBlocks []TSDBBlockMetadirectly instead of mirroring the full API envelope, nested types are renamed (TSDBBlockMeta,TSDBBlockStats,TSDBBlockMetaCompaction), stat fields areuint64withomitemptytags, and the optional compactionparentsfield is included. #​1928GatherAndFormatto encode a subset of metrics from a Gatherer. #​2091HandlerOpts.AcceptedFormatsto customize the formats negotiated from the incomingAcceptheader, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. #​2146Varyheader. #​2142GatherAndFormatandCollectAndFormat(terminating# EOF). #​2125:fooargument no longer substitutes inside:foobar. #​2136<details>
<summary> What's changed </summary>
##### What's Changed
fix: Remove unneeded and broken CI badge by @​bwplothttps://github.com/prometheus/client_golang/pull/2057l/2057
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2060l/2060
build(deps): bump the codeql group with 4 updates by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2066l/2066
build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2071l/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 @​dependabotbo[https://github.com/prometheus/client_golang/pull/2069l/2069
build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 in /exp by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2072l/2072
build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 in /exp by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2073l/2073
build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2070l/2070
build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2075l/2075
Pin GitHub Actions by @​Supehttps://github.com/prometheus/client_golang/pull/2074l/2074
build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2067l/2067
promhttp: fix panic on requests with nil URL by @​SAYhttps://github.com/prometheus/client_golang/pull/2065l/2065
Return info annotations in addition to warnings in the API by @​zenadhttps://github.com/prometheus/client_golang/pull/1963l/1963
build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2082l/2082
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2084l/2084
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2086l/2086
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2088l/2088
Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by @​bwplothttps://github.com/prometheus/client_golang/pull/2090l/2090
go.mod: remove obsolete exclude rule by @​thaJezthttps://github.com/prometheus/client_golang/pull/2077l/2077
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2093l/2093
README: document the OpenTelemetry OTLP push bridge by @​mvanhohttps://github.com/prometheus/client_golang/pull/1987l/1987
docs: add AGENTS.md contributor and maintainer guide by @​bwplothttps://github.com/prometheus/client_golang/pull/2056l/2056
testutil: add GatherAndFormat helper by @​wieghttps://github.com/prometheus/client_golang/pull/2091l/2091
build(deps): bump the codeql group with 4 updates by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2101l/2101
build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2097l/2097
build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2098l/2098
build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 in /exp by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2099l/2099
build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 in /exp by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2100l/2100
build(deps): bump github.com/prometheus/procfs from 0.21.1 to 0.22.0 in the prometheus group across 1 directory by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2096l/2096
build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2102l/2102
chore: Update metrics for new Go version by @​github-actionsbo[https://github.com/prometheus/client_golang/pull/2095l/2095
Benchmark json-iter, stdlib json and json/v2 by @​liggihttps://github.com/prometheus/client_golang/pull/2107l/2107
build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2112l/2112
RuleGroup: use stdlib for json decoding, optimize decoding by @​liggihttps://github.com/prometheus/client_golang/pull/2109l/2109
Modernize micro benchmarks: b.Loop and key=value case names by @​radiancedhttps://github.com/prometheus/client_golang/pull/2114l/2114
QueryResult: use stdlib for envelope decoding by @​liggihttps://github.com/prometheus/client_golang/pull/2110l/2110
Use stdlib to decode apiResult envelope by @​liggihttps://github.com/prometheus/client_golang/pull/2111l/2111
Improve linting by @​Supehttps://github.com/prometheus/client_golang/pull/2115l/2115
Delete unused custom json-iterator marshaling by @​liggihttps://github.com/prometheus/client_golang/pull/2121l/2121
Simplify apiClientImpl#Do error path by @​liggihttps://github.com/prometheus/client_golang/pull/2120l/2120
testutil: finalize OpenMetrics output by @​ajavanhttps://github.com/prometheus/client_golang/pull/2125l/2125
build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2124l/2124
Synchronize common files from prometheus/prometheus by @​prombhttps://github.com/prometheus/client_golang/pull/2116l/2116
prometheus: fix revive indent-error-flow lint on Darwin by @​bwplothttps://github.com/prometheus/client_golang/pull/2131l/2131
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace from 1.34.0 to 1.45.0 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2123l/2123
Combine envelope/inner apiResponse decoding, switch to stdlib json by @​liggihttps://github.com/prometheus/client_golang/pull/2118l/2118
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.34.0 to 1.45.0 in /tutorials/whatsup by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2122l/2122
testutil/promlint: fix "mibi" unit prefix to "mebi" by @​ZainnQureshhttps://github.com/prometheus/client_golang/pull/2135l/2135
all: update prometheus/common to v0.72.0 and apply modernize fixes by @​bwplothttps://github.com/prometheus/client_golang/pull/2138l/2138
limit json-iterator use to Go 1.26 by @​liggihttps://github.com/prometheus/client_golang/pull/2128l/2128
promhttp: add AcceptedFormats option to customize format negotiation by @​bwplothttps://github.com/prometheus/client_golang/pull/2146l/2146
build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2143l/2143
build(deps): bump the codeql group with 4 updates by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2145l/2145
build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 in /exp by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2144l/2144
promhttp: vary negotiated metrics responses by @​lowgahttps://github.com/prometheus/client_golang/pull/2142l/2142
exp/api/remote: reset pooled buffer before generic marshal by @​lowgahttps://github.com/prometheus/client_golang/pull/2139l/2139
api: match complete URL placeholders by @​lowgahttps://github.com/prometheus/client_golang/pull/2136l/2136
fix: updates for tsdb blocks handling by @​tjhhttps://github.com/prometheus/client_golang/pull/1928l/1928
prometheus: fix modernize lint findings by @​kakkoyhttps://github.com/prometheus/client_golang/pull/2151l/2151
build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.2 in /api/prometheus/v1/paritytest by @​dependabotbo[https://github.com/prometheus/client_golang/pull/2152l/2152
Cut v1.25.0-rc.0 by @​kakkoyhttps://github.com/prometheus/client_golang/pull/2154l/2154
Cut v1.25.0 by @​kakkoyhttps://github.com/prometheus/client_golang/pull/2164l/2164
##### New Contributors
@​SAY-5 made their first contributihttps://github.com/prometheus/client_golang/pull/2065l/2065
@​zenador made their first contributihttps://github.com/prometheus/client_golang/pull/1963l/1963
@​thaJeztah made their first contributihttps://github.com/prometheus/client_golang/pull/2077l/2077
@​mvanhorn made their first contributihttps://github.com/prometheus/client_golang/pull/1987l/1987
@​wieghx made their first contributihttps://github.com/prometheus/client_golang/pull/2091l/2091
@​radianceded made their first contributihttps://github.com/prometheus/client_golang/pull/2114l/2114
@​ajavanma made their first contributihttps://github.com/prometheus/client_golang/pull/2125l/2125
@​ZainnQureshii made their first contributihttps://github.com/prometheus/client_golang/pull/2135l/2135
Full Changelog: <https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0>
</details>
</details>
---
Configuration
📅 Schedule: (UTC)
- At any time (no schedule defined)
- 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 these updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR was generated by Mend Renovate. View the repository job log.
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->