Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/prometheus/client_golang from 1.12.1 to 1.14.0 (#687)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.1 to 1.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang's releases</a>.</em></p> <blockquote> <h2>1.14.0 / 2022-11-08</h2> <p>It might look like a small release, but it's quite opposite 😱 There were many non user facing changes and fixes and enormous work from engineers from Grafana to add native histograms in 💪🏾 Enjoy! 😍</p> <h2>What's Changed</h2> <ul> <li>[FEATURE] Add Support for Native Histograms. <a href="https://redirect.github.com/prometheus/client_golang/issues/1150">#1150</a></li> <li>[CHANGE] Extend <code>prometheus.Registry</code> to implement <code>prometheus.Collector</code> interface. <a href="https://redirect.github.com/prometheus/client_golang/issues/1103">#1103</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/hairyhenderson"><code>@hairyhenderson</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1118">prometheus/client_golang#1118</a></li> <li><a href="https://github.com/rfratto"><code>@rfratto</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1103">prometheus/client_golang#1103</a></li> <li><a href="https://github.com/donotnoot"><code>@donotnoot</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1125">prometheus/client_golang#1125</a></li> <li><a href="https://github.com/rogerogers"><code>@rogerogers</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1130">prometheus/client_golang#1130</a></li> <li><a href="https://github.com/balintzs"><code>@balintzs</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1148">prometheus/client_golang#1148</a></li> <li><a href="https://github.com/fstab"><code>@fstab</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1146">prometheus/client_golang#1146</a></li> <li><a href="https://github.com/jessicalins"><code>@jessicalins</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1152">prometheus/client_golang#1152</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0">https://github.com/prometheus/client_golang/compare/v1.13.1...v1.14.0</a></p> <h2>1.13.1 / 2022-11-02</h2> <ul> <li>[BUGFIX] Fix race condition with Exemplar in Counter. <a href="https://redirect.github.com/prometheus/client_golang/issues/1146">#1146</a></li> <li>[BUGFIX] Fix <code>CumulativeCount</code> value of <code>+Inf</code> bucket created from exemplar. <a href="https://redirect.github.com/prometheus/client_golang/issues/1148">#1148</a></li> <li>[BUGFIX] Fix double-counting bug in <code>promhttp.InstrumentRoundTripperCounter</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1118">#1118</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1">https://github.com/prometheus/client_golang/compare/v1.13.0...v1.13.1</a></p> <h2>1.13.0 / 2022-08-06</h2> <ul> <li>[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against the new 1.19 version).</li> <li>[ENHANCEMENT] Added <code>prometheus.TransactionalGatherer</code> interface for <code>promhttp.Handler</code> use which allows using low allocation update techniques for custom collectors. <a href="https://redirect.github.com/prometheus/client_golang/issues/989">#989</a></li> <li>[ENHANCEMENT] Added exemplar support to <code>prometheus.NewConstHistogram</code>. See <a href="https://github.com/prometheus/client_golang/blob/HEAD/prometheus/examples_test.go#L602"><code>ExampleNewConstHistogram_WithExemplar</code></a> example on how to use it. <a href="https://redirect.github.com/prometheus/client_golang/issues/986">#986</a></li> <li>[ENHANCEMENT] Query requests are now retried after network error. <a href="https://redirect.github.com/prometheus/client_golang/issues/1022">#1022</a></li> <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> now has context-aware methods that pass context to HTTP requests. <a href="https://redirect.github.com/prometheus/client_golang/issues/1028">#1028</a></li> <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now <code>Error</code> method that retrieve last error. <a href="https://redirect.github.com/prometheus/client_golang/issues/1075">#1075</a></li> <li>[ENHANCEMENT] <code>testutil.GatherAndCompare</code> provides now readable diff on failed comparisons. <a href="https://redirect.github.com/prometheus/client_golang/issues/998">#998</a></li> <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://redirect.github.com/prometheus/client_golang/issues/1014">#1014</a></li> <li>[ENHANCEMENT] New <code>MetricVec</code> method <code>DeletePartialMatch(labels Labels)</code> for deleting all metrics that match provided labels. <a href="https://redirect.github.com/prometheus/client_golang/issues/1013">#1013</a></li> <li>[ENHANCEMENT] <code>api.Config</code> now accepts passing custom <code>*http.Client</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1025">#1025</a></li> <li>[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. <a href="https://redirect.github.com/prometheus/client_golang/issues/1091">#1091</a></li> <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://redirect.github.com/prometheus/client_golang/issues/1094">#1094</a></li> <li>[ENHANCEMENT] Most <code>promhttp.Instrument*</code> 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. <a href="https://redirect.github.com/prometheus/client_golang/issues/1055">#1055</a></li> <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://redirect.github.com/prometheus/client_golang/issues/1043">#1043</a></li> <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://redirect.github.com/prometheus/client_golang/issues/897">#897</a></li> <li>[ENHANCEMENT]⚠️ Added way to specify what <code>runtime/metrics</code> <code>collectors.NewGoCollector</code> should use. See <a href="https://github.com/prometheus/client_golang/blob/HEAD/prometheus/collectors/go_collector_latest_test.go#L263"><code>ExampleGoCollector_WithAdvancedGoMetrics</code></a>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1102">#1102</a></li> </ul> <h2>New Contributors ❤️</h2> <ul> <li><a href="https://github.com/alissa-tung"><code>@alissa-tung</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1000">prometheus/client_golang#1000</a></li> <li><a href="https://github.com/wperron"><code>@wperron</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/986">prometheus/client_golang#986</a></li> <li><a href="https://github.com/zhijian-pro"><code>@zhijian-pro</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1005">prometheus/client_golang#1005</a></li> <li><a href="https://github.com/dohnto"><code>@dohnto</code></a> made their first contribution in <a href="https://redirect.github.com/prometheus/client_golang/pull/1021">prometheus/client_golang#1021</a></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md">github.com/prometheus/client_golang's changelog</a>.</em></p> <blockquote> <h2>1.14.0 / 2022-11-08</h2> <ul> <li>[FEATURE] Add Support for Native Histograms. <a href="https://redirect.github.com/prometheus/client_golang/issues/1150">#1150</a></li> <li>[CHANGE] Extend <code>prometheus.Registry</code> to implement <code>prometheus.Collector</code> interface. <a href="https://redirect.github.com/prometheus/client_golang/issues/1103">#1103</a></li> </ul> <h2>1.13.1 / 2022-11-01</h2> <ul> <li>[BUGFIX] Fix race condition with Exemplar in Counter. <a href="https://redirect.github.com/prometheus/client_golang/issues/1146">#1146</a></li> <li>[BUGFIX] Fix <code>CumulativeCount</code> value of <code>+Inf</code> bucket created from exemplar. <a href="https://redirect.github.com/prometheus/client_golang/issues/1148">#1148</a></li> <li>[BUGFIX] Fix double-counting bug in <code>promhttp.InstrumentRoundTripperCounter</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1118">#1118</a></li> </ul> <h2>1.13.0 / 2022-08-05</h2> <ul> <li>[CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against new 1.19 version).</li> <li>[ENHANCEMENT] Added <code>prometheus.TransactionalGatherer</code> interface for <code>promhttp.Handler</code> use which allows using low allocation update techniques for custom collectors. <a href="https://redirect.github.com/prometheus/client_golang/issues/989">#989</a></li> <li>[ENHANCEMENT] Added exemplar support to <code>prometheus.NewConstHistogram</code>. See <a href="https://github.com/prometheus/client_golang/blob/main/prometheus/examples_test.go#L602"><code>ExampleNewConstHistogram_WithExemplar</code></a> example on how to use it. <a href="https://redirect.github.com/prometheus/client_golang/issues/986">#986</a></li> <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now context aware methods that pass context to HTTP request. <a href="https://redirect.github.com/prometheus/client_golang/issues/1028">#1028</a></li> <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> has now <code>Error</code> method that retrieve last error. <a href="https://redirect.github.com/prometheus/client_golang/issues/1075">#1075</a></li> <li>[ENHANCEMENT] <code>testutil.GatherAndCompare</code> provides now readable diff on failed comparisons. <a href="https://redirect.github.com/prometheus/client_golang/issues/998">#998</a></li> <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://redirect.github.com/prometheus/client_golang/issues/1014">#1014</a></li> <li>[ENHANCEMENT] New <code>MetricVec</code> method <code>DeletePartialMatch(labels Labels)</code> for deleting all metrics that match provided labels. <a href="https://redirect.github.com/prometheus/client_golang/issues/1013">#1013</a></li> <li>[ENHANCEMENT] <code>api.Config</code> now accepts passing custom <code>*http.Client</code>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1025">#1025</a></li> <li>[BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. <a href="https://redirect.github.com/prometheus/client_golang/issues/1091">#1091</a></li> <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://redirect.github.com/prometheus/client_golang/issues/1094">#1094</a></li> <li>[ENHANCEMENT] Most <code>promhttp.Instrument*</code> middlewares now supports adding exemplars to metrics. This allows hooking those to your tracing middleware that retrieves trace ID and put it in exemplar if present. <a href="https://redirect.github.com/prometheus/client_golang/issues/1055">#1055</a></li> <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://redirect.github.com/prometheus/client_golang/issues/1043">#1043</a></li> <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://redirect.github.com/prometheus/client_golang/issues/897">#897</a></li> <li>[ENHANCEMENT]⚠️ Added way to specify what <code>runtime/metrics</code> <code>collectors.NewGoCollector</code> should use. See <a href="https://github.com/prometheus/client_golang/blob/main/prometheus/collectors/go_collector_latest_test.go#L263"><code>ExampleGoCollector_WithAdvancedGoMetrics</code></a>. <a href="https://redirect.github.com/prometheus/client_golang/issues/1102">#1102</a></li> </ul> <h2>1.12.2 / 2022-05-13</h2> <ul> <li>[CHANGE] Added <code>collectors.WithGoCollections</code> that allows to choose what collection of Go runtime metrics user wants: Equivalent of <a href="https://pkg.go.dev/runtime#MemStats"><code>MemStats</code> structure</a> configured using <code>GoRuntimeMemStatsCollection</code>, new based on dedicated <a href="https://pkg.go.dev/runtime/metrics">runtime/metrics</a> metrics represented by <code>GoRuntimeMetricsCollection</code> option, or both by specifying <code>GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection</code> flag. <a href="https://redirect.github.com/prometheus/client_golang/issues/1031">#1031</a></li> <li>[CHANGE]⚠️ Change in <code>collectors.NewGoCollector</code> metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back with <code>GoRuntimeMetricsCollection</code> option or <code>GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection</code> for smooth transition.</li> <li>[BUGFIX] Fixed the bug that causes generated histogram metric names to end with <code>_total</code>.⚠️ This changes 3 metric names in the new Go collector that was reverted from default in this release. <ul> <li><code>go_gc_heap_allocs_by_size_bytes_total</code> -> <code>go_gc_heap_allocs_by_size_bytes</code>,</li> <li><code>go_gc_heap_frees_by_size_bytes_total</code> -> <code>go_gc_heap_allocs_by_size_bytes</code></li> <li><code>go_gc_pauses_seconds_total</code> -> <code>go_gc_pauses_seconds</code>.</li> </ul> </li> <li>[CHANCE] Removed <code>-Inf</code> buckets from new Go Collector histograms.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prometheus/client_golang/commit/254e5468413f19fb75cdad45f5ddc0b8c975188c"><code>254e546</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/1162">#1162</a> from kakkoyun/cut-1.14.0</li> <li><a href="https://github.com/prometheus/client_golang/commit/c8a3d321a03310f9e9a25a4b2da05aa3518c1c7b"><code>c8a3d32</code></a> Cut v1.14.0</li> <li><a href="https://github.com/prometheus/client_golang/commit/07d3a8149489c760003c27ef91025fda7da42172"><code>07d3a81</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/1161">#1161</a> from prometheus/release-1.13</li> <li><a href="https://github.com/prometheus/client_golang/commit/870469ecf91e06e7f587b507971049b1383ae386"><code>870469e</code></a> Test and support 1.19 (<a href="https://redirect.github.com/prometheus/client_golang/issues/1160">#1160</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/b785d0c8289996c6529f1f58e402b77ed0b82f5c"><code>b785d0c</code></a> Fix go_collector_latest_test Fail on go1.19 (<a href="https://redirect.github.com/prometheus/client_golang/issues/1136">#1136</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/4d54769c6b78afe13bb19481c6acf99b573b6a72"><code>4d54769</code></a> Fix float64 comparison test failure on archs using FMA (<a href="https://redirect.github.com/prometheus/client_golang/issues/1133">#1133</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/53e51c4f5338f760a766232610e574b00ea720d8"><code>53e51c4</code></a> Merge pull request <a href="https://redirect.github.com/prometheus/client_golang/issues/1157">#1157</a> from prometheus/cut-1.13.1</li> <li><a href="https://github.com/prometheus/client_golang/commit/79ca0eb2ba90a9c1754d29177d0bfe3afb425449"><code>79ca0eb</code></a> Added tip from Björn + Grammarly.</li> <li><a href="https://github.com/prometheus/client_golang/commit/078f11f85b2cb5d535f5856903e73b758a8f0568"><code>078f11f</code></a> Cut 1.13.1 release (+ documenting release process).</li> <li><a href="https://github.com/prometheus/client_golang/commit/ddd7f0edcd31dd27b31ee9c54b5c22d44258d5d1"><code>ddd7f0e</code></a> Fix race condition with Exemplar in Counter (<a href="https://redirect.github.com/prometheus/client_golang/issues/1146">#1146</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.12.1...v1.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.12.1&new-version=1.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information