linkerd2
linkerd2 copied to clipboard
build(deps): bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
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 forpromhttp.Handler
use which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram
. SeeExampleNewConstHistogram_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 nowError
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
methodDeletePartialMatch(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] :warning: Added way to specify what
runtime/metrics
collectors.NewGoCollector
should use. SeeExampleGoCollector_WithAdvancedGoMetrics
. #1102New Contributors ❤️
@alissa-tung
made their first contribution in prometheus/client_golang#1000@wperron
made their first contribution in prometheus/client_golang#986@zhijian-pro
made their first contribution in prometheus/client_golang#1005@dohnto
made their first contribution in prometheus/client_golang#1021@tatsuhiro-t
made their first contribution in prometheus/client_golang#1028@sourikghosh
made their first contribution in prometheus/client_golang#998@josephwoodward
made their first contribution in prometheus/client_golang#1014@stone-z
made their first contribution in prometheus/client_golang#1013@yolossn
made their first contribution in prometheus/client_golang#1025@xrstf
made their first contribution in prometheus/client_golang#1039@dependabot
made their first contribution in prometheus/client_golang#1051@sazary
made their first contribution in prometheus/client_golang#1056@oiooj
made their first contribution in prometheus/client_golang#1075@fredr
made their first contribution in prometheus/client_golang#1095@inosato
made their first contribution in prometheus/client_golang#1096@arun-shopify
made their first contribution in prometheus/client_golang#1094@paralin
made their first contribution in prometheus/client_golang#897
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 forpromhttp.Handler
use which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram
. SeeExampleNewConstHistogram_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 nowError
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
methodDeletePartialMatch(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] :warning: Added way to specify what
runtime/metrics
collectors.NewGoCollector
should use. SeeExampleGoCollector_WithAdvancedGoMetrics
. #1102
Commits
64435fc
Cut 1.13.0 (#1110)5b7e8b2
collectors.GoCollector: Added rule support for granular metric configuration....d44fbbe
Fix build against GopherJS (#897)1638da9
testutil: Add ScrapeAndCompare (#1043)c576b95
Generate new Go runtime metrics for go 1.19 (#1105)618194d
fix assorted oddities found by golangci-lint (#1040)c7488be
Added exemplar support to http middleware. (#1055)3faf3ba
Fixed support for unordered input of exemplars. (#1100)44ce5e1
Ensure tests verify request params (#1047)807b1ee
explicitly add +inf bucket in withExemplarsMetric (#1094)- Additional commits viewable in compare view
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)
note from their repo:
This repository generally follows Semantic Versioning. However, the API client in prometheus/client_golang/api/… is still considered experimental. Breaking changes of the API client will not trigger a new major release.
We'll need to update our mock client to satisfy the interface changes.