chore: bump github.com/prometheus/client_golang from 1.18.0 to 1.23.0
Type: Pull Request
State: Closed
Association: Contributor
Comments: 0
(3 months ago)
(2 months ago)
(2 months ago)
stale dependencies go
Bumps github.com/prometheus/client_golang from 1.18.0 to 1.23.0.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.23.0 - 2025-07-30
- [CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. #1812
- [FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix #1766
- [FEATURE] Add exemplars for native histograms #1686
- [ENHANCEMENT] exp/api: Bubble up status code from writeResponse #1823
- [ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 #1833
- [BUGFIX] exp/api: client prompt return on context cancellation #1729
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
1.23.0 / 2025-07-30
- [CHANGE] Minimum required Go version is now 1.23, only the two latest Go versions are supported from now on. #1812
- [FEATURE] Add WrapCollectorWith and WrapCollectorWithPrefix #1766
- [FEATURE] Add exemplars for native histograms #1686
- [ENHANCEMENT] exp/api: Bubble up status code from writeResponse #1823
- [ENHANCEMENT] collector/go: Update runtime metrics for Go v1.23 and v1.24 #1833
- [BUGFIX] exp/api: client prompt return on context cancellation #1729
1.22.0 / 2025-04-07
:warning: This release contains potential breaking change if you use experimental
zstdsupport introduce in #1496 :warning:Experimental support for
zstdon scrape was added, controlled by the requestAccept-Encodingheader. 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, golang/go#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:
WithLookbackDeltaandWithStatsoptions have been added to API client. #1743- [CHANGE] :warning: promhttp: Isolate zstd support and klauspost/compress library use to promhttp/zstd package. #1765
1.21.1 / 2025-03-04
- [BUGFIX] prometheus: Revert of
Inc,AddandObservecumulative metric CAS optimizations (#1661), causing regressions on low contention cases.- [BUGFIX] prometheus: Fix GOOS=ios build, broken due to process_collector_* wrong build tags.
1.21.0 / 2025-02-17
:warning: This release contains potential breaking change if you upgrade
github.com/prometheus/commonto 0.62+ together with client_golang. :warning:New common version changes
model.NameValidationSchemeglobal variable, which relaxes the validation of label names and metric name, allowing all UTF-8 characters. Typically, this should not break any user, unless your test or usage expects strict certain names to panic/fail on client_golang metric registration, gathering or scrape. In case of problems changemodel.NameValidationSchemeto oldmodel.LegacyValidationvalue in your projectinitfunction.
- [BUGFIX] gocollector: Fix help message for runtime/metric metrics. #1583
- [BUGFIX] prometheus: Fix
Desc.String()method for no labels case. #1687- [ENHANCEMENT] prometheus: Optimize popular
prometheus.BuildFQNamefunction; now up to 30% faster. #1665- [ENHANCEMENT] prometheus: Optimize
Inc,AddandObservecumulative metrics; now up to 50% faster under high concurrent contention. #1661- [CHANGE] Upgrade prometheus/common to 0.62.0 which changes
model.NameValidationSchemeglobal variable. #1712- [CHANGE] Add support for Go 1.23. #1602
- [FEATURE] process_collector: Add support for Darwin systems. #1600 #1616 #1625 #1675 #1715
- [FEATURE] api: Add ability to invoke
CloseIdleConnectionson api.Client usingapi.Client.(CloseIdler).CloseIdleConnections()casting. #1513
... (truncated)
Commits
e4b2208Cut v1.23.0 (#1848)d9492afcut v1.23.0-rc.1 (#1842)aeae8a0Cut v1.23.0-rc.0 (#1837)b157309Update common Prometheus files (#1832)a704e28build(deps): bump the github-actions group with 3 updates (#1826)c774311Fix errNotImplemented reference (#1835)db4db7bUpdate runtime metrics for Go v1.23 and v1.24 (#1833)99d380eUpdate common Prometheus files (#1831)f3ef320Merge pull request #1828 from prometheus/dependabot/go_modules/exp/github.com...520c91abuild(deps): bump github.com/prometheus/common in /exp- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+65
-63
Package Dependencies
github.com/prometheus/client_golang
go
1.18.0 → 1.23.0
Minor
Technical Details
| ID: | 5158726 |
| UUID: | 2718115871 |
| Node ID: | PR_kwDOLmBl1M6iAygf |
| Host: | GitHub |
| Repository: | Txim0520/https-github.com-coder-coder |
| Mergeable: | Yes |
| Merge State: | Unstable |