Prometheus v3.4.0stable Released May 17, 2025
Impact Score: 7/10

Prometheus: 3.4.0 / 2025-05-17

Source available - automated, not human-reviewed

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

Analysis updated: 2026-11-23.

Automated impact estimate - compatibility not verified
📄 .MD
⚡ Executive Summary (TL;DR)

Prometheus v3.4.0 introduces key OpenTelemetry (OTLP) integration improvements, including raw metric ingestion, delta metric support, and bucket histogram translation. It also enhances PromQL with duration arithmetic and resolves critical bugs in config auto-reloading and TSDB WAL replay.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers can now use arithmetic operations on durations in PromQL queries and utilize histogram_fraction for bucket histograms.

📊 Product & Engineering Leads

Expanded native OpenTelemetry ingestion and translation capabilities broaden telemetry compatibility without requiring upfront transformations.

⚙️ DevOps & Security

Operators benefit from fixed scrape and rule config auto-reloading, configurable Alertmanager notification batching, and performance optimizations in Kubernetes endpointSlice discovery.

✨ New Features & Capabilities (4)

  • OTLP translate feature flag for translating OpenTelemetry explicit bucket histograms into native histograms with custom buckets (#15850)
  • Option to receive OTLP metrics without translating names or attributes (#16441)
  • PromQL parser support for arithmetic operations in durations (#16249)
  • Primitive support for ingesting OTLP delta metrics as-is (#16360)

⚡ Performance & Enhancements (7)

  • PromQL histogram_fraction support for bucket histograms (#16095)
  • Added TSDB metrics prometheus_tsdb_wal_replay_unknown_refs_total and prometheus_tsdb_wbl_replay_unknown_refs_total to track unknown series during WAL/WBL replay (#16166)
  • Config option added for escaping scheme request during scraping (#16066)
  • Global configuration option added for convert_classic_histograms_to_nhcb (#16226)
  • Configurable Alertmanager notification batch size via --alertmanager.notification-batch-size (#16254)
  • More efficient Kubernetes SD endpointSlice discovery (#16433)
  • Setting --enable-feature=ooo-native-histograms is now a no-op, automatically activating when out_of_order_time_window > 0 and native-histograms feature flag is set (#16207)

🔧 Bug Fixes & Patches (7)

  • Fixed auto-reload behavior on changes to rule and scrape configuration files (#16340)
  • Skip native histogram series if ingestion is disabled (#16218)
  • Properly handle metadata, tombstones, and exemplars for duplicate series during WAL replay (#16231)
  • Avoid processing exemplars outside the valid time range during WAL replay (#16242)
  • Added feature flags for PromQL features in Promtool (#16443)
  • Corrected logging of alert names and template data (#15093)
  • PromQL histogram_stddev() and histogram_stdvar() now calculate using arithmetic mean (#16444)

❓ Frequently Asked Questions

Does Prometheus v3.4.0 contain breaking changes?

No explicit breaking changes are documented in v3.4.0. Note that the command-line flag --enable-feature=ooo-native-histograms has become a no-op because out-of-order native histograms are now enabled automatically when native histograms are on and out_of_order_time_window is set.

What is the primary highlight of v3.4.0?

The primary highlight is the expansion of OpenTelemetry (OTLP) features-including primitive delta metric ingestion, raw name/attribute ingestion, and explicit bucket histogram translation-along with PromQL duration arithmetic capabilities.

How should teams prepare to upgrade to v3.4.0?

Teams should clean up deployment scripts by removing --enable-feature=ooo-native-histograms if present, review new OTLP feature flags if ingesting OpenTelemetry metrics, and verify that configuration file auto-reloading functions properly after upgrading.

📄 View Raw Release Notes (Original Developer Log)
* [CHANGE] Config: Make setting out-of-order native histograms feature (`--enable-feature=ooo-native-histograms`) a no-op. Out-of-order native histograms are now always enabled when `out_of_order_time_window` is greater than zero and `--enable-feature=native-histograms` is set. #16207 * [FEATURE] OTLP translate: Add feature flag for optionally translating OTel explicit bucket histograms into native histograms with custom buckets. #15850 * [FEATURE] OTLP translate: Add option to receive OTLP metrics without translating names or attributes. #16441 * [FEATURE] PromQL: allow arithmetic operations in durations in PromQL parser. #16249 * [FEATURE] OTLP receiver: Add primitive support for ingesting OTLP delta metrics as-is. #16360 * [ENHANCEMENT] PromQL: histogram_fraction for bucket histograms. #16095 * [ENHANCEMENT] TSDB: add `prometheus_tsdb_wal_replay_unknown_refs_total` and `prometheus_tsdb_wbl_replay_unknown_refs_total` metrics to track unknown series references during WAL/WBL replay. #16166 * [ENHANCEMENT] Scraping: Add config option for escaping scheme request. #16066 * [ENHANCEMENT] Config: Add global config option for convert_classic_histograms_to_nhcb. #16226 * [ENHANCEMENT] Alerting: make batch size configurable (`--alertmanager.notification-batch-size`). #16254 * [PERF] Kubernetes SD: make endpointSlice discovery more efficient. #16433 * [BUGFIX] Config: Fix auto-reload on changes to rule and scrape config files. #16340 * [BUGFIX] Scraping: Skip native histogram series if ingestion is disabled. #16218 * [BUGFIX] TSDB: Handle metadata/tombstones/exemplars for duplicate series during WAL replay. #16231 * [BUGFIX] TSDB: Avoid processing exemplars outside the valid time range during WAL replay. #16242 * [BUGFIX] Promtool: Add feature flags for PromQL features. #16443 * [BUGFIX] Rules: correct logging of alert name & template data. #15093 * [BUGFIX] PromQL: Use arithmetic mean for `histogram_stddev()` and `histogram_stdvar()` . #16444