fix(deps): update module github.com/prometheus/client_golang to v1.25.0 #53

Open
renovate-forgejo wants to merge 1 commit from renovate/github.com-prometheus-client_golang-1.x into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.24.1 → v1.25.0 age adoption passing confidence

Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.25.0

Compare Source

⚠️ 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). ⚠️

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
  • [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
  • [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
  • [FEATURE] testutil: Add GatherAndFormat to encode a subset of metrics from a Gatherer. #​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
  • [ENHANCEMENT] promhttp: Negotiated metrics responses now include a Vary header. #​2142
  • [ENHANCEMENT] prometheus: Regenerate the default runtime collector metrics for Go 1.25 and Go 1.26. #​2090, #​2095
  • [ENHANCEMENT] testutil: Finalize OpenMetrics output in GatherAndFormat and CollectAndFormat (terminating # EOF). #​2125
  • [BUGFIX] api: Match complete URL path placeholders only; a :foo argument no longer substitutes inside :foobar. #​2136
  • [BUGFIX] exp/api/remote: Reset the pooled buffer before generic proto marshaling, preventing corrupted remote-write payloads. #​2139
  • [BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". #​2135
What's changed

What's Changed

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • 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 becomes conflicted, 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [github.com/prometheus/client_golang](https://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) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.25.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.24.1/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) | --- ### Release Notes <details> <summary>prometheus/client_golang (github.com/prometheus/client_golang)</summary> ### [`v1.25.0`](https://github.com/prometheus/client_golang/releases/tag/v1.25.0) [Compare Source](https://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://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://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://github.com/prometheus/client_golang/issues/1928) - \[FEATURE] testutil: Add `GatherAndFormat` to encode a subset of metrics from a Gatherer. [#&#8203;2091](https://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://github.com/prometheus/client_golang/issues/2146) - \[ENHANCEMENT] promhttp: Negotiated metrics responses now include a `Vary` header. [#&#8203;2142](https://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://github.com/prometheus/client_golang/issues/2090), [#&#8203;2095](https://github.com/prometheus/client_golang/issues/2095) - \[ENHANCEMENT] testutil: Finalize OpenMetrics output in `GatherAndFormat` and `CollectAndFormat` (terminating `# EOF`). [#&#8203;2125](https://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://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://github.com/prometheus/client_golang/issues/2139) - \[BUGFIX] testutil/promlint: Fix "mibi" unit prefix to "mebi". [#&#8203;2135](https://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;bwplotka in https://github.com/prometheus/client_golang/pull/2057 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2060 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2066 * build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/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[bot] in https://github.com/prometheus/client_golang/pull/2069 * build(deps): bump github.com/klauspost/compress from 1.19.0 to 1.19.1 in /exp by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2072 * build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 in /exp by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2073 * build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2070 * build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in /tutorials/whatsup by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2075 * Pin GitHub Actions by @&#8203;SuperQ in https://github.com/prometheus/client_golang/pull/2074 * build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2067 * promhttp: fix panic on requests with nil URL by @&#8203;SAY-5 in https://github.com/prometheus/client_golang/pull/2065 * Return info annotations in addition to warnings in the API by @&#8203;zenador in https://github.com/prometheus/client_golang/pull/1963 * build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2082 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2084 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2086 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2088 * Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by @&#8203;bwplotka in https://github.com/prometheus/client_golang/pull/2090 * go.mod: remove obsolete exclude rule by @&#8203;thaJeztah in https://github.com/prometheus/client_golang/pull/2077 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2093 * README: document the OpenTelemetry OTLP push bridge by @&#8203;mvanhorn in https://github.com/prometheus/client_golang/pull/1987 * docs: add AGENTS.md contributor and maintainer guide by @&#8203;bwplotka in https://github.com/prometheus/client_golang/pull/2056 * testutil: add GatherAndFormat helper by @&#8203;wieghx in https://github.com/prometheus/client_golang/pull/2091 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2101 * build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2097 * build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2098 * build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12 in /exp by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2099 * build(deps): bump github.com/klauspost/compress from 1.19.1 to 1.19.2 in /exp by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/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[bot] in https://github.com/prometheus/client_golang/pull/2096 * build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /tutorials/whatsup by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2102 * chore: Update metrics for new Go version by @&#8203;github-actions[bot] in https://github.com/prometheus/client_golang/pull/2095 * Benchmark json-iter, stdlib json and json/v2 by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2107 * build(deps): bump google.golang.org/grpc from 1.83.1 to 1.83.2 in /tutorials/whatsup by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2112 * RuleGroup: use stdlib for json decoding, optimize decoding by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2109 * Modernize micro benchmarks: b.Loop and key=value case names by @&#8203;radianceded in https://github.com/prometheus/client_golang/pull/2114 * QueryResult: use stdlib for envelope decoding by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2110 * Use stdlib to decode apiResult envelope by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2111 * Improve linting by @&#8203;SuperQ in https://github.com/prometheus/client_golang/pull/2115 * Delete unused custom json-iterator marshaling by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2121 * Simplify apiClientImpl#Do error path by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2120 * testutil: finalize OpenMetrics output by @&#8203;ajavanma in https://github.com/prometheus/client_golang/pull/2125 * build(deps): bump go.opentelemetry.io/otel/sdk from 1.44.0 to 1.45.0 in /tutorials/whatsup by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2124 * Synchronize common files from prometheus/prometheus by @&#8203;prombot in https://github.com/prometheus/client_golang/pull/2116 * prometheus: fix revive indent-error-flow lint on Darwin by @&#8203;bwplotka in https://github.com/prometheus/client_golang/pull/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[bot] in https://github.com/prometheus/client_golang/pull/2123 * Combine envelope/inner apiResponse decoding, switch to stdlib json by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/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[bot] in https://github.com/prometheus/client_golang/pull/2122 * testutil/promlint: fix "mibi" unit prefix to "mebi" by @&#8203;ZainnQureshii in https://github.com/prometheus/client_golang/pull/2135 * all: update prometheus/common to v0.72.0 and apply modernize fixes by @&#8203;bwplotka in https://github.com/prometheus/client_golang/pull/2138 * limit json-iterator use to Go 1.26 by @&#8203;liggitt in https://github.com/prometheus/client_golang/pull/2128 * promhttp: add AcceptedFormats option to customize format negotiation by @&#8203;bwplotka in https://github.com/prometheus/client_golang/pull/2146 * build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2143 * build(deps): bump the codeql group with 4 updates by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2145 * build(deps): bump github.com/klauspost/compress from 1.19.2 to 1.20.1 in /exp by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2144 * promhttp: vary negotiated metrics responses by @&#8203;lowgame in https://github.com/prometheus/client_golang/pull/2142 * exp/api/remote: reset pooled buffer before generic marshal by @&#8203;lowgame in https://github.com/prometheus/client_golang/pull/2139 * api: match complete URL placeholders by @&#8203;lowgame in https://github.com/prometheus/client_golang/pull/2136 * fix: updates for tsdb blocks handling by @&#8203;tjhop in https://github.com/prometheus/client_golang/pull/1928 * prometheus: fix modernize lint findings by @&#8203;kakkoyun in https://github.com/prometheus/client_golang/pull/2151 * build(deps): bump google.golang.org/grpc from 1.82.1 to 1.83.2 in /api/prometheus/v1/paritytest by @&#8203;dependabot[bot] in https://github.com/prometheus/client_golang/pull/2152 * Cut v1.25.0-rc.0 by @&#8203;kakkoyun in https://github.com/prometheus/client_golang/pull/2154 * Cut v1.25.0 by @&#8203;kakkoyun in https://github.com/prometheus/client_golang/pull/2164 #### New Contributors * @&#8203;SAY-5 made their first contribution in https://github.com/prometheus/client_golang/pull/2065 * @&#8203;zenador made their first contribution in https://github.com/prometheus/client_golang/pull/1963 * @&#8203;thaJeztah made their first contribution in https://github.com/prometheus/client_golang/pull/2077 * @&#8203;mvanhorn made their first contribution in https://github.com/prometheus/client_golang/pull/1987 * @&#8203;wieghx made their first contribution in https://github.com/prometheus/client_golang/pull/2091 * @&#8203;radianceded made their first contribution in https://github.com/prometheus/client_golang/pull/2114 * @&#8203;ajavanma made their first contribution in https://github.com/prometheus/client_golang/pull/2125 * @&#8203;ZainnQureshii made their first contribution in https://github.com/prometheus/client_golang/pull/2135 * @&#8203;lowgame made their first contribution in https://github.com/prometheus/client_golang/pull/2142 **Full Changelog**: <https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0> </details> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - 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 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://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNDguNiIsInVwZGF0ZWRJblZlciI6IjQ0LjE0OC42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJtYW5hZ2VyOmdvbW9kIiwicmVub3ZhdGUiLCJ1cGRhdGVUeXBlOm1pbm9yIl19-->
fix(deps): update module github.com/prometheus/client_golang to v1.25.0
Some checks failed
Conventional Commits / Validate commit messages (pull_request) Successful in 2s
release / release-changelog (pull_request) Failing after 22s
GO lint & test / check (pull_request) Failing after 1m52s
Build PR Image / Build & push container image (pull_request) Successful in 1m54s
Build PR Image / build-container (pull_request) Has been cancelled
Build PR Image / Comment image tag on PR (pull_request) Has been cancelled
64c033cb4d
Signed-off-by: Renovate Bot <ol+renovateforgejo@oluflorenzen.de>
Author
Collaborator

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/prometheus/client_model v0.6.2 -> v0.6.3
github.com/prometheus/common v0.70.1 -> v0.72.0
github.com/prometheus/procfs v0.21.1 -> v0.22.0
golang.org/x/sys v0.47.0 -> v0.48.0
google.golang.org/protobuf v1.36.11 -> v1.36.12
### ℹ️ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 5 additional dependencies were updated Details: | **Package** | **Change** | | :----------------------------------- | :----------------------- | | `github.com/prometheus/client_model` | `v0.6.2` -> `v0.6.3` | | `github.com/prometheus/common` | `v0.70.1` -> `v0.72.0` | | `github.com/prometheus/procfs` | `v0.21.1` -> `v0.22.0` | | `golang.org/x/sys` | `v0.47.0` -> `v0.48.0` | | `google.golang.org/protobuf` | `v1.36.11` -> `v1.36.12` |
Some checks failed
Conventional Commits / Validate commit messages (pull_request) Successful in 2s
release / release-changelog (pull_request) Failing after 22s
GO lint & test / check (pull_request) Failing after 1m52s
Build PR Image / Build & push container image (pull_request) Successful in 1m54s
Build PR Image / build-container (pull_request) Has been cancelled
Build PR Image / Comment image tag on PR (pull_request) Has been cancelled
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-prometheus-client_golang-1.x:renovate/github.com-prometheus-client_golang-1.x
git switch renovate/github.com-prometheus-client_golang-1.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/github.com-prometheus-client_golang-1.x
git switch renovate/github.com-prometheus-client_golang-1.x
git rebase main
git switch main
git merge --ff-only renovate/github.com-prometheus-client_golang-1.x
git switch renovate/github.com-prometheus-client_golang-1.x
git rebase main
git switch main
git merge --no-ff renovate/github.com-prometheus-client_golang-1.x
git switch main
git merge --squash renovate/github.com-prometheus-client_golang-1.x
git switch main
git merge --ff-only renovate/github.com-prometheus-client_golang-1.x
git switch main
git merge renovate/github.com-prometheus-client_golang-1.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
finkregh/renovate-docker-operator!53
No description provided.