Hey everyone, A new patch version of prometheus/client_golang <https://github.com/prometheus/client_golang>, the instrumentation and the HTTP API client library for Prometheus in Go has been released.
1.12.2 / 2022-05-13 <https://github.com/prometheus/client_golang/releases/tag/v1.12.2> - [CHANGE] Added collectors.WithGoCollections that allows to choose what collection of Go runtime metrics user wants: Equivalent of MemStats structure <https://pkg.go.dev/runtime#MemStats> configured using GoRuntimeMemStatsCollection, new based on dedicated runtime/metrics <https://pkg.go.dev/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*: v1.12.1...v1.12.2 <https://github.com/prometheus/client_golang/compare/v1.12.1...v1.12.2> Kemal -- You received this message because you are subscribed to the Google Groups "prometheus-announce" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-announce+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/prometheus-announce/ed64e8ce-184e-424a-85c2-c2e5a37fc193n%40googlegroups.com.