Change8

v3.4.0-rc.0

📦 prometheus
4 features🐛 7 fixes🔧 2 symbols

Summary

This release introduces several new features for OTLP translation, PromQL enhancements, and primitive support for delta metrics. It also includes numerous bug fixes across configuration reloading, TSDB replay, and PromQL calculations.

Migration Steps

  1. If you were relying on setting the out-of-order native histograms feature via `--enable-feature=ooo-native-histograms`, note that this flag is now a no-op; the feature is controlled by `out_of_order_time_window` and `--enable-feature=native-histograms`.

✨ New Features

  • OTLP translate: Add feature flag for optionally translating OTel explicit bucket histograms into native histograms with custom buckets.
  • OTLP translate: Add option to receive OTLP metrics without translating names or attributes.
  • PromQL: allow arithmetic operations in durations in PromQL parser.
  • OTLP receiver: Add primitive support for ingesting OTLP delta metrics as-is.

🐛 Bug Fixes

  • Config: Fix auto-reload on changes to rule and scrape config files.
  • Scraping: Skip native histogram series if ingestion is disabled.
  • TSDB: Handle metadata/tombstones/exemplars for duplicate series during WAL replay.
  • TSDB: Avoid processing exemplars outside the valid time range during WAL replay.
  • Promtool: Add feature flags for PromQL features.
  • Rules: correct logging of alert name & template data.
  • PromQL: Use arithmetic mean for histogram_stddev() and histogram_stdvar().

🔧 Affected Symbols

histogram_stddev()histogram_stdvar()