Repository navigation
Update module github.com/prometheus/client_golang to v1.25.0 - #1246
red-hat-konflux[bot] wants to merge 1 commit into
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
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 Details:
|
|
🤖 Finished Review · ✅ Success · Started 3:24 PM UTC · Completed 3:33 PM UTC |
ReviewFindingsHigh
Low
Next steps:
Previous runReviewFindingsHigh
Low
Next steps:
Previous run (2)ReviewFindingsHigh
Next steps:
Previous run (3)ReviewFindingsHigh
Next steps:
Previous run (4)ReviewFindingsHigh
Next steps:
Previous run (5)ReviewFindingsHigh
Next steps:
Previous run (6)ReviewFindingsHigh
Next steps:
Previous run (7)ReviewFindingsHigh
Low
Next steps:
Previous run (8)ReviewFindingsHigh
Low
Next steps:
Previous run (9)ReviewFindingsHigh
Next steps:
Previous run (10)ReviewFindingsHigh
Next steps:
Previous run (11)ReviewFindingsHigh
Next steps:
Previous run (12)ReviewFindingsHigh
Next steps:
Previous run (13)ReviewFindingsHigh
Next steps:
Previous run (14)ReviewFindingsHigh
Next steps:
Previous run (15)ReviewFindingsHigh
Next steps:
Previous run (16)ReviewFindingsHigh
Next steps:
Previous run (17)ReviewFindingsHigh
Next steps:
Previous run (18)ReviewFindingsHigh
Next steps:
Previous run (19)ReviewFindingsHigh
Next steps:
Previous run (20)ReviewFindingsHigh
Next steps:
Previous run (21)ReviewFindingsHigh
Next steps:
Previous run (22)Looks good to me Previous run (23)Looks good to me Previous run (24)Looks good to me |
6965f28 to
6092932
Compare
|
🤖 Finished Review · ✅ Success · Started 10:36 AM UTC · Completed 10:45 AM UTC |
a43bff3 to
912199b
Compare
a1f5a44 to
3c2a426
Compare
3c2a426 to
259145d
Compare
|
🤖 Finished Review · ✅ Success · Started 1:58 AM UTC · Completed 2:12 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.84 |
5185f4c to
1a5c50b
Compare
|
🤖 Finished Review · ✅ Success · Started 1:48 AM UTC · Completed 2:01 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.84 |
1a5c50b to
7b5c947
Compare
|
🤖 Finished Review · ✅ Success · Started 1:18 AM UTC · Completed 1:30 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.74 |
7b5c947 to
9ec69f2
Compare
|
🤖 Finished Review · ✅ Success · Started 2:08 AM UTC · Completed 2:20 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.79 |
9ec69f2 to
204c832
Compare
|
🤖 Finished Review · ✅ Success · Started 4:07 AM UTC · Completed 4:19 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.96 |
204c832 to
4bd5e97
Compare
|
🤖 Finished Review · ✅ Success · Started 2:51 AM UTC · Completed 3:02 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.53 |
4bd5e97 to
52b90cc
Compare
|
🤖 Finished Review · ✅ Success · Started 12:37 PM UTC · Completed 12:49 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.50 |
52b90cc to
2a9d2da
Compare
|
🤖 Finished Review · ✅ Success · Started 4:14 AM UTC · Completed 4:27 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.96 |
2a9d2da to
cfc6c9a
Compare
|
🤖 Finished Review · ✅ Success · Started 5:26 AM UTC · Completed 5:39 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.09 |
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
cfc6c9a to
a8a0f10
Compare
|
🤖 Finished Review · ✅ Success · Started 2:38 AM UTC · Completed 2:48 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.49 |
| go 1.25.0 | ||
|
|
||
| toolchain go1.25.5 | ||
| go 1.26.0 |
There was a problem hiding this comment.
[high] build-compatibility
The PR changes go.mod to go 1.26.0 and removes the toolchain go1.25.5 directive that was present in the base branch. Both the Dockerfile (line 1) and the Tekton pull-request pipeline (.tekton/o11y-pull-request.yaml, line 332) still use registry.access.redhat.com/ubi9/go-toolset:1.25.9-1777537863 (Go 1.25.x). Without a toolchain directive, Go defaults to GOTOOLCHAIN=auto and will attempt to download Go 1.26.0 at build time. Both the pull-request and push Tekton pipelines set hermetic: true (line 24 in each), which blocks network access during builds. The auto-download will fail, breaking the container image build (Dockerfile) and the CI test step (go test -v ./... at line 335 of o11y-pull-request.yaml). This finding was raised in the prior review and the code has not changed to address it.
Suggested fix: Either (a) update the go-toolset image references in Dockerfile (line 1), .tekton/o11y-pull-request.yaml (line 332), and any related pipeline files to a Go 1.26.x image, or (b) re-add toolchain go1.25.5 to go.mod so Go 1.25.x can still build the module (only viable if all dependencies, including prometheus/client_golang v1.25.0, actually compile under Go 1.25.x — given the release notes state Go 1.26 is the minimum, option (b) is unlikely to work). Option (a) is the correct fix.
| toolchain go1.25.5 | ||
| go 1.26.0 | ||
|
|
||
| require ( |
There was a problem hiding this comment.
[low] code-organization
Two direct dependencies unrelated to the stated change are removed: github.com/DATA-DOG/go-sqlmock v1.5.2 and github.com/lib/pq v1.12.3. Their removal is a natural consequence of go mod tidy cleaning up unused entries during the dependency update, not a deliberate or risky code change.
This PR contains the following updates:
v1.23.2→v1.25.0Release Notes
prometheus/client_golang (github.com/prometheus/client_golang)
v1.25.0Compare Source
api/prometheus/v1(see the [CHANGE] entries below).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. #2136What's changed
What's Changed
New Contributors
Full Changelog: prometheus/client_golang@v1.24.1...v1.25.0
v1.24.1: / 2026-07-23Compare Source
Small bugfix release for promhttp.
What's Changed
[BUGFIX] promhttp: Fix panic on requests with nil URL. #2065
Full Changelog: prometheus/client_golang@v1.24.0...v1.24.1
v1.24.0: - 2026-07-20Compare Source
Changes
model.NameValidationSchemeglobal. Default behavior is unchanged; code that setNameValidationScheme = LegacyValidationno longer gets legacy enforcement at metric, label, and push-grouping construction. #2051matches[]parameter) inRulesmethod (Rules(ctx context.Context, matches []string) (RulesResult, error)). #1843LabelNamesmethod to returnmodel.LabelNamesinstead of[]stringfor consistency across the API. #1850Storeinterface, renameHandlertoWriteHandler, and encapsulate write response handling. #1855/sched/goroutines-created:goroutines,/sched/goroutines/not-in-go:goroutines,/sched/goroutines/runnable:goroutines,/sched/goroutines/running:goroutines,/sched/goroutines/waiting:goroutines,/sched/threads/total:threads). #1942WithUnit(unit string)option and explicit OpenMetrics unit support inCounterOpts,GaugeOpts,SummaryOpts, andHistogramOpts. #1392Err()method onDesc. #1902HandlerOpts.CoalesceGatherto deduplicate concurrentGathercalls so overlapping scrapes share one collection cycle, preventing goroutine pile-up when the scrape rate outpaces collection time. #1969promhttppackage now support metrics filtering by providing one or morename[]query parameters. The default behavior when none are provided remains the same, returning all metrics. #1925/format_query) andFormatQuery(ctx context.Context, query string) (string, error)method. #1846, #1856/status/tsdb/blocksendpoint viaTSDBBlocks(ctx context.Context) ([]TSDBBlock, error)method. #1896BackoffConfigto allow customization when usingWithAPIBackoff. #1895RetryCallBackto allow custom logging or handling on retry attempts in the remote write client. #1888, #1890http.DefaultTransportwhen constructing default HTTP clients to prevent accidental mutations of shared global transport state. #1885Gather()and return an error instead of crashing the process. #1961cpu-secondsunit suffix handling for metricgo_cpu_classes_gc_mark_assist_cpu_seconds. #1991InstrumentHandlerDurationandInstrumentHandlerCounterno longer panic when given an observer/counter that does not implementExemplarObserver/ExemplarAdder(e.g. aSummaryVec). The exemplar is dropped and the value is recorded via the plainObserve/Addpath, matching the safe-cast already used byTimer.ObserveDurationWithExemplar. #2005GETrequests whenPOSTrequests return403 Forbiddenor method not allowed. #2030httpClient.Do. #1971All commits
/status/tsdb/blocksendpoint by @tjhop in #1896/metricshandler output filtering vianame[]query param by @colega in #1925New Contributors
Configuration
📅 Schedule: (UTC)
🚦 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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.