Prometheus v2.32.0stable Released Dec 14, 2021
Impact Score: 5/10

Prometheus: 2.32.0 / 2021-12-09

Source available - automated, not human-reviewed

Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Compatibility not verified - check source notes
📄 .MD
⚡ Executive Summary (TL;DR)

Prometheus v2.32.0. Source highlight: This release introduces the Prometheus Agent, a new mode of operation for

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 (6)

  • [FEATURE] Agent: New mode of operation optimized for remote-write only scenarios, without local storage. Enable with `--enable-feature=agent`. #8785 #9851 #9664 #9939 #9941 #9943
  • [FEATURE] Promtool: Add `promtool check service-discovery` command. #8970
  • [FEATURE] UI: Add search in metrics dropdown. #9629
  • [FEATURE] Templates: Add parseDuration to template functions. #8817
  • [ENHANCEMENT] Scrape: Add `scrape_body_size_bytes` scrape metric behind the `--enable-feature=extra-scrape-metrics` flag. #9569
  • [ENHANCEMENT] TSDB: Add windows arm64 support. #9703

⚡ Performance & Enhancements (6)

  • [ENHANCEMENT] Promtool: Improve test output. #8064
  • [ENHANCEMENT] Promtool: Use kahan summation for better numerical stability. #9588
  • [ENHANCEMENT] Remote-write: Reuse memory for marshalling. #9412
  • [ENHANCEMENT] TSDB: Optimize query by skipping unneeded sorting in TSDB. #9673
  • [ENHANCEMENT] Templates: Support int and uint as datatypes for template formatting. #9680
  • [ENHANCEMENT] UI: Prefer `rate` over `rad`, `delta` over `deg`, and `count` over `cos` in autocomplete. #9688

🔧 Bug Fixes & Patches (6)

  • [BUGFIX] TSDB: Add more size checks when writing individual sections in the index. #9710
  • [BUGFIX] PromQL: Make `deriv()` return zero values for constant series. #9728
  • [BUGFIX] TSDB: Fix panic when checkpoint directory is empty. #9687
  • [BUGFIX] TSDB: Fix panic, out of order chunks, and race warning during WAL replay. #9856
  • [BUGFIX] UI: Correctly render links for targets with IPv6 addresses that contain a Zone ID. #9853
  • [BUGFIX] Promtool: Fix checking of `authorization.credentials_file` and `bearer_token_file` fields. #9883
📄 View Raw Release Notes (Original Developer Log)
This release introduces the Prometheus Agent, a new mode of operation for Prometheus optimized for remote-write only scenarios. In this mode, Prometheus does not generate blocks on the local filesystem and is not queryable locally. Enable with `--enable-feature=agent`. Learn more about the Prometheus Agent in our [blog post](https://prometheus.io/blog/2021/11/16/agent/). * [CHANGE] remote-write: Change default max retry time from 100ms to 5 seconds. #9634 * [FEATURE] Agent: New mode of operation optimized for remote-write only scenarios, without local storage. Enable with `--enable-feature=agent`. #8785 #9851 #9664 #9939 #9941 #9943 * [FEATURE] Promtool: Add `promtool check service-discovery` command. #8970 * [FEATURE] UI: Add search in metrics dropdown. #9629 * [FEATURE] Templates: Add parseDuration to template functions. #8817 * [ENHANCEMENT] Promtool: Improve test output. #8064 * [ENHANCEMENT] Promtool: Use kahan summation for better numerical stability. #9588 * [ENHANCEMENT] Remote-write: Reuse memory for marshalling. #9412 * [ENHANCEMENT] Scrape: Add `scrape_body_size_bytes` scrape metric behind the `--enable-feature=extra-scrape-metrics` flag. #9569 * [ENHANCEMENT] TSDB: Add windows arm64 support. #9703 * [ENHANCEMENT] TSDB: Optimize query by skipping unneeded sorting in TSDB. #9673 * [ENHANCEMENT] Templates: Support int and uint as datatypes for template formatting. #9680 * [ENHANCEMENT] UI: Prefer `rate` over `rad`, `delta` over `deg`, and `count` over `cos` in autocomplete. #9688 * [ENHANCEMENT] Linode SD: Tune API request page sizes. #9779 * [BUGFIX] TSDB: Add more size checks when writing individual sections in the index. #9710 * [BUGFIX] PromQL: Make `deriv()` return zero values for constant series. #9728 * [BUGFIX] TSDB: Fix panic when checkpoint directory is empty. #9687 * [BUGFIX] TSDB: Fix panic, out of order chunks, and race warning during WAL replay. #9856 * [BUGFIX] UI: Correctly render links for targets with IPv6 addresses that contain a Zone ID. #9853 * [BUGFIX] Promtool: Fix checking of `authorization.credentials_file` and `bearer_token_file` fields. #9883 * [BUGFIX] Uyuni SD: Fix null pointer exception during initialization. #9924 #9950 * [BUGFIX] TSDB: Fix queries after a failed snapshot replay. #9980