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.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
- go.mod: Set minimal support version of go to 1.15 by
@mrueg
in prometheus/client_golang#980- Enable CodeQL Analysis by
@kakkoyun
in prometheus/client_golang#982- Added Transactional Gatherer allowed cached solutions by
@bwplotka
in prometheus/client_golang#989- Synchronize common files from prometheus/prometheus by
@prombot
in prometheus/client_golang#992- Synchronize common files from prometheus/prometheus by
@prombot
in prometheus/client_golang#1003- Fix deprecated
NewBuildInfoCollector
API by@alissa-tung
in prometheus/client_golang#1000- Add exemplar support for const histogram by
@wperron
in prometheus/client_golang#986- Fixed lint warning. by
@bwplotka
in prometheus/client_golang#1007- .circleci: Add config to test against go1.18 by
@kakkoyun
in 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.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
. #11021.12.2 / 2022-05-13
- [CHANGE] Added
collectors.WithGoCollections
that allows to choose what collection of Go runtime metrics user wants: Equivalent ofMemStats
structure configured usingGoRuntimeMemStatsCollection
, new based on dedicated runtime/metrics metrics represented byGoRuntimeMetricsCollection
option, or both by specifyingGoRuntimeMemStatsCollection | GoRuntimeMetricsCollection
flag. #1031- [CHANGE] :warning: Change in
collectors.NewGoCollector
metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back withGoRuntimeMetricsCollection
option orGoRuntimeMemStatsCollection | GoRuntimeMetricsCollection
for 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_bytes
go_gc_pauses_seconds_total
->go_gc_pauses_seconds
.- [CHANCE] Removed
-Inf
buckets from new Go Collector histograms.
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)
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.