Skip to content

Update module github.com/prometheus/client_golang to v1.25.0 (main) - #1772

Merged
ske-prow[bot] merged 1 commit into
mainfrom
renovate/main-github.com-prometheus-client_golang-1.x
Oct 12, 2026
Merged

ske-prow[bot] merged 1 commit into
mainfrom
renovate/main-github.com-prometheus-client_golang-1.x

Conversation

@ske-renovate-operator

Copy link
Copy Markdown
Contributor

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

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: prometheus/client_golang@v1.24.1...v1.25.0


Configuration

📅 Schedule: (UTC)

  • 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.

@ske-renovate-operator ske-renovate-operator Bot added the kind/upgrade Upgrading components or dependencies (e.g., by renovate) label Oct 11, 2026
@ske-renovate-operator
ske-renovate-operator Bot requested a review from a team October 11, 2026 16:44
@ske-renovate-operator

Copy link
Copy Markdown
Contributor Author

ℹ️ 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):

  • 9 additional dependencies were updated

Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by minimumReleaseAge=3 days

Details:

Package Change
github.com/prometheus/common v0.70.1 -> v0.72.0
github.com/prometheus/procfs v0.21.1 -> v0.22.0
golang.org/x/crypto v0.55.0 -> v0.57.0
golang.org/x/mod v0.38.0 -> v0.41.0
golang.org/x/net v0.58.0 -> v0.59.0
golang.org/x/oauth2 v0.36.0 -> v0.37.0
golang.org/x/term v0.45.0 -> v0.46.0
golang.org/x/text v0.41.0 -> v0.42.0
golang.org/x/tools v0.48.0 -> v0.49.0

@ske-prow ske-prow Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 11, 2026

@stackit-ske-bot stackit-ske-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renovate Update Verification Report

  • Classification: Green (Verified)
  • Model Used: litellm/gemini-3.8-flash
  • Dependency: github.com/prometheus/client_golang (v1.24.1 -> v1.25.0)

Impact Analysis

  • Adaptation Rationale: No code modifications were needed. The repository consumes github.com/prometheus/client_golang/prometheus, github.com/prometheus/client_golang/prometheus/promhttp, and github.com/prometheus/client_golang/prometheus/testutil in cmd/cloud-controller-manager/main.go, cmd/stackit-csi-plugin/main.go, pkg/metrics/server.go, pkg/metrics/http.go, pkg/metrics/http_test.go, and pkg/metrics/metrics.go. None of the exported APIs utilized by the project were affected by this bump.
  • Breaking Changes: Upstream v1.25.0 raises the minimum required Go version to 1.26 (prometheus/client_golang#2138) and introduces breaking signature changes in api/prometheus/v1 (prometheus/client_golang#1963, prometheus/client_golang#1928). Our repository already targets Go 1.26.1 (go.mod) and does not import or use api/prometheus/v1.

Verification Results

  • Build & Test Output:
    • make verify-modules: Passed (go mod tidy produced no diff).
    • make verify-fmt: Passed (formatting checks succeeded).
    • make lint: Passed (golangci-lint run ./... completed with 0 issues).
    • make build: Passed (compiled stackit-csi-plugin and cloud-controller-manager binaries).
    • make verify-generate: Passed (code and mock generation verified).
    • go test -v ./pkg/metrics/...: Passed (all 6 specs succeeded).
    • Prow CI verification: pull-cloud-provider-stackit-verify and post-cloud-provider-stackit-images-dev succeeded on commit b7b771e7f7007fb15038137b354fae56536072a9.

@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2026
@ske-prow

ske-prow Bot commented Oct 12, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 98f0e6ffb0e7809ac79c08cb9518a6dfc42fc661

@ske-prow ske-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Oct 12, 2026
@ske-renovate-operator
ske-renovate-operator Bot force-pushed the renovate/main-github.com-prometheus-client_golang-1.x branch from b7b771e to e5d17b1 Compare October 12, 2026 06:45
@ske-prow ske-prow Bot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Oct 12, 2026
@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Oct 12, 2026
@ske-prow

ske-prow Bot commented Oct 12, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: cebbfd9bbef01ed01be445f52603ec7773fbce65

@ske-prow

ske-prow Bot commented Oct 12, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dergeberl

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow
ske-prow Bot merged commit b539f19 into main Oct 12, 2026
4 checks passed
@ske-prow
ske-prow Bot deleted the renovate/main-github.com-prometheus-client_golang-1.x branch October 12, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/upgrade Upgrading components or dependencies (e.g., by renovate) lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants