kwok
kwok copied to clipboard
Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.5
Bumps github.com/prometheus/client_golang from 1.19.1 to 1.20.5.
Release notes
Sourced from github.com/prometheus/client_golang's releases.
v1.20.5 / 2024-10-15
We decided to revert the
testutilchange that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced
testutilpackage/module with more flexible and safer APIs.Thanks to
@dashpole@dgrisonnet@kakkoyun@ArthurSens@vesari@logicalhan@krajorama@bwplotkawho helped in this patch release! 🤗Changelog
[BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #1645
v1.20.4
- [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #1623
v1.20.3
- [BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
v1.20.2
- [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
v1.20.1
This release contains the critical fix for the issue. Thanks to
@geberl,@CubicrootXYZ,@zetaaband@timofurrerfor helping us with the investigation!
- [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #1587
v1.20.0
Thanks everyone for contributions!
:warning: In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default
collectors.NewGoCollector()collector. Given its popular usage, expect your binary to expose two additional metric.Changes
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_totalmetric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent,go_gc_gomemlimit_bytesandgo_sched_gomaxprocs_threadsas those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metricssourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstdon scrape, controlled by the requestAccept-Encodingheader. #1496- [FEATURE] api/v1: Add
WithLimitparameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collectors: Add network usage metrics:
process_network_receive_bytes_totalandprocess_network_transmit_bytes_total. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424
... (truncated)
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
1.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
- [BUGFIX] histograms: Fix possible data race when appending exemplars vs metrics gather. #1623
1.20.3 / 2024-09-05
- [BUGFIX] histograms: Fix possible data race when appending exemplars. #1608
1.20.2 / 2024-08-23
- [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #1596
1.20.1 / 2024-08-20
- [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with
PedanticRegistryon linux machines. #15871.20.0 / 2024-08-14
- [CHANGE] :warning: go-collector: Remove
go_memstat_lookups_totalmetric which was always 0; Go runtime stopped sharing pointer lookup statistics. #1577- [FEATURE] :warning: go-collector: Add 3 default metrics:
go_gc_gogc_percent,go_gc_gomemlimit_bytesandgo_sched_gomaxprocs_threadsas those are recommended by the Go team. #1559- [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact
runtime/metricssourcing each metric (if relevant). #1568 #1578- [FEATURE] testutil: Add CollectAndFormat method. #1503
- [FEATURE] histograms: Add support for exemplars in native histograms. #1471
- [FEATURE] promhttp: Add experimental support for
zstdon scrape, controlled by the requestAccept-Encodingheader. #1496- [FEATURE] api/v1: Add
WithLimitparameter to all API methods that supports it. #1544- [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #1537
- [FEATURE] process-collector: Add network usage metrics:
process_network_receive_bytes_totalandprocess_network_transmit_bytes_total. #1555- [FEATURE] promlint: Add duplicated metric lint rule. #1472
- [BUGFIX] promlint: Relax metric type in name linter rule. #1455
- [BUGFIX] promhttp: Make sure server instrumentation wrapping supports new and future extra responseWriter methods. #1480
- [BUGFIX] breaking testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #1424 (reverted in 1.20.5)
1.19.0 / 2024-02-27
The module
prometheus/common v0.48.0introduced an incompatibility when used together with client_golang (See prometheus/client_golang#1448 for more details). If your project uses client_golang and you want to useprometheus/common v0.48.0or higher, please update client_golang to v1.19.0.
- [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #1445 #1449
- [FEATURE] collectors: Add version collector. #1422 #1427
1.18.0 / 2023-12-22
- [FEATURE] promlint: Allow creation of custom metric validations. #1311
- [FEATURE] Go programs using client_golang can be built in wasip1 OS. #1350
- [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #1367
- [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #1378
- [ENHANCEMENT] Improved performance of
MetricVec.WithLabelValues(...). #1360
... (truncated)
Commits
48e12a1Merge pull request #1645 from prometheus/cut-1204-pr1424504ad9bCut 1.20.5; update comments.584a7ceRevert "testutil compareMetricFamilies: make less error-prone (#1424)"05fcde9Merge pull request #1623 from krajorama/data-race-in-histogram-write209f4c0Add changelog1e398ccnative histogram: Fix race between Write and addExemplaref2f87eMerge pull request #1620 from prometheus/arthursens/prepare-1.20.3937ac63Add changelog entry for 1.20.36e9914dMerge pull request #1608 from krajorama/index-out-of-range-native-histogram-e...d6b8c89Update comments with more explanations- 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)
Hi @dependabot[bot]. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Deploy Preview for k8s-kwok canceled.
| Name | Link |
|---|---|
| Latest commit | 48bcd1b32d2d8d96df789106f6393213f8166bb1 |
| Latest deploy log | https://app.netlify.com/sites/k8s-kwok/deploys/67165385bd425f0008eed889 |
/approve /lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dependabot[bot], wzshiming
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [wzshiming]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment