Skip to content

2.40.0-rc.0 / 2022-11-03

Pre-release
Pre-release
Compare
Choose a tag to compare
@prombot prombot released this 04 Nov 02:52
v2.40.0-rc.0
033b3ef

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. Refer the documentation for more information on how to query native histograms. The docs for this are present close to the relevant sections, for example querying, API, etc.
Enabling native histograms will also switch the preferred exposition format to protobuf.

To instrument your application with native histograms, use the main branch of client_golang (this will change for the final release when v1.14.0 of client_golang will be out), 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