Skip to content

Update module github.com/prometheus/client_golang to v1.24.1 - #38

Open
red-hat-konflux[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/github.com-prometheus-client_golang-1.x
Open

red-hat-konflux[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/github.com-prometheus-client_golang-1.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/prometheus/client_golang v1.23.2 → v1.24.1 age confidence

Release Notes

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

v1.24.1: / 2026-07-23

Compare 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-20

Compare Source

Changes
  • [CHANGE] Minimum required Go version is now 1.25, only the two latest Go versions (1.25 and 1.26) are supported from now on. #​1862
  • [CHANGE] prometheus: Name validation now always uses the UTF-8 scheme instead of the deprecated model.NameValidationScheme global. Default behavior is unchanged; code that set NameValidationScheme = LegacyValidation no longer gets legacy enforcement at metric, label, and push-grouping construction. #​2051
  • [CHANGE] api/prometheus/v1: Support matchers (matches[] parameter) in Rules method (Rules(ctx context.Context, matches []string) (RulesResult, error)). #​1843
  • [CHANGE] api/prometheus/v1: Refactor LabelNames method to return model.LabelNames instead of []string for consistency across the API. #​1850
  • [CHANGE] exp/api/remote: Simplify Store interface, rename Handler to WriteHandler, and encapsulate write response handling. #​1855
  • [FEATURE] prometheus: Add new Go 1.26 runtime metrics (/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). #​1942
  • [FEATURE] prometheus: Add WithUnit(unit string) option and explicit OpenMetrics unit support in CounterOpts, GaugeOpts, SummaryOpts, and HistogramOpts. #​1392
  • [FEATURE] prometheus: Expose descriptor construction error through public Err() method on Desc. #​1902
  • [FEATURE] promhttp: Add opt-in HandlerOpts.CoalesceGather to deduplicate concurrent Gather calls so overlapping scrapes share one collection cycle, preventing goroutine pile-up when the scrape rate outpaces collection time. #​1969
  • [FEATURE] promhttp: HTTP handlers created by promhttp package now support metrics filtering by providing one or more name[] query parameters. The default behavior when none are provided remains the same, returning all metrics. #​1925
  • [FEATURE] api/prometheus/v1: Add query formatting endpoint support (/format_query) and FormatQuery(ctx context.Context, query string) (string, error) method. #​1846, #​1856
  • [FEATURE] api/prometheus/v1: Add support for /status/tsdb/blocks endpoint via TSDBBlocks(ctx context.Context) ([]TSDBBlock, error) method. #​1896
  • [FEATURE] exp/api/remote: Export BackoffConfig to allow customization when using WithAPIBackoff. #​1895
  • [FEATURE] exp/api/remote: Add RetryCallBack to allow custom logging or handling on retry attempts in the remote write client. #​1888, #​1890
  • [ENHANCEMENT] prometheus/collectors/version: Allow specifying custom labels when registering the version collector. #​1860
  • [ENHANCEMENT] api: Use cloned http.DefaultTransport when constructing default HTTP clients to prevent accidental mutations of shared global transport state. #​1885
  • [BUGFIX] prometheus: Recover from collector panics during Gather() and return an error instead of crashing the process. #​1961
  • [BUGFIX] prometheus: Fix cpu-seconds unit suffix handling for metric go_cpu_classes_gc_mark_assist_cpu_seconds. #​1991
  • [BUGFIX] promhttp: InstrumentHandlerDuration and InstrumentHandlerCounter no longer panic when given an observer/counter that does not implement ExemplarObserver/ExemplarAdder (e.g. a SummaryVec). The exemplar is dropped and the value is recorded via the plain Observe/Add path, matching the safe-cast already used by Timer.ObserveDurationWithExemplar. #​2005
  • [BUGFIX] api/prometheus/v1: Fall back to GET requests when POST requests return 403 Forbidden or method not allowed. #​2030
  • [BUGFIX] api: Respect context cancellation inside httpClient.Do. #​1971
  • [BUGFIX] exp/api/remote: Fix compression buffer pooling where compressed buffers were released prematurely, causing corrupted remote-write payloads. #​1889
  • [BUGFIX] exp/api/remote: Reject malformed snappy payloads declaring huge decoded sizes. Enforce a 32MB decoded-size limit to prevent OOM from oversized remote-write requests. #​1917
  • [BUGFIX] exp/api/remote: Ensure remote write v2 headers cannot be returned on v1 requests. #​1927
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.23.2...v1.24.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

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.

@red-hat-konflux

red-hat-konflux Bot commented Jul 23, 2026 •

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

  • 3 additional dependencies were updated

Details:

Package Change
github.com/prometheus/common v0.69.0 -> v0.70.1
github.com/prometheus/procfs v0.20.1 -> v0.21.1
golang.org/x/sys v0.46.0 -> v0.47.0

@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.0 Update module github.com/prometheus/client_golang to v1.24.0 - autoclosed Jul 27, 2026
@red-hat-konflux red-hat-konflux Bot closed this Jul 27, 2026
@red-hat-konflux
red-hat-konflux Bot deleted the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch July 27, 2026 01:23
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.0 - autoclosed Update module github.com/prometheus/client_golang to v1.24.1 Jul 27, 2026
@red-hat-konflux red-hat-konflux Bot reopened this Jul 27, 2026
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch 2 times, most recently from e1d136b to 6f523c5 Compare July 27, 2026 09:14
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.1 Update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Aug 2, 2026
@red-hat-konflux red-hat-konflux Bot closed this Aug 2, 2026
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Update module github.com/prometheus/client_golang to v1.24.1 Aug 3, 2026
@red-hat-konflux red-hat-konflux Bot reopened this Aug 3, 2026
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 6f523c5 to c131b04 Compare August 3, 2026 05:22
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.1 Update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Aug 5, 2026
@red-hat-konflux red-hat-konflux Bot closed this Aug 5, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot changed the title Update module github.com/prometheus/client_golang to v1.24.1 - autoclosed Update module github.com/prometheus/client_golang to v1.24.1 Aug 6, 2026
@red-hat-konflux red-hat-konflux Bot reopened this Aug 6, 2026
@red-hat-konflux
red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-prometheus-client_golang-1.x branch 2 times, most recently from c131b04 to b1bbcc9 Compare August 6, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants