Skip to content

cmd/prometheus: default external URL scheme to https when web.config.file enables TLS - #19241

Merged
krajorama merged 5 commits into
prometheus:mainfrom
hexonal:fix-externalurl-tls-scheme
Oct 20, 2026
Merged

krajorama merged 5 commits into
prometheus:mainfrom
hexonal:fix-externalurl-tls-scheme

Conversation

@hexonal

@hexonal hexonal commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #17236

[CHANGE] Default --web.external-url to https when --web.config.file enables TLS.

Problem

computeExternalURL (cmd/prometheus/main.go) always infers http:// as the scheme when --web.external-url is unset, regardless of whether --web.config.file actually configures TLS via tls_server_config. Alertmanager/UI links therefore show http:// even when Prometheus is only serving HTTPS.

Fix

Only inside the branch that builds the inferred-default URL (u == ""), check whether the web config file (if any) contains a tls_server_config key via a light YAML unmarshal, and use https as the scheme in that case. An explicitly-provided --web.external-url is never touched.

Relation to #17272

A prior PR (#17272) attempted this exact fix and got real review from @bboreham, who correctly pointed out that merely checking whether --web.config.file is set isn't enough (the file can configure things other than TLS, e.g. basic auth only) — the fix needs to specifically check for tls_server_config. That PR's author addressed the feedback but the PR stalled without further review and was self-closed. This PR follows the same validated approach (light YAML unmarshal, check tls_server_config presence, go.yaml.in/yaml/v2 — already a direct dependency, no new dependency added) but with one correction: #17272 applied the scheme override unconditionally after url.Parse, for any u — which would silently override an explicitly user-supplied --web.external-url's scheme too (e.g. an explicit https://... with no matching web-config file would get forced back to http). This PR only computes the scheme while building the synthetic default URL, so an explicit --web.external-url is left exactly as given — see TestComputeExternalURLExplicitSchemeUnaffectedByWebConfig.

Testing

  • go vet ./cmd/prometheus/... — clean.
  • gofmt -l on changed files — clean.
  • go test ./cmd/prometheus/... -run 'TestComputeExternalURL' -v — all pass, including the existing TestComputeExternalURL (updated for the new parameter) and two new tests: TestComputeExternalURLWithWebConfig (no config / TLS config / basic-auth-only config / nonexistent file) and TestComputeExternalURLExplicitSchemeUnaffectedByWebConfig.
  • Full go test ./cmd/prometheus/... — passes, no regressions (~37s).
  • Confirmed the new tests actually exercise the fix: temporarily neutered webConfigHasTLSServerConfig to always return false and confirmed the TLS-config subtest fails as expected (expected: https, actual: http), then restored the fix and reconfirmed all green.
  • golangci-lint run ./cmd/prometheus/... (installed the exact pinned v2.11.4 per Makefile.common) — clean. CI's first run caught one real finding (interface{} should be any, the modernize linter) before this was installed locally; fixed and reconfirmed clean.

@hexonal
hexonal requested a review from a team as a code owner July 21, 2026 02:58
@hexonal
hexonal force-pushed the fix-externalurl-tls-scheme branch from 5e6dc2c to 8b12570 Compare July 21, 2026 03:06
@hexonal hexonal changed the title cmd/prometheus: infer https externalURL scheme when web.config.file configures TLS cmd/prometheus: default external URL scheme to https when web.config.file enables TLS Jul 21, 2026
Comment thread cmd/prometheus/main.go Resolved
…file enables TLS

computeExternalURL always inferred the default --web.external-url with a
hardcoded http:// scheme, even when --web.config.file configures TLS via
tls_server_config. This made Prometheus advertise an http:// URL (used for
UI links and the Alertmanager "source" link) while actually only serving
over HTTPS.

Detect whether the web config file, if any, contains a tls_server_config
section (a light YAML unmarshal, checking key presence only) and use it to
choose https for the inferred URL. A web config file that configures only
other things, such as basic auth, still yields http, as before. An
explicitly provided --web.external-url is never touched by this detection;
only the inferred default (empty --web.external-url) picks its scheme this
way.

