来源: https://github.com/prometheus/prometheus/releases/tag/v3.6.0
prometheus/prometheus v3.6.0 Release Notes
Published at: 2025-09-22T08:24:59Z
- [FEATURE] PromQL: Add
step(), andmin()andmax()on durations, behind feature flagpromql-duration-expr. #16777 - [FEATURE] API: Add a
/v1/status/tsdb/blocksendpoint exposing metadata about loaded blocks. #16695 - [FEATURE] Templates: Add
toDuration()andnow()functions. #16619 - [ENHANCEMENT] Discovery: Add support for attaching namespace metadata to targets. #16831
- [ENHANCEMENT] OTLP: Support new
UnderscoreEscapingWithoutSuffixesstrategy viaotlp.translation_strategy. #16849 - [ENHANCEMENT] OTLP: Support including scope metadata as metric labels via
otlp.promote_scope_metadata. #16878 - [ENHANCEMENT] OTLP: Add
__type__and__unit__labels when feature flagtype-and-unit-labelsis enabled. #16630 - [ENHANCEMENT] Tracing: Send the traceparent HTTP header during scrapes. #16425
- [ENHANCEMENT] UI: Add option to disable info and warning query messages under
Query page settings. #16901 - [ENHANCEMENT] UI: Improve metadata handling for
_count/_sum/_bucketsuffixes. #16910 - [ENHANCEMENT] TSDB: Track stale series in the Head block via the
prometheus_tsdb_head_stale_seriesmetric. #16925 - [PERF] PromQL: Improve performance due to internal optimizations. #16797
- [BUGFIX] Config: Fix “unknown global name escaping method” error messages produced during config validation. #16801
- [BUGFIX] Discovery: Fix race condition during shutdown. #16820
- [BUGFIX] OTLP: Generate
target_infosamples between the earliest and latest samples per resource. #16737 - [BUGFIX] PromQL: Fail when
NaNis passed as parameter totopk(),bottomk(),limitk()andlimit_ratio(). #16725 - [BUGFIX] PromQL: Fix extrapolation for native counter histograms. #16828
- [BUGFIX] PromQL: Reduce numerical errors by disabling some optimizations. #16895
- [BUGFIX] PromQL: Fix inconsistencies when using native histograms in subqueries. #16879
- [BUGFIX] PromQL: Fix inconsistent annotations for
rate()andincrease()on histograms when feature flagtype-and-unit-labelsis enabled. #16915 - [BUGFIX] Scraping: Fix memory corruption in
slicelabelsbuilds. #16946 - [BUGFIX] TSDB: Fix panic on append when feature flag
created-timestamp-zero-ingestionis enabled. #16332 - [BUGFIX] TSDB: Fix panic on append for native histograms with empty buckets. #16893