Prometheus 3.16.0
← All Prometheus releases · Searchable index of all 785 changes
Changelog
| PR / issue | Type | Description |
|---|---|---|
| #19731 | Change | API: The experimental search endpoints now clamp batch_size to 1000. |
| #19241 | Change | Configuration: Default --web.external-url to https when --web.config.file enables TLS. |
| #19165 | Change | PromQL: Subquery samples are now included in the query TotalSamples and TotalSamplesPerStep statistics, and SamplesRead now counts reads from subqueries with an @ modifier in range queries. |
| #20080 | Change | Remote write: Stop exposing the deprecated prometheus_remote_storage_metadata_total, prometheus_remote_storage_metadata_failed_total, prometheus_remote_storage_metadata_retried_total, and prometheus_remote_storage_metadata_bytes_total metrics for Remote Write 2.0 queues. |
| #19812 | Change | Remote write receiver: Count Remote Write 2.x samples and histograms ingested without metadata in prometheus_api_remote_write_without_metadata_appended_samples_total even when metadata-wal-records is disabled. |
| #19896 | Change | TSDB: Reject exemplars whose label names are not unique, instead of storing them and serving a duplicate JSON key from /api/v1/query_exemplars. |
| #19066 | Feature | API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the X-Prometheus-Use-Start-Timestamps HTTP header. |
| #19684 | Feature | Agent: Support metadata-wal-records in Prometheus Agent mode. |
| #14440 | Feature | PromQL: Add experimental integral function for computing integral-over-time of range vectors behind the --enable-feature=promql-experimental-functions flag. |
| #20028 | Feature | PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with --enable-feature=query-cost. |
| #19697 | Feature | PromQL: Smoothed and Anchored vector selectors are now stable and always-on. |
| #18966 | Feature | PromQL: Use start timestamps to detect counter resets when float timeseries are queried using extended range selector modifiers (anchored, smoothed). This feature is hidden behind use-start-timestamps feature flag. |
| #18271 | Feature | Promtool: print test filename during promtool tests |
| #20162 | Feature | PromQL: Allow unquoted Unicode letters and dots behind a feature flag |
| #19992 | Enhancement | Search API: Warn when participating remote-read storage does not support search. |
| #18355 | Enhancement | Remote Read: Add native histogram prometheus_remote_read_handler_gate_wait_duration_seconds to measure concurrency-gate wait duration, including requests canceled while waiting. |
| #17205 | Enhancement | Remote Write: Add experimental flag convert_nhcb_to_classic to convert NHCB to classic histograms for external systems that dont support NHCBs. |
| #19363 | Enhancement | promtool: Add --allow-incompatible-block-duration so users can specify any max-block-duration instead of being restricted to the default Prometheus block durations. |
| #19717 | Performance | Remote write: Cache repeated OTLP histogram metric names. |
| #19907 | Performance | OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. |
| #19738 | Performance | PromQL: Decode only histogram sum/count (not buckets) for timestamp, start_timestamp and absent. |
| #19863 | Performance | PromQL: Only select the fixed window for subqueries with an @ modifier. |
| #20040 | Performance | Remote write / TSDB: Deduplicate per-series metadata structs in memory with unique.Handle. |
| #19394 | Performance | Scrape: Avoid some copies of scrape response bodies. |
| #19962 | Performance | TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. |
| #19712 | Performance | TSDB: Reduce memory used writing and reading checkpoint metadata records. |
| #19880 | Performance | Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in NHCBParser. |
| #19895 | Performance | Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. |
| #19749 | Bug fix | Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream |
| #19737 | Bug fix | TSDB: Fix loss of out-of-order samples when a WAL checkpoint drops a series record that the out-of-order write-behind log still needs |
| #19854 | Bug fix | TSDB: Fix queries that seek within a head chunk returning samples committed after the query started |
| #19805 | Bug fix | TSDB: Preserve mapped chunks when WAL replay merges multiple references for the same series, preventing missing out-of-order samples and duplicate in-order chunks after restart |
| #19838 | Bug fix | Fix auto-reload logic to reload after reverting a failed configuration change |
| #19910 | Bug fix | API: Do not match metric family metadata for doubled _total and _info suffixes in experimental search API. |
| #19658 | Bug fix | API: Reject timeout and lookback_delta values that overflow int64 instead of turning them into a negative duration |
| #19824 | Bug fix | API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. |
| #19434 | Bug fix | AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. |
| #19754 | Bug fix | Build: Allow installing promtool with version-suffixed go install commands |
| #19755 | Bug fix | Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. |
| #19679 | Bug fix | Federation: fix corruption of float native histograms. |
| #19828 | Bug fix | Fix ts_of_last_over_time for samples before the Unix epoch. |
| #19659 | Bug fix | Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. |
| #19572 | Bug fix | Logging: Preserve rule and TSDB block values in JSON logs. |
| #19812 | Bug fix | OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. |
| #20030 | Bug fix | OTLP: Count only out-of-order exemplars in prometheus_api_otlp_out_of_order_exemplars_total, not every rejected exemplar. |
| #20004 | Bug fix | OTLP: Do not drop exemplars that have a trace_id or span_id filtered attribute in addition to a trace or span ID. The trace context now takes precedence over the colliding attribute, as required by the OpenTelemetry specification. |
| #19425 | Bug fix | OTLP: Do not emit le="+Inf" twice when a histogram's explicit bounds end at +Inf, and warn about the bound. |
| #20029 | Bug fix | OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. |
| #20020 | Bug fix | OpenMetrics 2.0: Attach histogram exemplars to matching classic _bucket series and preserve them when scraping both native and classic histograms. |
| #19901 | Bug fix | PromQL: Avoid intermediate overflow in rad and deg conversions. |
| #19986 | Bug fix | PromQL: Consistently ignore and drop __type__ and __unit__ labels in without aggregations, absent, info, and binary operator fill matching. |
| #19797 | Bug fix | PromQL: Do not panic when printing the partial AST returned alongside a parse error. |
| #18680 | Bug fix | PromQL: Drop __type__ and __unit__ in binary operations so they are transparent to users, similar to how __name__ is handled. |
| #20024 | Bug fix | PromQL: Fix ==, !=, changes and count_values on native histograms giving wrong results inside histogram_count, histogram_sum and histogram_avg. |
| #19657 | Bug fix | PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. |
| #19973 | Bug fix | PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. |
| #19729 | Bug fix | PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. foo[range:1s]. |
| #19742 | Bug fix | PromQL: Fix warning and error locations for duration expressions min_of and max_of. |
| #20057 | Bug fix | PromQL: Ignore NaN classic histogram bucket boundaries in histogram_quantile, histogram_quantiles and histogram_fraction and return correct value instead of NaN if there are normal buckets. |
| #19899 | Bug fix | PromQL: Preserve infinite values at exact quantile ranks. |
| #19939 | Bug fix | PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. |
| #19743 | Bug fix | PromQL: Preserve subquery step expressions when printing queries after preprocessing. |
| #18631 | Bug fix | PromQL: Range vector functions no longer raise a spurious "vector cannot contain metrics with the same labelset" error when series have different metric names but the same remaining labels, as long as their timestamps do not overlap within the evaluated range window |
| #19873 | Bug fix | PromQL: do not count subquery materialized samples in total samples statistics |
| #19866 | Bug fix | Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. |
| #19866 | Bug fix | Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. |
| #19882 | Bug fix | Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. |
| #19682 | Bug fix | Scrape: fix failing scrape when float histogram is emitted over protobuf with count, zero count and buckets all zero, for example a result of recording rate(x[1m]) over constant histogram. |
| #19694 | Bug fix | Search API: Return the lexically smallest label values when limit is set on /api/v1/search/label_values, instead of an arbitrary subset |
| #20041 | Bug fix | TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. |
| #19992 | Bug fix | Search API: Avoid panics when the requested time range has no participating storage. |
| #19666 | Bug fix | TSDB: Fix a race in selected-series and stale-series compaction where a sample committed after the block was written but before the series was evicted from the head could be silently lost. The fix no longer depends on isolation being enabled. |
| #19672 | Bug fix | TSDB: Fix a rare case where a sample could be lost during selected-series or stale-series compaction if an unrelated write to the same series ran cleanup that erased the evidence needed to protect it. |
| #19734 | Bug fix | TSDB: Fix spurious "unknown series references" warnings during WAL replay after a restart, when the only blocks on disk were produced by selected-series or stale-series compaction. |
| #19858 | Bug fix | TSDB: Increment prometheus_tsdb_wal_corruptions_total when WAL corruption is detected during checkpoint creation, so the metric reflects corruption found at compaction time rather than only after a restart-triggered repair. |
| #19940 | Bug fix | TSDB: Preserve series identities needed to recover exemplars after compaction and restart. |
| #20034 | Bug fix | TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. |
| #19678 | Bug fix | TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. |
| #19908 | Bug fix | Templates: Preserve IPv6 addresses with dotted zone identifiers in stripDomain. |
| #19825 | Bug fix | UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. |
| #19848 | Bug fix | Web: Fix HTTP/2 negotiation silently falling back to HTTP/1.1 under Go 1.27+ when TLS is enabled with http2: true. The server now correctly advertises h2 via ALPN and multiplexes concurrent requests over a single connection. |
| #19877 | Bug fix | mixin: Fix double-counting of failed samples in the PrometheusRemoteStorageFailures alert denominator. |
| #20046 | Bug fix | promtool: Honor --enable-feature when evaluating rules in test rules. |
| #19902 | Bug fix | Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 |
| #19315 | Bug fix | Scrape: Reject sum-only classic histograms during NHCB conversion |
Reproduced from the official Prometheus 3.16.0 release notes. Last checked 26 Nov 2026, 06:20 UTC.