v3.6.0-rc.0
📦 prometheus
✨ 3 features🐛 11 fixes🔧 11 symbols
Summary
This release introduces new PromQL functions, an API endpoint for block metadata, and several template functions. Numerous bug fixes address issues in PromQL calculations, OTLP sample generation, and TSDB stability.
✨ New Features
- PromQL now supports `step()` and `min()`/`max()` on durations when the feature flag `promql-duration-expr` is enabled.
- A new API endpoint `/v1/status/tsdb/blocks` is available to expose metadata about loaded TSDB blocks.
- Added `toDuration()` and `now()` functions to Templates.
🐛 Bug Fixes
- Resolved an issue causing "unknown global name escaping method" errors during configuration validation.
- Fixed a race condition that occurred during component shutdown in Discovery.
- Corrected the generation of `target_info` samples in OTLP to occur between the earliest and latest samples per resource.
- PromQL now correctly fails when `NaN` is passed as a parameter to `topk()`, `bottomk()`, `limitk()`, and `limit_ratio()`.
- Fixed extrapolation issues for native counter histograms in PromQL.
- Reduced numerical errors in PromQL by disabling certain optimizations.
- Fixed inconsistencies when using native histograms in PromQL subqueries.
- Fixed inconsistent annotations for `rate()` and `increase()` on histograms when the `type-and-unit-labels` feature flag is active.
- Fixed memory corruption issues during `slicelabels` builds during scraping.
- Resolved a panic during append operations in TSDB when the `created-timestamp-zero-ingestion` feature flag is enabled.
- Fixed a panic in TSDB during append operations for native histograms that have empty buckets.
🔧 Affected Symbols
promql-duration-exprotlp.translation_strategyotlp.promote_scope_metadatatype-and-unit-labelstopk()bottomk()limitk()limit_ratio()rate()increase()created-timestamp-zero-ingestion