Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 #75

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/github.com/prometheus/client_golang-1.13.0 into v3 2022-08-28 17:23:18 +03:00
dependabot[bot] commented 2022-08-08 09:20:15 +03:00 (Migrated from github.com)

Bumps github.com/prometheus/client_golang from 1.12.2 to 1.13.0.

Release notes

Sourced from github.com/prometheus/client_golang's releases.

## 1.13.0 / 2022-08-06

  • [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
  • [ENHANCEMENT] Added exemplar support to prometheus.NewConstHistogram. See ExampleNewConstHistogram_WithExemplar example on how to use it. #986
  • [ENHANCEMENT] prometheus/push.Pusher now has context-aware methods that pass context to HTTP requests. #1028
  • [ENHANCEMENT] prometheus/push.Pusher has now Error method that retrieve last error. #1075
  • [ENHANCEMENT] testutil.GatherAndCompare provides now readable diff on failed comparisons. #998
  • [ENHANCEMENT] Query API now supports timeouts. #1014
  • [ENHANCEMENT] New MetricVec method DeletePartialMatch(labels Labels) for deleting all metrics that match provided labels. #1013
  • [ENHANCEMENT] api.Config now accepts passing custom *http.Client. #1025
  • [BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. #1091
  • [BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. #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
  • [ENHANCEMENT] Added testutil.ScrapeAndCompare method. #1043
  • [BUGFIX] Fixed GopherJS build support. #897
  • [ENHANCEMENT] ⚠️ Added way to specify what runtime/metrics collectors.NewGoCollector should use. See ExampleGoCollector_WithAdvancedGoMetrics. #1102

New Contributors ❤️

Changelog

Sourced from github.com/prometheus/client_golang's changelog.

1.13.0 / 2022-08-05

  • [CHANGE] Minimum required Go version is now 1.17 (we also test client_golang against new 1.19 version).
  • [ENHANCEMENT] Added prometheus.TransactionalGatherer interface for promhttp.Handler use which allows using low allocation update techniques for custom collectors. #989
  • [ENHANCEMENT] Added exemplar support to prometheus.NewConstHistogram. See ExampleNewConstHistogram_WithExemplar example on how to use it. #986
  • [ENHANCEMENT] prometheus/push.Pusher has now context aware methods that pass context to HTTP request. #1028
  • [ENHANCEMENT] prometheus/push.Pusher has now Error method that retrieve last error. #1075
  • [ENHANCEMENT] testutil.GatherAndCompare provides now readable diff on failed comparisons. #998
  • [ENHANCEMENT] Query API now supports timeouts. #1014
  • [ENHANCEMENT] New MetricVec method DeletePartialMatch(labels Labels) for deleting all metrics that match provided labels. #1013
  • [ENHANCEMENT] api.Config now accepts passing custom *http.Client. #1025
  • [BUGFIX] Raise exemplar labels limit from 64 to 128 bytes as specified in OpenMetrics spec. #1091
  • [BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. #1094
  • [ENHANCEMENT] Most promhttp.Instrument* 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. #1055
  • [ENHANCEMENT] Added testutil.ScrapeAndCompare method. #1043
  • [BUGFIX] Fixed GopherJS build support. #897
  • [ENHANCEMENT] ⚠️ Added way to specify what runtime/metrics collectors.NewGoCollector should use. See ExampleGoCollector_WithAdvancedGoMetrics. #1102
Commits

Dependabot compatibility score

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 commands and options

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)
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.12.2 to 1.13.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.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/986">#986</a></li> <li>[ENHANCEMENT] <code>prometheus/push.Pusher</code> now has context-aware methods that pass context to HTTP requests. <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/998">#998</a></li> <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/1091">#1091</a></li> <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a></li> <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a></li> <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a></li> <li>[ENHANCEMENT] :warning: 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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/pull/1021">prometheus/client_golang#1021</a></li> <li><a href="https://github.com/tatsuhiro-t"><code>@​tatsuhiro-t</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1028">prometheus/client_golang#1028</a></li> <li><a href="https://github.com/sourikghosh"><code>@​sourikghosh</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/998">prometheus/client_golang#998</a></li> <li><a href="https://github.com/josephwoodward"><code>@​josephwoodward</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1014">prometheus/client_golang#1014</a></li> <li><a href="https://github.com/stone-z"><code>@​stone-z</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1013">prometheus/client_golang#1013</a></li> <li><a href="https://github.com/yolossn"><code>@​yolossn</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1025">prometheus/client_golang#1025</a></li> <li><a href="https://github.com/xrstf"><code>@​xrstf</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1039">prometheus/client_golang#1039</a></li> <li><a href="https://github.com/dependabot"><code>@​dependabot</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1051">prometheus/client_golang#1051</a></li> <li><a href="https://github.com/sazary"><code>@​sazary</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1056">prometheus/client_golang#1056</a></li> <li><a href="https://github.com/oiooj"><code>@​oiooj</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1075">prometheus/client_golang#1075</a></li> <li><a href="https://github.com/fredr"><code>@​fredr</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1095">prometheus/client_golang#1095</a></li> <li><a href="https://github.com/inosato"><code>@​inosato</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1096">prometheus/client_golang#1096</a></li> <li><a href="https://github.com/arun-shopify"><code>@​arun-shopify</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/1094">prometheus/client_golang#1094</a></li> <li><a href="https://github.com/paralin"><code>@​paralin</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/prometheus/client_golang/pull/897">prometheus/client_golang#897</a></li> </ul> </blockquote> </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.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/998">#998</a></li> <li>[ENHANCEMENT] Query API now supports timeouts. <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/1091">#1091</a></li> <li>[BUGFIX] Allow adding exemplar to +Inf bucket to const histograms. <a href="https://github-redirect.dependabot.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://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a></li> <li>[ENHANCEMENT] Added <code>testutil.ScrapeAndCompare</code> method. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a></li> <li>[BUGFIX] Fixed <code>GopherJS</code> build support. <a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a></li> <li>[ENHANCEMENT] :warning: 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://github-redirect.dependabot.com/prometheus/client_golang/issues/1102">#1102</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prometheus/client_golang/commit/64435fc00ac419bb878a3f9c9658e8353c19a7cd"><code>64435fc</code></a> Cut 1.13.0 (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1110">#1110</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/5b7e8b2e6716df0ceda9df81feb15910c7efa150"><code>5b7e8b2</code></a> collectors.GoCollector: Added rule support for granular metric configuration....</li> <li><a href="https://github.com/prometheus/client_golang/commit/d44fbbefdd19086a786a7e4a6e215bfc88468ec5"><code>d44fbbe</code></a> Fix build against GopherJS (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/897">#897</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/1638da9ae43be6ff5ad522ca402712e26b4a19c7"><code>1638da9</code></a> testutil: Add ScrapeAndCompare (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1043">#1043</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/c576b951ad94df7cb97d1b3b6f5cdb49315f5721"><code>c576b95</code></a> Generate new Go runtime metrics for go 1.19 (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1105">#1105</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/618194de6ad3db637313666104533639011b470d"><code>618194d</code></a> fix assorted oddities found by golangci-lint (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1040">#1040</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/c7488be2e4081d3afa59e63e221587546c58badf"><code>c7488be</code></a> Added exemplar support to http middleware. (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1055">#1055</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/3faf3bae7076031e56adc1f76d0c2d817410597e"><code>3faf3ba</code></a> Fixed support for unordered input of exemplars. (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1100">#1100</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/44ce5e1ee5015df547c585135d683fbab114dc82"><code>44ce5e1</code></a> Ensure tests verify request params (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1047">#1047</a>)</li> <li><a href="https://github.com/prometheus/client_golang/commit/807b1ee73c2079346d041019cffb933fa43aaf3d"><code>807b1ee</code></a> explicitly add +inf bucket in withExemplarsMetric (<a href="https://github-redirect.dependabot.com/prometheus/client_golang/issues/1094">#1094</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.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.2&new-version=1.13.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>
github-actions[bot] (Migrated from github.com) approved these changes 2022-08-08 09:20:29 +03:00
Sign in to join this conversation.
No Milestone
No project
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: unistack-org/micro-meter-prometheus#75
No description provided.