wayback
wayback copied to clipboard
Bump github.com/prometheus/client_golang from 1.12.1 to 1.13.0
Bumps github.com/prometheus/client_golang from 1.12.1 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. #11021.12.2 / 2022-05-13
- [CHANGE] Added
collectors.WithGoCollectionsthat allows to choose what collection of Go runtime metrics user wants: Equivalent ofMemStatsstructure configured usingGoRuntimeMemStatsCollection, new based on dedicated runtime/metrics metrics represented byGoRuntimeMetricsCollectionoption, or both by specifyingGoRuntimeMemStatsCollection | GoRuntimeMetricsCollectionflag. #1031- [CHANGE] :warning: Change in
collectors.NewGoCollectormetrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back withGoRuntimeMetricsCollectionoption orGoRuntimeMemStatsCollection | GoRuntimeMetricsCollectionfor smooth transition.- [BUGFIX] Fixed the bug that causes generated histogram metric names to end with
_total. ⚠️ This changes 3 metric names in the new Go collector that was reverted from default in this release.
go_gc_heap_allocs_by_size_bytes_total->go_gc_heap_allocs_by_size_bytes,go_gc_heap_frees_by_size_bytes_total->go_gc_heap_allocs_by_size_bytesgo_gc_pauses_seconds_total->go_gc_pauses_seconds.- [CHANCE] Removed
-Infbuckets from new Go Collector histograms.
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.
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)
Codecov Report
Merging #190 (9382b0d) into main (70de07b) will increase coverage by
0.09%. The diff coverage isn/a.
@@ Coverage Diff @@
## main #190 +/- ##
==========================================
+ Coverage 43.93% 44.03% +0.09%
==========================================
Files 40 40
Lines 5023 5023
==========================================
+ Hits 2207 2212 +5
+ Misses 2535 2532 -3
+ Partials 281 279 -2
| Impacted Files | Coverage Δ | |
|---|---|---|
| service/slack/slack.go | 6.10% <0.00%> (+0.58%) |
:arrow_up: |
| reduxer/reduxer.go | 47.34% <0.00%> (+0.72%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Looks like github.com/prometheus/client_golang is up-to-date now, so this is no longer needed.