prometheus/client_golang
### [`v1.13.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.13.0)
[Compare Source](https://togithub.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. [#989](https://togithub.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://togithub.com/prometheus/client_golang/issues/986)
- \[ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#1028](https://togithub.com/prometheus/client_golang/issues/1028)
- \[ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#1075](https://togithub.com/prometheus/client_golang/issues/1075)
- \[ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#998](https://togithub.com/prometheus/client_golang/issues/998)
- \[ENHANCEMENT] Query API now supports timeouts. [#1014](https://togithub.com/prometheus/client_golang/issues/1014)
- \[ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#1013](https://togithub.com/prometheus/client_golang/issues/1013)
- \[ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#1025](https://togithub.com/prometheus/client_golang/issues/1025)
- \[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#1091](https://togithub.com/prometheus/client_golang/issues/1091)
- \[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#1094](https://togithub.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://togithub.com/prometheus/client_golang/issues/1055)
- \[ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#1043](https://togithub.com/prometheus/client_golang/issues/1043)
- \[BUGFIX] Fixed `GopherJS` build support. [#897](https://togithub.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://togithub.com/prometheus/client_golang/issues/1102)
##### New Contributors ❤️
- [@alissa-tung](https://togithub.com/alissa-tung) made their first contribution in [https://github.com/prometheus/client_golang/pull/1000](https://togithub.com/prometheus/client_golang/pull/1000)
- [@wperron](https://togithub.com/wperron) made their first contribution in [https://github.com/prometheus/client_golang/pull/986](https://togithub.com/prometheus/client_golang/pull/986)
- [@zhijian-pro](https://togithub.com/zhijian-pro) made their first contribution in [https://github.com/prometheus/client_golang/pull/1005](https://togithub.com/prometheus/client_golang/pull/1005)
- [@dohnto](https://togithub.com/dohnto) made their first contribution in [https://github.com/prometheus/client_golang/pull/1021](https://togithub.com/prometheus/client_golang/pull/1021)
- [@tatsuhiro-t](https://togithub.com/tatsuhiro-t) made their first contribution in [https://github.com/prometheus/client_golang/pull/1028](https://togithub.com/prometheus/client_golang/pull/1028)
- [@sourikghosh](https://togithub.com/sourikghosh) made their first contribution in [https://github.com/prometheus/client_golang/pull/998](https://togithub.com/prometheus/client_golang/pull/998)
- [@josephwoodward](https://togithub.com/josephwoodward) made their first contribution in [https://github.com/prometheus/client_golang/pull/1014](https://togithub.com/prometheus/client_golang/pull/1014)
- [@stone-z](https://togithub.com/stone-z) made their first contribution in [https://github.com/prometheus/client_golang/pull/1013](https://togithub.com/prometheus/client_golang/pull/1013)
- [@yolossn](https://togithub.com/yolossn) made their first contribution in [https://github.com/prometheus/client_golang/pull/1025](https://togithub.com/prometheus/client_golang/pull/1025)
- [@xrstf](https://togithub.com/xrstf) made their first contribution in [https://github.com/prometheus/client_golang/pull/1039](https://togithub.com/prometheus/client_golang/pull/1039)
- [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/prometheus/client_golang/pull/1051](https://togithub.com/prometheus/client_golang/pull/1051)
- [@sazary](https://togithub.com/sazary) made their first contribution in [https://github.com/prometheus/client_golang/pull/1056](https://togithub.com/prometheus/client_golang/pull/1056)
- [@oiooj](https://togithub.com/oiooj) made their first contribution in [https://github.com/prometheus/client_golang/pull/1075](https://togithub.com/prometheus/client_golang/pull/1075)
- [@fredr](https://togithub.com/fredr) made their first contribution in [https://github.com/prometheus/client_golang/pull/1095](https://togithub.com/prometheus/client_golang/pull/1095)
- [@inosato](https://togithub.com/inosato) made their first contribution in [https://github.com/prometheus/client_golang/pull/1096](https://togithub.com/prometheus/client_golang/pull/1096)
- [@arun-shopify](https://togithub.com/arun-shopify) made their first contribution in [https://github.com/prometheus/client_golang/pull/1094](https://togithub.com/prometheus/client_golang/pull/1094)
- [@paralin](https://togithub.com/paralin) made their first contribution in [https://github.com/prometheus/client_golang/pull/897](https://togithub.com/prometheus/client_golang/pull/897)
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 Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.12.2
->v1.13.0
Release Notes
prometheus/client_golang
### [`v1.13.0`](https://togithub.com/prometheus/client_golang/releases/tag/v1.13.0) [Compare Source](https://togithub.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. [#989](https://togithub.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://togithub.com/prometheus/client_golang/issues/986) - \[ENHANCEMENT] `prometheus/push.Pusher` now has context-aware methods that pass context to HTTP requests. [#1028](https://togithub.com/prometheus/client_golang/issues/1028) - \[ENHANCEMENT] `prometheus/push.Pusher` has now `Error` method that retrieve last error. [#1075](https://togithub.com/prometheus/client_golang/issues/1075) - \[ENHANCEMENT] `testutil.GatherAndCompare` provides now readable diff on failed comparisons. [#998](https://togithub.com/prometheus/client_golang/issues/998) - \[ENHANCEMENT] Query API now supports timeouts. [#1014](https://togithub.com/prometheus/client_golang/issues/1014) - \[ENHANCEMENT] New `MetricVec` method `DeletePartialMatch(labels Labels)` for deleting all metrics that match provided labels. [#1013](https://togithub.com/prometheus/client_golang/issues/1013) - \[ENHANCEMENT] `api.Config` now accepts passing custom `*http.Client`. [#1025](https://togithub.com/prometheus/client_golang/issues/1025) - \[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. [#1091](https://togithub.com/prometheus/client_golang/issues/1091) - \[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. [#1094](https://togithub.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://togithub.com/prometheus/client_golang/issues/1055) - \[ENHANCEMENT] Added `testutil.ScrapeAndCompare` method. [#1043](https://togithub.com/prometheus/client_golang/issues/1043) - \[BUGFIX] Fixed `GopherJS` build support. [#897](https://togithub.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://togithub.com/prometheus/client_golang/issues/1102) ##### New Contributors ❤️ - [@alissa-tung](https://togithub.com/alissa-tung) made their first contribution in [https://github.com/prometheus/client_golang/pull/1000](https://togithub.com/prometheus/client_golang/pull/1000) - [@wperron](https://togithub.com/wperron) made their first contribution in [https://github.com/prometheus/client_golang/pull/986](https://togithub.com/prometheus/client_golang/pull/986) - [@zhijian-pro](https://togithub.com/zhijian-pro) made their first contribution in [https://github.com/prometheus/client_golang/pull/1005](https://togithub.com/prometheus/client_golang/pull/1005) - [@dohnto](https://togithub.com/dohnto) made their first contribution in [https://github.com/prometheus/client_golang/pull/1021](https://togithub.com/prometheus/client_golang/pull/1021) - [@tatsuhiro-t](https://togithub.com/tatsuhiro-t) made their first contribution in [https://github.com/prometheus/client_golang/pull/1028](https://togithub.com/prometheus/client_golang/pull/1028) - [@sourikghosh](https://togithub.com/sourikghosh) made their first contribution in [https://github.com/prometheus/client_golang/pull/998](https://togithub.com/prometheus/client_golang/pull/998) - [@josephwoodward](https://togithub.com/josephwoodward) made their first contribution in [https://github.com/prometheus/client_golang/pull/1014](https://togithub.com/prometheus/client_golang/pull/1014) - [@stone-z](https://togithub.com/stone-z) made their first contribution in [https://github.com/prometheus/client_golang/pull/1013](https://togithub.com/prometheus/client_golang/pull/1013) - [@yolossn](https://togithub.com/yolossn) made their first contribution in [https://github.com/prometheus/client_golang/pull/1025](https://togithub.com/prometheus/client_golang/pull/1025) - [@xrstf](https://togithub.com/xrstf) made their first contribution in [https://github.com/prometheus/client_golang/pull/1039](https://togithub.com/prometheus/client_golang/pull/1039) - [@dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/prometheus/client_golang/pull/1051](https://togithub.com/prometheus/client_golang/pull/1051) - [@sazary](https://togithub.com/sazary) made their first contribution in [https://github.com/prometheus/client_golang/pull/1056](https://togithub.com/prometheus/client_golang/pull/1056) - [@oiooj](https://togithub.com/oiooj) made their first contribution in [https://github.com/prometheus/client_golang/pull/1075](https://togithub.com/prometheus/client_golang/pull/1075) - [@fredr](https://togithub.com/fredr) made their first contribution in [https://github.com/prometheus/client_golang/pull/1095](https://togithub.com/prometheus/client_golang/pull/1095) - [@inosato](https://togithub.com/inosato) made their first contribution in [https://github.com/prometheus/client_golang/pull/1096](https://togithub.com/prometheus/client_golang/pull/1096) - [@arun-shopify](https://togithub.com/arun-shopify) made their first contribution in [https://github.com/prometheus/client_golang/pull/1094](https://togithub.com/prometheus/client_golang/pull/1094) - [@paralin](https://togithub.com/paralin) made their first contribution in [https://github.com/prometheus/client_golang/pull/897](https://togithub.com/prometheus/client_golang/pull/897)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.
This PR has been generated by Mend Renovate. View repository job log here.