Skip to content

Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2

Bumps github.com/prometheus/client_golang from 1.12.1 to 1.12.2.

Release notes

Sourced from github.com/prometheus/client_golang's releases.

1.12.2 / 2022-05-13

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

Changelog

Sourced from github.com/prometheus/client_golang's changelog.

1.12.2 / 2022-05-13

  • [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.
Commits
  • e203144 Merge branch 'release-1.12' of github.com:prometheus/client_golang into relea...
  • 0e136d1 Cut v1.12.2 (#1052)
  • a27b6d7 Fix conflicts
  • 5fe1d33 Remove -Inf buckets from go collector histograms (#1049)
  • 049d0fe prometheus: Fix convention violating names for generated collector metrics (#...
  • 7eb9d11 gocollector: Reverted client_golang v1.12 addition of runtime/metrics metrics...
  • d498b3c gocollector: Added options to Go Collector for changing the (#1031)
  • 585540a Fix deprecated NewBuildInfoCollector API
  • 39cf574 Cut v1.12.1 (#978)
  • 9b785b0 Reduce granularity of histogram buckets for Go 1.17 collector (#974)
  • Additional commits viewable in compare view

Merge request reports