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

Merged
konrad merged 1 commits from renovate/github.com-prometheus-client_golang-1.x into main 2022-08-07 09:28:20 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/prometheus/client_golang require minor v1.12.2 -> v1.13.0

Release Notes

prometheus/client_golang

v1.13.0

Compare Source

  • CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version).
    
  • ENHANCEMENT] Added `prometheus.TransactionalGatherer` interface for `promhttp.Handler` use which allows using low allocation update techniques for custom collectors. [#​989](https://github.com/prometheus/client_golang/issues/989)
    
  • ENHANCEMENT] Added exemplar support to `prometheus.NewConstHistogram`. See [`ExampleNewConstHistogram_WithExemplar`](prometheus/examples_test.go#L602) example on how to use it. [#​986](https://github.com/prometheus/client_golang/issues/986)
    
  • ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#​1028](https://github.com/prometheus/client_golang/issues/1028)
    
  • ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#​1075](https://github.com/prometheus/client_golang/issues/1075)
    
  • ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#​998](https://github.com/prometheus/client_golang/issues/998)
    
  • ENHANCEMENT] Query API now supports timeouts. [#​1014](https://github.com/prometheus/client_golang/issues/1014)
    
  • ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#​1013](https://github.com/prometheus/client_golang/issues/1013)
    
  • ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#​1025](https://github.com/prometheus/client_golang/issues/1025)
    
  • BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#​1091](https://github.com/prometheus/client_golang/issues/1091)
    
  • BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#​1094](https://github.com/prometheus/client_golang/issues/1094)
    
  • ENHANCEMENT] Most `promhttp.Instrument*` middlewares now support adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and puts it in exemplar if present. [#​1055](https://github.com/prometheus/client_golang/issues/1055)
    
  • ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#​1043](https://github.com/prometheus/client_golang/issues/1043)
    
  • BUGFIX] Fixed `GopherJS` build support. [#​897](https://github.com/prometheus/client_golang/issues/897)
    
  • ENHANCEMENT] :warning: Added way to specify what `runtime/metrics`  `collectors.NewGoCollector` should use. See [`ExampleGoCollector_WithAdvancedGoMetrics`](prometheus/collectors/go_collector_latest_test.go#L263). [#​1102](https://github.com/prometheus/client_golang/issues/1102)
    
    

New Contributors ❤️


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 becomes conflicted, 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, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | require | minor | `v1.12.2` -> `v1.13.0` | --- ### Release Notes <details> <summary>prometheus/client_golang</summary> ### [`v1.13.0`](https://github.com/prometheus/client_golang/releases/tag/v1.13.0) [Compare Source](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.0) - \[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version). - \[ENHANCEMENT] Added `prometheus.TransactionalGatherer` interface for `promhttp.Handler` use which allows using low allocation update techniques for custom collectors. [#&#8203;989](https://github.com/prometheus/client_golang/issues/989) - \[ENHANCEMENT] Added exemplar support to `prometheus.NewConstHistogram`. See [`ExampleNewConstHistogram_WithExemplar`](prometheus/examples_test.go#L602) example on how to use it. [#&#8203;986](https://github.com/prometheus/client_golang/issues/986) - \[ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#&#8203;1028](https://github.com/prometheus/client_golang/issues/1028) - \[ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#&#8203;1075](https://github.com/prometheus/client_golang/issues/1075) - \[ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#&#8203;998](https://github.com/prometheus/client_golang/issues/998) - \[ENHANCEMENT] Query API now supports timeouts. [#&#8203;1014](https://github.com/prometheus/client_golang/issues/1014) - \[ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#&#8203;1013](https://github.com/prometheus/client_golang/issues/1013) - \[ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#&#8203;1025](https://github.com/prometheus/client_golang/issues/1025) - \[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#&#8203;1091](https://github.com/prometheus/client_golang/issues/1091) - \[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#&#8203;1094](https://github.com/prometheus/client_golang/issues/1094) - \[ENHANCEMENT] Most `promhttp.Instrument*` middlewares now support adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and puts it in exemplar if present. [#&#8203;1055](https://github.com/prometheus/client_golang/issues/1055) - \[ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#&#8203;1043](https://github.com/prometheus/client_golang/issues/1043) - \[BUGFIX] Fixed `GopherJS` build support. [#&#8203;897](https://github.com/prometheus/client_golang/issues/897) - \[ENHANCEMENT] :warning: Added way to specify what `runtime/metrics` `collectors.NewGoCollector` should use. See [`ExampleGoCollector_WithAdvancedGoMetrics`](prometheus/collectors/go_collector_latest_test.go#L263). [#&#8203;1102](https://github.com/prometheus/client_golang/issues/1102) #### New Contributors ❤️ - [@&#8203;alissa-tung](https://github.com/alissa-tung) made their first contribution in https://github.com/prometheus/client_golang/pull/1000 - [@&#8203;wperron](https://github.com/wperron) made their first contribution in https://github.com/prometheus/client_golang/pull/986 - [@&#8203;zhijian-pro](https://github.com/zhijian-pro) made their first contribution in https://github.com/prometheus/client_golang/pull/1005 - [@&#8203;dohnto](https://github.com/dohnto) made their first contribution in https://github.com/prometheus/client_golang/pull/1021 - [@&#8203;tatsuhiro-t](https://github.com/tatsuhiro-t) made their first contribution in https://github.com/prometheus/client_golang/pull/1028 - [@&#8203;sourikghosh](https://github.com/sourikghosh) made their first contribution in https://github.com/prometheus/client_golang/pull/998 - [@&#8203;josephwoodward](https://github.com/josephwoodward) made their first contribution in https://github.com/prometheus/client_golang/pull/1014 - [@&#8203;stone-z](https://github.com/stone-z) made their first contribution in https://github.com/prometheus/client_golang/pull/1013 - [@&#8203;yolossn](https://github.com/yolossn) made their first contribution in https://github.com/prometheus/client_golang/pull/1025 - [@&#8203;xrstf](https://github.com/xrstf) made their first contribution in https://github.com/prometheus/client_golang/pull/1039 - [@&#8203;dependabot](https://github.com/dependabot) made their first contribution in https://github.com/prometheus/client_golang/pull/1051 - [@&#8203;sazary](https://github.com/sazary) made their first contribution in https://github.com/prometheus/client_golang/pull/1056 - [@&#8203;oiooj](https://github.com/oiooj) made their first contribution in https://github.com/prometheus/client_golang/pull/1075 - [@&#8203;fredr](https://github.com/fredr) made their first contribution in https://github.com/prometheus/client_golang/pull/1095 - [@&#8203;inosato](https://github.com/inosato) made their first contribution in https://github.com/prometheus/client_golang/pull/1096 - [@&#8203;arun-shopify](https://github.com/arun-shopify) made their first contribution in https://github.com/prometheus/client_golang/pull/1094 - [@&#8203;paralin](https://github.com/paralin) made their first contribution in https://github.com/prometheus/client_golang/pull/897 </details> --- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMzcuMCIsInVwZGF0ZWRJblZlciI6IjMyLjEzNy4wIn0=-->
renovate added the
dependencies
label 2022-08-06 10:00:59 +00:00
renovate added 1 commit 2022-08-06 10:00:59 +00:00
konrad merged commit 4e7510995c into main 2022-08-07 09:28:20 +00:00
konrad deleted branch renovate/github.com-prometheus-client_golang-1.x 2022-08-07 09:28:20 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1231
No description provided.