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

Update module github.com/prometheus/client_golang to v1.20.5 #51

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.15.1 -> 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

v1.17.0

Compare Source

What's Changed

  • [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #​1325
  • [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #​1313
  • [ENHANCEMENT] Enable detection of a native histogram without observations. #​1314
Commits

New Contributors

Full Changelog: prometheus/client_golang@v1.16.0...v1.17.0

v1.16.0

Compare Source

What's Changed

  • [BUGFIX] api: Switch to POST for LabelNames, Series, and QueryExemplars. #​1252
  • [BUGFIX] api: Fix undefined execution order in return statements. #​1260
  • [BUGFIX] native histograms: Fix bug in bucket key calculation. #​1279
  • [ENHANCEMENT] Reduce constrainLabels allocations for all metrics. #​1272
  • [ENHANCEMENT] promhttp: Add process start time header for scrape efficiency. #​1278
  • [ENHANCEMENT] promlint: Improve metricUnits runtime. #​1286
Commits

New Contributors

Full Changelog: prometheus/client_golang@v1.15.1...v1.16.0


Configuration

📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), 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 force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from 7a8134e to 55a2f67 Compare March 6, 2024 20:24
@rillian
Copy link
Contributor

rillian commented Mar 6, 2024

This needs a bump to client_golang v0.19.

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 4 times, most recently from fa89b98 to 8b9720e Compare March 7, 2024 19:49
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 5 times, most recently from 6daa04e to ecaf9bb Compare March 20, 2024 21:14
@rillian
Copy link
Contributor

rillian commented Mar 20, 2024

Still not sure what's up with the golangci-lint ci failure. Works fine on my machine!

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from ecaf9bb to 24c9954 Compare March 28, 2024 15:55
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 9895578 to d965750 Compare April 17, 2024 15:37
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 4281c80 to 5bc496f Compare April 24, 2024 16:05
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 5 times, most recently from e968e06 to a066fbe Compare May 8, 2024 19:31
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from f81fd37 to e84afdf Compare May 13, 2024 14:14
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.19.0 Update module github.com/prometheus/client_golang to v1.19.1 May 13, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from e84afdf to 04ce3e5 Compare May 15, 2024 16:23
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 04ce3e5 to 3e7f827 Compare May 29, 2024 15:46
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 3e7f827 to fc46a2e Compare May 29, 2024 15:52
Copy link
Contributor Author

renovate bot commented Jun 5, 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):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/prometheus/client_model v0.3.0 -> v0.6.1
github.com/prometheus/common v0.42.0 -> v0.55.0
github.com/prometheus/procfs v0.9.0 -> v0.15.1
golang.org/x/net v0.23.0 -> v0.26.0
google.golang.org/protobuf v1.33.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from fc46a2e to 9ab4d19 Compare June 5, 2024 16:49
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from 328e80e to 40444c6 Compare June 19, 2024 22:05
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from d8baf10 to 3c9d97f Compare June 26, 2024 23:05
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 7c50933 to 7cf8cc8 Compare July 8, 2024 17:47
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from 0a8e53d to 20a1697 Compare July 18, 2024 17:38
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 20a1697 to 32fab50 Compare July 25, 2024 19:32
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 3 times, most recently from 68e71fb to 71c82da Compare August 12, 2024 13:23
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.19.1 Update module github.com/prometheus/client_golang to v1.20.0 Aug 18, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 71c82da to 68764e8 Compare August 24, 2024 13:00
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.0 Update module github.com/prometheus/client_golang to v1.20.1 Aug 24, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 68764e8 to 1387c0f Compare August 27, 2024 21:20
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.1 Update module github.com/prometheus/client_golang to v1.20.2 Aug 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 1387c0f to 65d73a4 Compare September 9, 2024 12:45
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.2 Update module github.com/prometheus/client_golang to v1.20.3 Sep 9, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 65d73a4 to 66702de Compare September 17, 2024 09:03
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.3 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 66702de to 282941b Compare October 19, 2024 10:56
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.4 Update module github.com/prometheus/client_golang to v1.20.5 Oct 19, 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.

1 participant