Fixes prometheus#17236

release-notes:
[BUGFIX] Default --web.external-url to https when --web.config.file enables TLS.

Signed-off-by: flink <[email protected]>
@hexonal
hexonal force-pushed the fix-externalurl-tls-scheme branch from 8b12570 to 750bd18 Compare July 21, 2026 07:21
hexonal added 2 commits July 23, 2026 13:02
Now that exporter-toolkit v0.19.0 ships TLSConfig.IsEnabled() (added in
prometheus/exporter-toolkit#422), drop the local tlsServerConfig struct that
mirrored its TLS-enabling fields and unmarshal the web config into
toolkit_web.Config instead, so the definition of "TLS is enabled" has a single
source of truth in the toolkit. The toolkit exposes no public loader for a
config file (getConfig is unexported), so the file is still read and
unmarshalled here.

Bumps github.com/prometheus/exporter-toolkit to v0.19.0, which requires
prometheus/common v0.70.1 and procfs v0.21.0.

Signed-off-by: hexonal <[email protected]>
@hexonal

hexonal commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Done — pushed 47b20966 swapping the local mirror for the toolkit's TLSConfig.IsEnabled() now that it's released.

One correction to what I said earlier about deleting the yaml import: I can't, and here's why. #422 added IsEnabled() as a method on web.TLSConfig, but the toolkit still exposes no public loader for a web-config file — getConfig is unexported, and Validate returns only an error. So the file still has to be read and unmarshalled here. What the swap does remove is the duplicated field list: webConfigHasTLSServerConfig now unmarshals into toolkit_web.Config and calls webConfig.TLSConfig.IsEnabled(), so "TLS is enabled" has a single source of truth in the toolkit. The local tlsServerConfig struct and its isEnabled() are gone. (I double-checked IsEnabled()'s seven field checks match the ones the local struct mirrored, one-for-one.)

Dependency bump. This pulls exporter-toolkit v0.17.1 → v0.19.0 (the corrected same-day re-tag of v0.18.0). Both IsEnabled-containing releases require prometheus/common v0.70.1 and procfs v0.21.0, so those come along unavoidably, plus the routine golang.org/x/* bumps their go.mods pull. The go directive is unchanged, and go mod tidy is stable.

Verified (Go, GOFLAGS default): go build ./cmd/prometheus/... and go vet ./cmd/prometheus/ clean; TestComputeExternalURL* all pass, including the cases you prompted — an empty tls_server_config: and one setting only a non-enabling field (min_version) both still resolve to http, and a real cert config to https. The tests are unchanged.

Happy to pin to v0.18.0 instead if you'd prefer the minimal tag, though its go.mod requires the same common/procfs.

…-scheme

Signed-off-by: hexonal <[email protected]>

# Conflicts:
#	go.mod
#	go.sum
@hexonal

hexonal commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto current main to clear the go.mod conflict — and it turns out that shrinks the dependency footprint to almost nothing. main has since caught up to prometheus/common v0.70.1, procfs v0.21.x and the golang.org/x/* versions on its own, so the net change this PR now makes to go.mod is the single exporter-toolkit v0.17.1 → v0.19.0 line (plus its two go.sum hashes). Disregard my note above about this pulling common/procfs — that's already in main.

go build ./cmd/prometheus/... and the TestComputeExternalURL* tests are green on the merged tree.

@krajorama

Copy link
Copy Markdown
Member

I've updated the release notes to say CHANGE . Technically this can be breaking for somebody that depends on the broken behavior.

@krajorama krajorama left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@krajorama
krajorama merged commit fe0a89c into prometheus:main Oct 20, 2026
66 of 67 checks passed
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 6, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Nov 7, 2026
##### [\`v3.16.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.16.0)

- \[CHANGE] API: The experimental search endpoints now clamp `batch_size` to 1000. [#19731](prometheus/prometheus#19731)
- \[CHANGE] Configuration: Default --web.external-url to https when --web.config.file enables TLS. [#19241](prometheus/prometheus#19241)
- \[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. [#19165](prometheus/prometheus#19165)
- \[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. [#20080](prometheus/prometheus#20080)
- \[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. [#19812](prometheus/prometheus#19812)
- \[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`. [#19896](prometheus/prometheus#19896)
- \[FEATURE] API: Allow overriding PromQL Start Timestamp processing on a per-query basis using the `X-Prometheus-Use-Start-Timestamps` HTTP header. [#19066](prometheus/prometheus#19066)
- \[FEATURE] Agent: Support metadata-wal-records in Prometheus Agent mode. [#19684](prometheus/prometheus#19684)
- \[FEATURE] PromQL: Add experimental `integral()` function for computing integral-over-time of range vectors behind the `--enable-feature=promql-experimental-functions` flag. [#14440](prometheus/prometheus#14440)
- \[FEATURE] PromQL: Add experimental query cost estimation, actual cost reporting, and configurable execution limits, enabled with `--enable-feature=query-cost`. [#20028](prometheus/prometheus#20028)
- \[FEATURE] PromQL: Smoothed and Anchored vector selectors are now stable and always-on. [#19697](prometheus/prometheus#19697)
- \[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. [#18966](prometheus/prometheus#18966)
- \[FEATURE] Promtool: print test filename during promtool tests [#18271](prometheus/prometheus#18271)
- \[FEATURE] PromQL: Allow unquoted Unicode letters and dots behind a feature flag [#20162](prometheus/prometheus#20162)
- \[ENHANCEMENT] Search API: Warn when participating remote-read storage does not support search. [#19992](prometheus/prometheus#19992)
- \[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. [#18355](prometheus/prometheus#18355)
- \[ENHANCEMENT] Remote Write: Add experimental flag `convert_nhcb_to_classic` to convert NHCB to classic histograms for external systems that dont support NHCBs. [#17205](prometheus/prometheus#17205)
- \[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. [#19363](prometheus/prometheus#19363)
- \[PERF] Remote write: Cache repeated OTLP histogram metric names. [#19717](prometheus/prometheus#19717)
- \[PERF] OpenMetrics 2.0 parser: Reuse classic histogram and summary expansion buffers across scrapes. [#19907](prometheus/prometheus#19907)
- \[PERF] PromQL: Decode only histogram sum/count (not buckets) for timestamp(), start_timestamp() and absent(). [#19738](prometheus/prometheus#19738)
- \[PERF] PromQL: Only select the fixed window for subqueries with an `@` modifier. [#19863](prometheus/prometheus#19863)
- \[PERF] Remote write / TSDB: Deduplicate per-series metadata structs in memory with `unique.Handle`. [#20040](prometheus/prometheus#20040)
- \[PERF] Scrape: Avoid some copies of scrape response bodies. [#19394](prometheus/prometheus#19394)
- \[PERF] TSDB: Improve XOR2 compression and append performance by selecting value windows based on encoding cost. [#19962](prometheus/prometheus#19962)
- \[PERF] TSDB: Reduce memory used writing and reading checkpoint metadata records. [#19712](prometheus/prometheus#19712)
- \[PERF] Scrape: Convert classic histograms to NHCB directly in the OpenMetrics 2.0 parser without wrapping in `NHCBParser`. [#19880](prometheus/prometheus#19880)
- \[PERF] Scrape: Reduce OpenMetrics 2.0 parser allocations and CPU overhead by lazily constructing composite series and exemplar labels. [#19895](prometheus/prometheus#19895)
- \[BUGFIX] Remote read: Abort failed streaming responses without writing duplicate headers or appending plain-text errors to the protobuf stream [#19749](prometheus/prometheus#19749)
- \[BUGFIX] 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 [#19737](prometheus/prometheus#19737)
- \[BUGFIX] TSDB: Fix queries that seek within a head chunk returning samples committed after the query started [#19854](prometheus/prometheus#19854)
- \[BUGFIX] 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 [#19805](prometheus/prometheus#19805)
- \[BUGFIX] Fix auto-reload logic to reload after reverting a failed configuration change [#19838](prometheus/prometheus#19838)
- \[BUGFIX] API: Do not match metric family metadata for doubled \_total and \_info suffixes in experimental search API. [#19910](prometheus/prometheus#19910)
- \[BUGFIX] API: Reject `timeout` and `lookback_delta` values that overflow int64 instead of turning them into a negative duration [#19658](prometheus/prometheus#19658)
- \[BUGFIX] API: Resolve metric family metadata for suffixed metric names in search results, in experimental search API. [#19824](prometheus/prometheus#19824)
- \[BUGFIX] AWS SD: Describe each ElastiCache cluster once instead of twice for clusters that are not replication group members. [#19434](prometheus/prometheus#19434)
- \[BUGFIX] Build: Allow installing promtool with version-suffixed go install commands [#19754](prometheus/prometheus#19754)
- \[BUGFIX] Discovery: Fix a panic in Azure service discovery when a VM tag has a null value. [#19755](prometheus/prometheus#19755)
- \[BUGFIX] Federation: fix corruption of float native histograms. [#19679](prometheus/prometheus#19679)
- \[BUGFIX] Fix ts_of_last_over_time for samples before the Unix epoch. [#19828](prometheus/prometheus#19828)
- \[BUGFIX] Histograms: Fix ConvertNHCBToClassic inflating classic bucket counts for integer native histograms whose spans have gaps. [#19659](prometheus/prometheus#19659)
- \[BUGFIX] Logging: Preserve rule and TSDB block values in JSON logs. [#19572](prometheus/prometheus#19572)
- \[BUGFIX] OTLP receiver: Drop exemplars with timestamps more than 10 minutes in the future instead of storing them and blocking subsequent exemplars for that series. [#19812](prometheus/prometheus#19812)
- \[BUGFIX] OTLP: Count only out-of-order exemplars in `prometheus_api_otlp_out_of_order_exemplars_total`, not every rejected exemplar. [#20030](prometheus/prometheus#20030)
- \[BUGFIX] 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. [#20004](prometheus/prometheus#20004)
- \[BUGFIX] OTLP: Do not emit `le="+Inf"` twice when a histogram's explicit bounds end at `+Inf`, and warn about the bound. [#19425](prometheus/prometheus#19425)
- \[BUGFIX] OTLP: Stop dropping exemplars that arrive out of timestamp order within a data point. [#20029](prometheus/prometheus#20029)
- \[BUGFIX] OpenMetrics 2.0: Attach histogram exemplars to matching classic `_bucket` series and preserve them when scraping both native and classic histograms. [#20020](prometheus/prometheus#20020)
- \[BUGFIX] PromQL: Avoid intermediate overflow in `rad()` and `deg()` conversions. [#19901](prometheus/prometheus#19901)
- \[BUGFIX] PromQL: Consistently ignore and drop `__type__` and `__unit__` labels in `without` aggregations, `absent()`, `info()`, and binary operator fill matching. [#19986](prometheus/prometheus#19986)
- \[BUGFIX] PromQL: Do not panic when printing the partial AST returned alongside a parse error. [#19797](prometheus/prometheus#19797)
- \[BUGFIX] PromQL: Drop **type** and **unit** in binary operations so they are transparent to users, similar to how **name** is handled. [#18680](prometheus/prometheus#18680)
- \[BUGFIX] PromQL: Fix `==`, `!=`, `changes()` and `count_values` on native histograms giving wrong results inside `histogram_count()`, `histogram_sum()` and `histogram_avg()`. [#20024](prometheus/prometheus#20024)
- \[BUGFIX] PromQL: Fix histogram_fraction returning wrong results for native histograms with custom buckets when a bucket boundary is exactly 0. [#19657](prometheus/prometheus#19657)
- \[BUGFIX] PromQL: Fix histogram_quantile and histogram_quantiles interpolating within the wrong bucket for native histograms whose sum is NaN. [#19973](prometheus/prometheus#19973)
- \[BUGFIX] PromQL: Fix lexing of subqueries whose range is a duration keyword expression, e.g. `foo[range():1s]`. [#19729](prometheus/prometheus#19729)
- \[BUGFIX] PromQL: Fix warning and error locations for duration expressions `min_of` and `max_of`. [#19742](prometheus/prometheus#19742)
- \[BUGFIX] 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. [#20057](prometheus/prometheus#20057)
- \[BUGFIX] PromQL: Preserve infinite values at exact quantile ranks. [#19899](prometheus/prometheus#19899)
- \[BUGFIX] PromQL: Preserve original operand sides for experimental fill modifiers with group_right matching. [#19939](prometheus/prometheus#19939)
- \[BUGFIX] PromQL: Preserve subquery step expressions when printing queries after preprocessing. [#19743](prometheus/prometheus#19743)
- \[BUGFIX] 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 [#18631](prometheus/prometheus#18631)
- \[BUGFIX] PromQL: do not count subquery materialized samples in total samples statistics [#19873](prometheus/prometheus#19873)
- \[BUGFIX] Remote write: Prevent future-dated exemplars from scaling shards down to the minimum. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Agent: Prevent future sent timestamps from advancing WAL truncation beyond the minimum retention window. [#19866](prometheus/prometheus#19866)
- \[BUGFIX] Rules: Restore firing alerts with for durations shorter than --rules.alert.for-grace-period after a restart. [#19882](prometheus/prometheus#19882)
- \[BUGFIX] 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. [#19682](prometheus/prometheus#19682)
- \[BUGFIX] Search API: Return the lexically smallest label values when `limit` is set on `/api/v1/search/label_values`, instead of an arbitrary subset [#19694](prometheus/prometheus#19694)
- \[BUGFIX] TSDB: Fix WAL watcher permanently skipping checkpoint series garbage collection when lagging behind head truncation. [#20041](prometheus/prometheus#20041)
- \[BUGFIX] Search API: Avoid panics when the requested time range has no participating storage. [#19992](prometheus/prometheus#19992)
- \[BUGFIX] 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. [#19666](prometheus/prometheus#19666)
- \[BUGFIX] 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. [#19672](prometheus/prometheus#19672)
- \[BUGFIX] 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. [#19734](prometheus/prometheus#19734)
- \[BUGFIX] 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. [#19858](prometheus/prometheus#19858)
- \[BUGFIX] TSDB: Preserve series identities needed to recover exemplars after compaction and restart. [#19940](prometheus/prometheus#19940)
- \[BUGFIX] TSDB: Reject native histograms whose span offsets overflow the int32 bucket index instead of storing them with corrupted buckets. [#20034](prometheus/prometheus#20034)
- \[BUGFIX] TSDB: fix no passing metadata-wal-records to TSDB from main feature flag. [#19678](prometheus/prometheus#19678)
- \[BUGFIX] Templates: Preserve IPv6 addresses with dotted zone identifiers in `stripDomain`. [#19908](prometheus/prometheus#19908)
- \[BUGFIX] UI: Don't automatically open an autocomplete dropdown after closing a function call body or aggregation operator with a closing parenthesis. [#19825](prometheus/prometheus#19825)
- \[BUGFIX] 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. [#19848](prometheus/prometheus#19848)
- \[BUGFIX] mixin: Fix double-counting of failed samples in the `PrometheusRemoteStorageFailures` alert denominator. [#19877](prometheus/prometheus#19877)
- \[BUGFIX] promtool: Honor `--enable-feature` when evaluating rules in `test rules`. [#20046](prometheus/prometheus#20046)
- \[BUGFIX] Scrape: Ensure UTF-8 works with the experimental OpenMetrics 2.0 [#19902](prometheus/prometheus#19902)
- \[BUGFIX] Scrape: Reject sum-only classic histograms during NHCB conversion [#19315](prometheus/prometheus#19315)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

externalURL should not default to http when prometheus is configured to listen on TLS

2 participants