steampipe-plugin-prometheus
steampipe-plugin-prometheus copied to clipboard
Bump github.com/prometheus/client_golang from 1.14.0 to 1.22.0
Bumps github.com/prometheus/client_golang from 1.14.0 to 1.22.0.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.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
- build(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 by
@dependabotin prometheus/client_golang#1720- build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by
@dependabotin prometheus/client_golang#1719- Update RELEASE.md by
@bwplotkain prometheus/client_golang#1721- chore(docs): Add links for the upstream PRs by
@kakkoyunin prometheus/client_golang#1722- Added tips on releasing client and checking with k8s. by
@bwplotkain prometheus/client_golang#1723- feat: Add new CollectorFunc utility by
@Saumya40-codesin prometheus/client_golang#1724- build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by
@dependabotin prometheus/client_golang#1725- build(deps): bump the github-actions group with 5 updates by
@dependabotin prometheus/client_golang#1726- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1727- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1731- build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 by
@dependabotin prometheus/client_golang#1739- build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by
@dependabotin prometheus/client_golang#1740- Cleanup dependabot config by
@SuperQin prometheus/client_golang#1741- Upgrade Golang version v1.24 by
@dongjiang1989in prometheus/client_golang#1738- build(deps): bump the github-actions group with 2 updates by
@dependabotin prometheus/client_golang#1742- Merging 1.21 release back to main. by
@bwplotkain prometheus/client_golang#1744- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1745- Add support for undocumented query options for API by
@mahendrapaipuriin prometheus/client_golang#1743- exp/api: Add experimental exp module; Add remote API with write client and handler. by
@bwplotkain prometheus/client_golang#1658- exp/api: Add accepted msg type validation to handler by
@saswatamcodein prometheus/client_golang#1750- build(deps): bump the github-actions group with 5 updates by
@dependabotin prometheus/client_golang#1751- build(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 by
@dependabotin prometheus/client_golang#1752- build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by
@dependabotin prometheus/client_golang#1753- exp: Reset snappy buf by
@saswatamcodein prometheus/client_golang#1756- Merge release 1.21.1 to main. by
@bwplotkain prometheus/client_golang#1762- exp: Add dependabot config by
@saswatamcodein prometheus/client_golang#1754- build(deps): bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 in the github-actions group by
@dependabotin prometheus/client_golang#1764
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
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- [FEATURE] promhttp: Add
promhttp.HandlerOpts.EnableOpenMetricsTextCreatedSamplesoption to create OpenMetrics _created lines. Not recommended unless you want to use opt-in Created Timestamp feature. Community works on OpenMetrics 2.0 format that should make those lines obsolete (they increase cardinality significantly). #1408- [FEATURE] prometheus: Add
NewConstNativeHistogramfunction. #16541.20.5 / 2024-10-15
- [BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input.
1.20.4 / 2024-09-07
... (truncated)
Commits
d50be25Cut 1.22.0 (#1793)1043db7Cut 1.22.0-rc.0 (#1768)e575c9cpromhttp: Isolate zstd support and klauspost/compress library use to promhttp...f2276aaMerge pull request #1764 from prometheus/dependabot/github_actions/github-act...9df772cbuild(deps): bump peter-evans/create-pull-requesta3548c5Merge pull request #1754 from saswatamcode/exp-eh60fd2b0Remove go.work file for now8f9d0deexp: Add dependabot configc5cf981Merge pull request #1762 from prometheus/release-1.218a42da3Fix ios build. (#1758)- 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)