Repository navigation
deps:chore - update module github.com/prometheus/client_golang to v1.25.0 - #206
renovate[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
Details:
|
PR SummaryThis Pull Request updates the Go module and dependency files to modernize the project’s dependency set. The main focus is on upgrading the Go version and several key dependencies, which brings improvements in compatibility, security, and features. These changes are essential for keeping the project up-to-date and secure, but they may also introduce breaking changes that require careful review. Changed Files and Their Summaries1.
|
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
7b855a4 to
3a0cf8b
Compare
⛔ Snyk checks have failed. 11 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
3a0cf8b to
e6b8f62
Compare
⛔ Snyk checks have failed. 11 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
e6b8f62 to
274989c
Compare
274989c to
a1d0644
Compare
a1d0644 to
02908bf
Compare
…25.0 Signed-off-by: Renovate Bot <bot@renovateapp.com>
02908bf to
d9487b8
Compare
This PR contains the following updates:
v1.12.1→v1.25.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release 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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.