Skip to content

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

Compare Source

  • [CHANGE] Added collectors.WithGoCollections that allows to choose what collection of Go runtime metrics user wants: Equivalent of MemStats structure configured using GoRuntimeMemStatsCollection, new based on dedicated runtime/metrics metrics represented by GoRuntimeMetricsCollection option, or both by specifying GoRuntimeMemStatsCollection | GoRuntimeMetricsCollection flag.
  • [CHANGE] Change in collectors.NewGoCollector metrics: Reverting addition of new ~80 runtime metrics by default. You can enable this back with GoRuntimeMetricsCollection option or GoRuntimeMemStatsCollection | 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

Compare Source

  • [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

Compare Source

  • [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

New Contributors

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0

v1.11.1

Compare Source

What's Changed

Full Changelog: https://github.com/prometheus/client_golang/compare/v1.11.0...v1.11.1


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box.

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports