Update module github.com/prometheus/client_golang to v1.12.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/prometheus/client_golang | require | minor |
v1.11.0 -> v1.12.2
|
Release Notes
prometheus/client_golang
v1.12.2
- [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. - [CHANGE]
⚠ Change incollectors.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.
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2
v1.12.1
- [BUGFIX] Make the Go 1.17 collector concurrency-safe #969
- Use simpler locking in the Go 1.17 collector #975
- [BUGFIX] Reduce granularity of histogram buckets for Go 1.17 collector #974
- [ENHANCEMENT] API client: make HTTP reads more efficient #976
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1
v1.12.0
- [CHANGE] example/random: Move flags and metrics into main() #935
- [FEATURE] API client: Support wal replay status api #944
- [FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ #955
- [ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats #925
- [SECURITY FIX] promhttp: Check validity of method and code label values #962 (Addressed
CVE-2022-21698
)
What's Changed
- Address minor issues on the changelog by @kakkoyun in https://github.com/prometheus/client_golang/pull/879
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/888
- Update status badgets by @SuperQ in https://github.com/prometheus/client_golang/pull/885
- Updating dependency versions + cleanup by @sivabalan in https://github.com/prometheus/client_golang/pull/881
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/892
- add ExponentialBucketsRange function by @sbunce in https://github.com/prometheus/client_golang/pull/899
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/909
- Update cespare/xxhash dependency by @dtrudg in https://github.com/prometheus/client_golang/pull/913
- example/random: Move flags and metrics into main() by @beorn7 in https://github.com/prometheus/client_golang/pull/935
- Fix typo by @gozeloglu in https://github.com/prometheus/client_golang/pull/939
- Add support for go 1.17 by @mrueg in https://github.com/prometheus/client_golang/pull/950
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/928
- Synchronize common files from prometheus/prometheus by @prombot in https://github.com/prometheus/client_golang/pull/952
- API: support wal replay status api by @yeya24 in https://github.com/prometheus/client_golang/pull/944
- Update /api/v1/status/tsdb to include headStats by @prymitive in https://github.com/prometheus/client_golang/pull/925
- Use the runtime/metrics package for the Go collector for 1.17+ by @mknyszek in https://github.com/prometheus/client_golang/pull/955
- promhttp: Check validity of method and code label values by @kakkoyun in https://github.com/prometheus/client_golang/pull/962
- go.*: Update dependencies by @kakkoyun in https://github.com/prometheus/client_golang/pull/965
New Contributors
- @sivabalan made their first contribution in https://github.com/prometheus/client_golang/pull/881
- @sbunce made their first contribution in https://github.com/prometheus/client_golang/pull/899
- @dtrudg made their first contribution in https://github.com/prometheus/client_golang/pull/913
- @gozeloglu made their first contribution in https://github.com/prometheus/client_golang/pull/939
- @mrueg made their first contribution in https://github.com/prometheus/client_golang/pull/950
- @prymitive made their first contribution in https://github.com/prometheus/client_golang/pull/925
- @mknyszek made their first contribution in https://github.com/prometheus/client_golang/pull/955
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0
v1.11.1
- [SECURITY FIX] promhttp: Check validity of method and code label values https://github.com/prometheus/client_golang/pull/987 (Addressed
CVE-2022-21698
)
What's Changed
- promhttp: Check validity of method and code label values by @bwplotka and @kakkoyun in https://github.com/prometheus/client_golang/pull/987
Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by renovate