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.TransactionalGathererinterface forpromhttp.Handleruse which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram. SeeExampleNewConstHistogram_WithExemplarexample on how to use it. #986- [ENHANCEMENT]
prometheus/push.Pushernow has context-aware methods that pass context to HTTP requests. #1028- [ENHANCEMENT]
prometheus/push.Pusherhas nowErrormethod that retrieve last error. #1075- [ENHANCEMENT]
testutil.GatherAndCompareprovides now readable diff on failed comparisons. #998- [ENHANCEMENT] Query API now supports timeouts. #1014
- [ENHANCEMENT] New
MetricVecmethodDeletePartialMatch(labels Labels)for deleting all metrics that match provided labels. #1013- [ENHANCEMENT]
api.Confignow 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.ScrapeAndComparemethod. #1043- [BUGFIX] Fixed
GopherJSbuild support. #897- [ENHANCEMENT] :warning: Added way to specify what
runtime/metricscollectors.NewGoCollectorshould use. SeeExampleGoCollector_WithAdvancedGoMetrics. #1102New Contributors ❤️
@alissa-tungmade their first contribution in prometheus/client_golang#1000@wperronmade their first contribution in prometheus/client_golang#986@zhijian-promade their first contribution in prometheus/client_golang#1005@dohntomade their first contribution in prometheus/client_golang#1021@tatsuhiro-tmade their first contribution in prometheus/client_golang#1028@sourikghoshmade their first contribution in prometheus/client_golang#998@josephwoodwardmade their first contribution in prometheus/client_golang#1014@stone-zmade their first contribution in prometheus/client_golang#1013@yolossnmade their first contribution in prometheus/client_golang#1025@xrstfmade their first contribution in prometheus/client_golang#1039@dependabotmade their first contribution in prometheus/client_golang#1051@sazarymade their first contribution in prometheus/client_golang#1056@oioojmade their first contribution in prometheus/client_golang#1075@fredrmade their first contribution in prometheus/client_golang#1095@inosatomade their first contribution in prometheus/client_golang#1096@arun-shopifymade their first contribution in prometheus/client_golang#1094@paralinmade their first contribution in prometheus/client_golang#897
- go.mod: Set minimal support version of go to 1.15 by
@mruegin prometheus/client_golang#980- Enable CodeQL Analysis by
@kakkoyunin prometheus/client_golang#982- Added Transactional Gatherer allowed cached solutions by
@bwplotkain prometheus/client_golang#989- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#992- Synchronize common files from prometheus/prometheus by
@prombotin prometheus/client_golang#1003- Fix deprecated
NewBuildInfoCollectorAPI by@alissa-tungin prometheus/client_golang#1000- Add exemplar support for const histogram by
@wperronin prometheus/client_golang#986- Fixed lint warning. by
@bwplotkain prometheus/client_golang#1007- .circleci: Add config to test against go1.18 by
@kakkoyunin prometheus/client_golang#1006
... (truncated)
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.TransactionalGathererinterface forpromhttp.Handleruse which allows using low allocation update techniques for custom collectors. #989- [ENHANCEMENT] Added exemplar support to
prometheus.NewConstHistogram. SeeExampleNewConstHistogram_WithExemplarexample on how to use it. #986- [ENHANCEMENT]
prometheus/push.Pusherhas now context aware methods that pass context to HTTP request. #1028- [ENHANCEMENT]
prometheus/push.Pusherhas nowErrormethod that retrieve last error. #1075- [ENHANCEMENT]
testutil.GatherAndCompareprovides now readable diff on failed comparisons. #998- [ENHANCEMENT] Query API now supports timeouts. #1014
- [ENHANCEMENT] New
MetricVecmethodDeletePartialMatch(labels Labels)for deleting all metrics that match provided labels. #1013- [ENHANCEMENT]
api.Confignow 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.ScrapeAndComparemethod. #1043- [BUGFIX] Fixed
GopherJSbuild support. #897- [ENHANCEMENT] :warning: Added way to specify what
runtime/metricscollectors.NewGoCollectorshould use. SeeExampleGoCollector_WithAdvancedGoMetrics. #1102
Commits
64435fcCut 1.13.0 (#1110)5b7e8b2collectors.GoCollector: Added rule support for granular metric configuration....d44fbbeFix build against GopherJS (#897)1638da9testutil: Add ScrapeAndCompare (#1043)c576b95Generate new Go runtime metrics for go 1.19 (#1105)618194dfix assorted oddities found by golangci-lint (#1040)c7488beAdded exemplar support to http middleware. (#1055)3faf3baFixed support for unordered input of exemplars. (#1100)44ce5e1Ensure tests verify request params (#1047)807b1eeexplicitly 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.
Note: Dependabot was ignoring updates to this dependency, but since you've updated it yourself we've started tracking it for you again. 🤖
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This dependency requires a minimum Golang version of 1.17 now. Our main branch still suggests a minimum Golang version of 1.16.
I suspect we should not upgrade this library until we bump our Golang minimum version. (Same issue affects the open telemetry libraries too.)
Since this was passing our tests, and I've got a related test failure on my Golang version bump draft PR, I'm going to merge this; and take it from there.
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
@dependabot recreate