Impact Score: 5/10
Prometheus: 2.40.0 / 2022-11-08
Source available - automated, not human-reviewed
Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.
⚡ Executive Summary (TL;DR)
Prometheus v2.40.0. Source highlight: This release introduces an experimental, native way of representing and storing histograms.
Who Does This Impact? (Role-Based Analysis)
💻 Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
📊 Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
⚙️ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
✨ New Features & Capabilities (3)
- [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] Consul SD: Add enterprise admin partitions. Adds `__meta_consul_partition` label. Adds `partition` config in `consul_sd_config`. #11482
⚡ Performance & Enhancements (2)
- [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353
- [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380
🔧 Bug Fixes & Patches (1)
- [BUGFIX] API: Fix API error codes for `/api/v1/labels` and `/api/v1/series`. #11356
📄 View Raw Release Notes (Original Developer Log)
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