Prometheus v2.40.0 Release Notes
Release Date: 2022-11-08 // over 1 year ago-
๐ This release introduces an experimental, native way of representing and storing histograms.
It can be enabled in Prometheus via
--enable-feature=native-histograms
to accept native histograms. Enabling native histograms will also switch the preferred exposition format to protobuf.๐ To instrument your application with native histograms, use the
main
branch ofclient_golang
(this will change for the final release when v1.14.0 of client_golang will be out), and set theNativeHistogramBucketFactor
in yourHistogramOpts
(1.1
is a good starting point). Your existing histograms won't switch to native histograms untilNativeHistogramBucketFactor
is set.- [FEATURE] Add experimental support for native histograms. Enable with the flag
--enable-feature=native-histograms
. #11447 - [FEATURE] SD: Add service discovery for OVHcloud. #10802
- [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353
- [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380
- [ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds
__meta_consul_partition
label. Addspartition
config inconsul_sd_config
. #11482 - ๐ [BUGFIX] API: Fix API error codes for
/api/v1/labels
and/api/v1/series
. #11356
- [FEATURE] Add experimental support for native histograms. Enable with the flag