Skip to content

2.40.0 / 2022-11-08

Compare
Choose a tag to compare
@prombot prombot released this 08 Nov 09:12
v2.40.0
c08d76b

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 v1.14.0 or later of client_golang and set the NativeHistogramBucketFactor in your HistogramOpts (1.1 is a good starting point).
Your existing histograms won't switch to native histograms until NativeHistogramBucketFactor 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. Adds partition config in consul_sd_config. #11482
  • [BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series. #11356