Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/prometheus/client_golang to v1.20.5 #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2023

This PR contains the following updates:

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

Release Notes

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

v1.20.5: / 2024-10-15

Compare Source

We decided to revert the testutil change 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 testutil package/module with more flexible and safer APIs.

Thanks to @​dashpole @​dgrisonnet @​kakkoyun @​ArthurSens @​vesari @​logicalhan @​krajorama @​bwplotka who 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

Compare Source

  • [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #​1623

v1.20.3

Compare Source

  • [BUGFIX] histograms: Fix possible data race when appending exemplars. #​1608

v1.20.2

Compare Source

  • [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #​1596

v1.20.1

Compare Source

  • [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #​1587

v1.20.0

Compare Source

Thanks everyone for contributions!

⚠️ 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] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #​1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #​1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing 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 zstd on scrape, controlled by the request Accept-Encoding header. #​1496
  • [FEATURE] api/v1: Add WithLimit parameter 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_total and process_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
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.19.1...v1.20.0

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: prometheus/client_golang@v1.19.0...v1.19.1

v1.19.0

Compare Source

What's Changed

The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or 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

New Contributors

Full Changelog: prometheus/client_golang@v1.18.0...v1.19.0

v1.18.0

Compare Source

What's Changed

  • [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

New Contributors

Full Changelog: prometheus/client_golang@v1.17.0...v1.18.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 review from a team as code owners December 28, 2023 00:52
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.04%. Comparing base (0847956) to head (6862166).
Report is 1 commits behind head on main.

❗ Current head 6862166 differs from pull request most recent head 343afc4. Consider uploading reports for the commit 343afc4 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
- Coverage   80.14%   80.04%   -0.11%     
==========================================
  Files          27       27              
  Lines        1919     1919              
==========================================
- Hits         1538     1536       -2     
- Misses        312      313       +1     
- Partials       69       70       +1     
Flag Coverage Δ
unittests 80.04% <ø> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.18.0 fix(deps): update module github.com/prometheus/client_golang to v1.19.0 Feb 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 93c5a97 to 6862166 Compare February 27, 2024 19:18
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 6862166 to ffea1d7 Compare April 3, 2024 19:40
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.19.0 fix(deps): update module github.com/prometheus/client_golang to v1.19.1 May 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from ffea1d7 to 343afc4 Compare May 9, 2024 13:19
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 343afc4 to 2502c5e Compare August 14, 2024 17:07
Copy link
Contributor Author

renovate bot commented Aug 14, 2024

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

  • 8 additional dependencies were updated

Details:

Package Change
github.com/stretchr/testify v1.8.4 -> v1.9.0
golang.org/x/sync v0.4.0 -> v0.7.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 -> v0.6.1
github.com/prometheus/common v0.44.0 -> v0.55.0
github.com/prometheus/procfs v0.11.1 -> v0.15.1
golang.org/x/sys v0.11.0 -> v0.22.0
google.golang.org/protobuf v1.31.0 -> v1.34.2

@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.19.1 fix(deps): update module github.com/prometheus/client_golang to v1.20.0 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 2502c5e to 5b81588 Compare August 20, 2024 12:14
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.0 fix(deps): update module github.com/prometheus/client_golang to v1.20.1 Aug 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 5b81588 to d3ff439 Compare August 23, 2024 20:32
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.1 fix(deps): update module github.com/prometheus/client_golang to v1.20.2 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from d3ff439 to f68a16f Compare September 5, 2024 13:21
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.2 fix(deps): update module github.com/prometheus/client_golang to v1.20.3 Sep 5, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.3 fix(deps): update module github.com/prometheus/client_golang to v1.20.4 Sep 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from f68a16f to 0d0f9b1 Compare September 17, 2024 09:35
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 0d0f9b1 to 954a382 Compare October 15, 2024 11:46
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.4 fix(deps): update module github.com/prometheus/client_golang to v1.20.5 Oct 15, 2024
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.5 fix(deps): update module github.com/prometheus/client_golang to v1.20.5 - autoclosed Oct 25, 2024
@renovate renovate bot closed this Oct 25, 2024
@renovate renovate bot deleted the renovate/github.com-prometheus-client_golang-1.x branch October 25, 2024 06:29
@renovate renovate bot changed the title fix(deps): update module github.com/prometheus/client_golang to v1.20.5 - autoclosed fix(deps): update module github.com/prometheus/client_golang to v1.20.5 Oct 25, 2024
@renovate renovate bot restored the renovate/github.com-prometheus-client_golang-1.x branch October 25, 2024 09:33
@renovate renovate bot reopened this Oct 25, 2024
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