← Back to Pull requests

build(deps): Bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 #1146

Closed
unknown closed this pull request without merging on Oct 14, 2026 12:15 UTC
View on GitHub
unknown unknown commented on Oct 13, 2026 21:33 UTC
Author

Bumps github.com/prometheus/client_golang from 1.24.1 to 1.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang's releases</a>.</em></p>
<blockquote>
<h2>v1.25.0</h2>
<p>:warning: This release raises the minimum required Go version to 1.26 and includes breaking API changes in <code>api/prometheus/v1</code> (see the [CHANGE] entries below). :warning:</p>
<h2>1.25.0 / 2026-10-07</h2>
<ul>
<li>[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. <a href="https://redirect.github.com/prometheus/client_golang/issues/2138">#2138</a></li>
<li>[CHANGE] api/prometheus/v1: <code>Query</code>, <code>QueryRange</code>, <code>Series</code>, <code>LabelNames</code>, and <code>LabelValues</code> now return <code>Infos</code> annotations in addition to <code>Warnings</code>, matching the Prometheus server's info annotations. This changes the signatures of these methods and of <code>api.Client</code>'s <code>Do</code>/<code>DoGetFallback</code>; custom API client implementations must be updated. <a href="https://redirect.github.com/prometheus/client_golang/issues/1963">#1963</a></li>
<li>[CHANGE] api/prometheus/v1: Rework <code>TSDBBlocks</code> result types to align with the Prometheus server's <code>tsdb.BlockMeta</code>: <code>TSDBBlocksResult</code> now contains <code>Blocks []TSDBBlockMeta</code> directly instead of mirroring the full API envelope, nested types are renamed (<code>TSDBBlockMeta</code>, <code>TSDBBlockStats</code>, <code>TSDBBlockMetaCompaction</code>), stat fields are <code>uint64</code> with <code>omitempty</code> tags, and the optional compaction <code>parents</code> field is included. <a href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a></li>
<li>[FEATURE] testutil: Add <code>GatherAndFormat</code> to encode a subset of metrics from a Gatherer. <a href="https://redirect.github.com/prometheus/client_golang/issues/2091">#2091</a></li>
<li>[FEATURE] promhttp: Add <code>HandlerOpts.AcceptedFormats</code> to customize the formats negotiated from the incoming <code>Accept</code> header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. <a href="https://redirect.github.com/prometheus/client_golang/issues/2146">#2146</a></li>
<li>[ENHANCEMENT] promhttp: Negotiated metrics responses now include a <code>Vary</code> header. <a href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a></li>
<li>[ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. <a href="https://redirect.github.com/prometheus/client_golang/issues/2090">#2090</a>, <a href="https://redirect.github.com/prometheus/client_golang/issues/2095">#2095</a></li>
<li>[ENHANCEMENT] testutil: Finalize OpenMetrics output in <code>GatherAndFormat</code> and <code>CollectAndFormat</code> (terminating <code># EOF</code>). <a href="https://redirect.github.com/prometheus/client_golang/issues/2125">#2125</a></li>
<li>[BUGFIX] api: Match complete URL path placeholders only; a <code>:foo</code> argument no longer substitutes inside <code>:foobar</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a></li>
<li>[BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. <a href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a></li>
<li>[BUGFIX] testutil/promlint: Fix &quot;mibi&quot; unit prefix to &quot;mebi&quot;. <a href="https://redirect.github.com/prometheus/client_golang/issues/2135">#2135</a></li>
</ul>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>fix: Remove unneeded and broken CI badge by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2057">prometheus/client_golang#2057</a></li>
<li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2060">prometheus/client_golang#2060</a></li>
<li>build(deps): bump the codeql group with 4 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2066">prometheus/client_golang#2066</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2071">prometheus/client_golang#2071</a></li>
<li>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 <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2069">prometheus/client_golang#2069</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 in /exp by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2072">prometheus/client_golang#2072</a></li>
<li>build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 in /exp by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2073">prometheus/client_golang#2073</a></li>
<li>build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2070">prometheus/client_golang#2070</a></li>
<li>build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /tutorials/whatsup by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2075">prometheus/client_golang#2075</a></li>
<li>Pin GitHub Actions by <a href="https://github.com/SuperQ"><code>@​SuperQ</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2074">prometheus/client_golang#2074</a></li>
<li>build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2067">prometheus/client_golang#2067</a></li>
<li>promhttp: fix panic on requests with nil URL by <a href="https://github.com/SAY-5"><code>@​SAY-5</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2065">prometheus/client_golang#2065</a></li>
<li>Return info annotations in addition to warnings in the API by <a href="https://github.com/zenador"><code>@​zenador</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/1963">prometheus/client_golang#1963</a></li>
<li>build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2082">prometheus/client_golang#2082</a></li>
<li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2084">prometheus/client_golang#2084</a></li>
<li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2086">prometheus/client_golang#2086</a></li>
<li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2088">prometheus/client_golang#2088</a></li>
<li>Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2090">prometheus/client_golang#2090</a></li>
<li>go.mod: remove obsolete exclude rule by <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2077">prometheus/client_golang#2077</a></li>
<li>Synchronize common files from prometheus/prometheus by <a href="https://github.com/prombot"><code>@​prombot</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2093">prometheus/client_golang#2093</a></li>
<li>README: document the OpenTelemetry OTLP push bridge by <a href="https://github.com/mvanhorn"><code>@​mvanhorn</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/1987">prometheus/client_golang#1987</a></li>
<li>docs: add AGENTS.md contributor and maintainer guide by <a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2056">prometheus/client_golang#2056</a></li>
<li>testutil: add GatherAndFormat helper by <a href="https://github.com/wieghx"><code>@​wieghx</code></a> in <a href="https://redirect.github.com/prometheus/client_golang/pull/2091">prometheus/client_golang#2091</a></li>
<li>build(deps): bump the codeql group with 4 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2101">prometheus/client_golang#2101</a></li>
<li>build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2097">prometheus/client_golang#2097</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2098">prometheus/client_golang#2098</a></li>
<li>build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 in /exp by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2099">prometheus/client_golang#2099</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 in /exp by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2100">prometheus/client_golang#2100</a></li>
<li>build(deps): bump github.com/prometheus/procfs from 0.21.1 to 0.22.0 in the prometheus group across 1 directory by <a href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot] in <a href="https://redirect.github.com/prometheus/client_golang/pull/2096">prometheus/client_golang#2096</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md">github.com/prometheus/client_golang's changelog</a>.</em></p>
<blockquote>
<h2>1.25.0 / 2026-10-07</h2>
<ul>
<li>[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. <a href="https://redirect.github.com/prometheus/client_golang/issues/2138">#2138</a></li>
<li>[CHANGE] api/prometheus/v1: <code>Query</code>, <code>QueryRange</code>, <code>Series</code>, <code>LabelNames</code>, and <code>LabelValues</code> now return <code>Infos</code> annotations in addition to <code>Warnings</code>, matching the Prometheus server's info annotations. This changes the signatures of these methods and of <code>api.Client</code>'s <code>Do</code>/<code>DoGetFallback</code>; custom API client implementations must be updated. <a href="https://redirect.github.com/prometheus/client_golang/issues/1963">#1963</a></li>
<li>[CHANGE] api/prometheus/v1: Rework <code>TSDBBlocks</code> result types to align with the Prometheus server's <code>tsdb.BlockMeta</code>: <code>TSDBBlocksResult</code> now contains <code>Blocks []TSDBBlockMeta</code> directly instead of mirroring the full API envelope, nested types are renamed (<code>TSDBBlockMeta</code>, <code>TSDBBlockStats</code>, <code>TSDBBlockMetaCompaction</code>), stat fields are <code>uint64</code> with <code>omitempty</code> tags, and the optional compaction <code>parents</code> field is included. <a href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a></li>
<li>[FEATURE] testutil: Add <code>GatherAndFormat</code> to encode a subset of metrics from a Gatherer. <a href="https://redirect.github.com/prometheus/client_golang/issues/2091">#2091</a></li>
<li>[FEATURE] promhttp: Add <code>HandlerOpts.AcceptedFormats</code> to customize the formats negotiated from the incoming <code>Accept</code> header, enabling opt-in to experimental formats such as OpenMetrics 2.0 without changing default negotiation. <a href="https://redirect.github.com/prometheus/client_golang/issues/2146">#2146</a></li>
<li>[ENHANCEMENT] promhttp: Negotiated metrics responses now include a <code>Vary</code> header. <a href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a></li>
<li>[ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. <a href="https://redirect.github.com/prometheus/client_golang/issues/2090">#2090</a>, <a href="https://redirect.github.com/prometheus/client_golang/issues/2095">#2095</a></li>
<li>[ENHANCEMENT] testutil: Finalize OpenMetrics output in <code>GatherAndFormat</code> and <code>CollectAndFormat</code> (terminating <code># EOF</code>). <a href="https://redirect.github.com/prometheus/client_golang/issues/2125">#2125</a></li>
<li>[BUGFIX] api: Match complete URL path placeholders only; a <code>:foo</code> argument no longer substitutes inside <code>:foobar</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a></li>
<li>[BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. <a href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a></li>
<li>[BUGFIX] testutil/promlint: Fix &quot;mibi&quot; unit prefix to &quot;mebi&quot;. <a href="https://redirect.github.com/prometheus/client_golang/issues/2135">#2135</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/prometheus/client_golang/commit/0d88875bc7494ed8414e067756ff3399e3068c64"><code>0d88875</code></a> Cut v1.25.0 (<a href="https://redirect.github.com/prometheus/client_golang/issues/2164">#2164</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/e9946ee846c4916ae4def4318b422b084aad687c"><code>e9946ee</code></a> Cut v1.25.0-rc.0 (<a href="https://redirect.github.com/prometheus/client_golang/issues/2154">#2154</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/de866d63fa67a78f723397d33624b89a439dbe73"><code>de866d6</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/2152">#2152</a> from prometheus/dependabot/go_modules/api/prometheus...</li>
<li><a href="https://github.com/prometheus/client_golang/commit/a37302f6f0677b61954ae08077c85221c21f4883"><code>a37302f</code></a> prometheus: fix modernize lint findings (<a href="https://redirect.github.com/prometheus/client_golang/issues/2151">#2151</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/a3fa3807231bcb72fc56c10e65c72e1102013907"><code>a3fa380</code></a> build(deps): bump google.golang.org/grpc</li>
<li><a href="https://github.com/prometheus/client_golang/commit/9da3fcc7c7b60c0565771518ecb9043df23f286a"><code>9da3fcc</code></a> fix: updates for tsdb blocks handling (<a href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/0ecb5c28f53c957e8adabe6707ad8609641e50f0"><code>0ecb5c2</code></a> api: match complete URL placeholders (<a href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/2ad001aa7b446e3a245de21c0f397c57289d7d94"><code>2ad001a</code></a> exp/api/remote: reset buffer before generic marshal (<a href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/0db8d43ff97adbb75da10c57fceaf8fb8ee13d05"><code>0db8d43</code></a> promhttp: vary negotiated metrics responses (<a href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a>)</li>
<li><a href="https://github.com/prometheus/client_golang/commit/b1f9c7a6cbb2cd6000042806b7f688cabb9d3771"><code>b1f9c7a</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/2144">#2144</a> from prometheus/dependabot/go_modules/exp/github.com...</li>
<li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: jannfis Review duration: 882m
    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
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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 #1146"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%