Skip to content

Update module github.com/prometheus/client_golang to v1.22.0 - #473

Merged
XSAM merged 1 commit into
mainfrom
renovate/github.com-prometheus-client_golang-1.x
May 14, 2025
Merged

XSAM merged 1 commit into
mainfrom
renovate/github.com-prometheus-client_golang-1.x

Conversation

@renovate

@renovate renovate Bot commented Apr 8, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.21.1 -> v1.22.0 age adoption passing confidence

Release Notes

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

v1.22.0: - 2025-04-07

Compare Source

⚠️ This release contains potential breaking change if you use experimental zstd support introduce in #​1496 ⚠️

Experimental support for zstd on scrape was added, controlled by the request Accept-Encoding header.
It was enabled by default since version 1.20, but now you need to add a blank import to enable it.
The decision to make it opt-in by default was originally made because the Go standard library was expected to have default zstd support added soon,
https://github.com/golang/go/issues/62513 however, the work took longer than anticipated and it will be postponed to upcoming major Go versions.

e.g.:

import (
  _ "github.com/prometheus/client_golang/prometheus/promhttp/zstd"
)
  • [FEATURE] prometheus: Add new CollectorFunc utility #​1724
  • [CHANGE] Minimum required Go version is now 1.22 (we also test client_golang against latest go version - 1.24) #​1738
  • [FEATURE] api: WithLookbackDelta and WithStats options have been added to API client. #​1743
  • [CHANGE] ⚠️ promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #​1765
All Changes

New Contributors

Full Changelog: prometheus/client_golang@v1.21.1...v1.22.0-rc.0


Configuration

📅 Schedule: 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 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from XSAM as a code owner April 8, 2025 10:11
@codecov

codecov Bot commented Apr 8, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.3%. Comparing base (3026e5f) to head (e668268).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #473   +/-   ##
=====================================
  Coverage   85.3%   85.3%           
=====================================
  Files         16      16           
  Lines        909     909           
=====================================
  Hits         776     776           
  Misses       107     107           
  Partials      26      26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 4404aa5 to 630ade8 Compare April 11, 2025 19:42
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 8b7d47f to e47bef8 Compare April 15, 2025 16:34
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from ef969ad to f6e8196 Compare April 27, 2025 19:38
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from 0256693 to 70a4b52 Compare May 2, 2025 05:33
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 8 times, most recently from ec500a7 to 511127b Compare May 14, 2025 02:30
@XSAM
XSAM enabled auto-merge (squash) May 14, 2025 04:02
@renovate
renovate Bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 511127b to e668268 Compare May 14, 2025 04:02
@XSAM
XSAM merged commit 2634113 into main May 14, 2025
@XSAM
XSAM deleted the renovate/github.com-prometheus-client_golang-1.x branch May 14, 2025 04:04
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.

1 participant