Sourced from github.com/prometheus/client_golang's releases.
1.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.- [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.Full Changelog: https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2
Sourced from github.com/prometheus/client_golang's changelog.
1.12.2 / 2022-01-29
- [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.- [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.
e203144 Merge branch 'release-1.12' of github.com:prometheus/client_golang into relea...0e136d1 Cut v1.12.2 (#1052)a27b6d7 Fix conflicts5fe1d33 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 API39cf574 Cut v1.12.1 (#978)9b785b0 Reduce granularity of histogram buckets for Go 1.17 collector (#974)