Prometheus v2.43.0stable Released Mar 21, 2023
Impact Score: 5/10

Prometheus: 2.43.0 / 2023-03-21

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.43.0. Source highlight: We are working on some performance improvements in Prometheus, which are only

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] Promtool: Add HTTP client configuration to query commands. #11487
  • [FEATURE] Scrape: Add `scrape_config_files` to include scrape configs from different files. #12019
  • [FEATURE] HTTP client: Add `no_proxy` to exclude URLs from proxied requests. #12098
  • [FEATURE] HTTP client: Add `proxy_from_enviroment` to read proxies from env variables. #12098
  • [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088
  • [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013

⚡ Performance & Enhancements (5)

  • [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897
  • [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984
  • [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859
  • [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682
  • [ENHANCEMENT] UI: Scope `group by` labels to metric in autocompletion. #11914

🔧 Bug Fixes & Patches (3)

  • [BUGFIX] Scrape: Fix `prometheus_target_scrape_pool_target_limit` metric not set before reloading. #12002
  • [BUGFIX] TSDB: Correctly update `prometheus_tsdb_head_chunks_removed_total` and `prometheus_tsdb_head_chunks` metrics when reading WAL. #11858
  • [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the `prometheus_tsdb_sample_ooo_delta` metric. #12004
📄 View Raw Release Notes (Original Developer Log)
We are working on some performance improvements in Prometheus, which are only built into Prometheus when compiling it using the Go tag `stringlabels` (therefore they are not shipped in the default binaries). It uses a data structure for labels that uses a single string to hold all the label/values, resulting in a smaller heap size and some speedups in most cases. We would like to encourage users who are interested in these improvements to help us measure the gains on their production architecture. We are providing release artefacts `2.43.0+stringlabels` and Docker images tagged `v2.43.0-stringlabels` with those improvements for testing. #10991 * [FEATURE] Promtool: Add HTTP client configuration to query commands. #11487 * [FEATURE] Scrape: Add `scrape_config_files` to include scrape configs from different files. #12019 * [FEATURE] HTTP client: Add `no_proxy` to exclude URLs from proxied requests. #12098 * [FEATURE] HTTP client: Add `proxy_from_enviroment` to read proxies from env variables. #12098 * [ENHANCEMENT] API: Add support for setting lookback delta per query via the API. #12088 * [ENHANCEMENT] API: Change HTTP status code from 503/422 to 499 if a request is canceled. #11897 * [ENHANCEMENT] Scrape: Allow exemplars for all metric types. #11984 * [ENHANCEMENT] TSDB: Add metrics for head chunks and WAL folders size. #12013 * [ENHANCEMENT] TSDB: Automatically remove incorrect snapshot with index that is ahead of WAL. #11859 * [ENHANCEMENT] TSDB: Improve Prometheus parser error outputs to be more comprehensible. #11682 * [ENHANCEMENT] UI: Scope `group by` labels to metric in autocompletion. #11914 * [BUGFIX] Scrape: Fix `prometheus_target_scrape_pool_target_limit` metric not set before reloading. #12002 * [BUGFIX] TSDB: Correctly update `prometheus_tsdb_head_chunks_removed_total` and `prometheus_tsdb_head_chunks` metrics when reading WAL. #11858 * [BUGFIX] TSDB: Use the correct unit (seconds) when recording out-of-order append deltas in the `prometheus_tsdb_sample_ooo_delta` metric. #12004