Prometheus v2.30.0stable Released Sep 14, 2021
Impact Score: 5/10

Prometheus: 2.30.0 / 2021-09-14

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.30.0. Source highlight: [FEATURE] **experimental** TSDB: Snapshot in-memory chunks on shutdown for faster restarts. Behind `--enable-feature=memory-snapshot-on-shutdown` flag. #7229

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

  • [FEATURE] **experimental** TSDB: Snapshot in-memory chunks on shutdown for faster restarts. Behind `--enable-feature=memory-snapshot-on-shutdown` flag. #7229
  • [FEATURE] **experimental** Scrape: Configure scrape interval and scrape timeout via relabeling using `__scrape_interval__` and `__scrape_timeout__` labels respectively. #8911
  • [FEATURE] Scrape: Add `scrape_timeout_seconds` and `scrape_sample_limit` metric. Behind `--enable-feature=extra-scrape-metrics` flag to avoid additional cardinality by default. #9247 #9295
  • [ENHANCEMENT] Scrape: Add `--scrape.timestamp-tolerance` flag to adjust scrape timestamp tolerance when enabled via `--scrape.adjust-timestamps`. #9283

⚡ Performance & Enhancements (5)

  • [ENHANCEMENT] Remote Write: Improve throughput when sending exemplars. #8921
  • [ENHANCEMENT] TSDB: Optimise WAL loading by removing extra map and caching min-time #9160
  • [ENHANCEMENT] promtool: Speed up checking for duplicate rules. #9262/#9306
  • [ENHANCEMENT] Scrape: Reduce allocations when parsing the metrics. #9299
  • [ENHANCEMENT] docker_sd: Support host network mode #9125

🔧 Bug Fixes & Patches (5)

  • [BUGFIX] Exemplars: Fix panic when resizing exemplar storage from 0 to a non-zero size. #9286
  • [BUGFIX] TSDB: Correctly decrement `prometheus_tsdb_head_active_appenders` when the append has no samples. #9230
  • [BUGFIX] promtool rules backfill: Return 1 if backfill was unsuccessful. #9303
  • [BUGFIX] promtool rules backfill: Avoid creation of overlapping blocks. #9324
  • [BUGFIX] config: Fix a panic when reloading configuration with a `null` relabel action. #9224
📄 View Raw Release Notes (Original Developer Log)
* [FEATURE] **experimental** TSDB: Snapshot in-memory chunks on shutdown for faster restarts. Behind `--enable-feature=memory-snapshot-on-shutdown` flag. #7229 * [FEATURE] **experimental** Scrape: Configure scrape interval and scrape timeout via relabeling using `__scrape_interval__` and `__scrape_timeout__` labels respectively. #8911 * [FEATURE] Scrape: Add `scrape_timeout_seconds` and `scrape_sample_limit` metric. Behind `--enable-feature=extra-scrape-metrics` flag to avoid additional cardinality by default. #9247 #9295 * [ENHANCEMENT] Scrape: Add `--scrape.timestamp-tolerance` flag to adjust scrape timestamp tolerance when enabled via `--scrape.adjust-timestamps`. #9283 * [ENHANCEMENT] Remote Write: Improve throughput when sending exemplars. #8921 * [ENHANCEMENT] TSDB: Optimise WAL loading by removing extra map and caching min-time #9160 * [ENHANCEMENT] promtool: Speed up checking for duplicate rules. #9262/#9306 * [ENHANCEMENT] Scrape: Reduce allocations when parsing the metrics. #9299 * [ENHANCEMENT] docker_sd: Support host network mode #9125 * [BUGFIX] Exemplars: Fix panic when resizing exemplar storage from 0 to a non-zero size. #9286 * [BUGFIX] TSDB: Correctly decrement `prometheus_tsdb_head_active_appenders` when the append has no samples. #9230 * [BUGFIX] promtool rules backfill: Return 1 if backfill was unsuccessful. #9303 * [BUGFIX] promtool rules backfill: Avoid creation of overlapping blocks. #9324 * [BUGFIX] config: Fix a panic when reloading configuration with a `null` relabel action. #9224