Prometheus v3.11.0stable Released Apr 02, 2026
Impact Score: 7/10

Prometheus: 3.11.0 / 2026-04-02

Source available - automated, not human-reviewed

Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-19.

Automated impact estimate - compatibility not verified
📄 .MD
⚡ Executive Summary (TL;DR)

Prometheus v3.11.0 adds AWS Elasticache and RDS service discovery roles, Azure Workload Identity support, PromQL native histogram trimming operators (`</` and `>/`), percentage-based TSDB retention, and experimental `st-storage` and `xor2-encoding` TSDB flags. It also resolves critical Agent and TSDB memory leaks, a `storage.tsdb.retention.time` unit mismatch, and OTLP PRW v2 retry loops while deprecating several Hetzner SD metadata labels.

Who Does This Impact? (Role-Based Analysis)

💻 Software Engineers & Devs

Engineers working with PromQL and OTLP gain `</` and `>/` histogram trimming operators, the experimental `histogram_quantiles` function, and a fix returning HTTP 400 instead of 500 for `ErrTooOldSample` in PRW v2 histogram write paths.

📊 Product & Engineering Leads

Monitoring capabilities expand with AWS Elasticache and RDS discovery, Kubernetes pod controller metadata labels, UI autocomplete for experimental `first_over_time` functions, and experimental start-timestamp storage.

⚙️ DevOps & Security

Operators gain `storage.tsdb.retention.percentage`, Azure Workload Identity authentication, fixes for Agent/TSDB memory leaks and retention time unit bugs, and a migration timeline for deprecated Hetzner SD labels.

✨ New Features & Capabilities (6)

  • AWS SD: Added Elasticache Role (#18099) and RDS Role (#18206).
  • Azure SD: Added support for Azure Workload Identity authentication (#17207).
  • Discovery: Introduced `prometheus_sd_last_update_timestamp_seconds` metric to track when service discovery updates are sent to consumers (#18194).
  • Kubernetes SD: Added node role selectors for pod roles (#18006) and pod labels `__meta_kubernetes_pod_deployment_name`, `__meta_kubernetes_pod_cronjob_name`, and `__meta_kubernetes_pod_job_name` (#17774).
  • PromQL: Added `</` and `>/` operators for trimming native histogram observations (#17904) and the experimental variadic `histogram_quantiles` function (#17285).
  • TSDB: Added `storage.tsdb.retention.percentage` configuration (#18080) along with experimental `st-storage` and `xor2-encoding` feature flags (#18062).

⚡ Performance & Enhancements (4)

  • Promtool: Redirected debug output to stderr to avoid interfering with stdout-based tool output (#18346).
  • HTTP client & SD: Added AWS `external_id` support for sigv4 (#17916), deduplicated Kubernetes API deprecation warning logs (#17829), and upgraded Vultr SD `govultr` from v2 to v3 (#18347).
  • PromQL & Remote Write performance: Reduced heap allocations in joins (`VectorBinop`)/`And`/`Or`/`Unless` (#17159), partially addressed native histogram aggregation regressions via `KahanAdd` (#18252), and reused internal buffers in Remote Write WAL watching (#18250).
  • TSDB & UI: Optimized `LabelValues` matcher intersection (#18069), removed old temporary checkpoints during checkpoint creation (#17598), added UI autocomplete for `first_over_time` and `ts_of_first_over_time` (#18318), and skipped restacking on hover in stacked series charts (#18230).

🔧 Bug Fixes & Patches (4)

  • TSDB & Agent: Fixed Agent duplicate `SeriesRefs` memory leak (#17538), TSDB buffer pool memory leaks (#17895), `storage.tsdb.retention.time` unit mismatch (#18200), missing mmap of histogram chunks during WAL replay (#18306), CLI flag fallback when retention is removed from config (#18200), and early failure when `use-uncached-io` is set on unsupported environments (#18219).
  • Service Discovery: Fixed AWS EC2 SD ignoring `endpoint` and panicking on nil `ZoneName`/`ZoneId` (#18133), Azure SD system-assigned managed identity when `client_id` is empty (#18323), Consul SD filter parameter on health service endpoint (#17349), and Kubernetes SD duplicate targets from `*DualStack` EndpointSlices (#18192).
  • OTLP, Remote Write & Scrape: Fixed `ErrTooOldSample` returning HTTP 500 instead of 400 in PRW v2 histogram write paths (#18084), mixed exemplars in OTLP histograms (#18056), `prometheus_remote_storage_sent_batch_duration_seconds` timing (#18214), and scrape panic on bare label names without `=` in brace-only metric notation (#18229).
  • Alerting, Rules, PromQL, Tracing & UI: Fixed alert state resetting to pending when increasing `FOR` period (#18244), rule alert state restoration with Go templates (#18375), PromQL skipping histogram buckets during trimming (#18263), missing `traceID` in query logs (#18189), UI tooltip Y-offset drift (#18228), and runtime info retention display on config reload (#18200).

❓ Frequently Asked Questions

Does Prometheus v3.11.0 contain breaking changes?

No immediate breaking changes are explicitly documented. However, several Hetzner SD metadata labels (`__meta_hetzner_datacenter`, `__meta_hetzner_hcloud_datacenter_location`, and `__meta_hetzner_hcloud_datacenter_location_network_zone`) are deprecated-with `__meta_hetzner_datacenter` for `hcloud` stopping after 1 July 2026-and `promtool` now redirects debug output to stderr instead of stdout.

What is the primary highlight of v3.11.0?

The release pairs major service discovery and query additions-AWS Elasticache and RDS roles, Azure Workload Identity, Kubernetes pod controller labels, PromQL `</` and `>/` histogram trimming, and `storage.tsdb.retention.percentage`-with experimental `st-storage` and `xor2-encoding` TSDB flags and key memory leak and retention fixes.

How should teams prepare to upgrade to v3.11.0?

Teams using Hetzner SD should migrate relabeling configurations to the replacement `__meta_hetzner_*` labels ahead of the 1 July 2026 `hcloud` removal, verify automation around `promtool` does not depend on debug output on stdout, and review TSDB configs affected by the `storage.tsdb.retention.time` unit mismatch fix and early `use-uncached-io` environment check.

📄 View Raw Release Notes (Original Developer Log)
- [CHANGE] Hetzner SD: The `__meta_hetzner_datacenter` label is deprecated for the role `robot` but kept for backward compatibility, use the `__meta_hetzner_robot_datacenter` label instead. For the role `hcloud`, the label is deprecated and will stop working after the 1 July 2026. #17850 - [CHANGE] Hetzner SD: The `__meta_hetzner_hcloud_datacenter_location` and `__meta_hetzner_hcloud_datacenter_location_network_zone` labels are deprecated, use the `__meta_hetzner_hcloud_location` and `__meta_hetzner_hcloud_location_network_zone` labels instead. #17850 - [CHANGE] Promtool: Redirect debug output to stderr to avoid interfering with stdout-based tool output. #18346 - [FEATURE] AWS SD: Add Elasticache Role. #18099 - [FEATURE] AWS SD: Add RDS Role. #18206 - [FEATURE] Azure SD: Add support for Azure Workload Identity authentication method. #17207 - [FEATURE] Discovery: Introduce `prometheus_sd_last_update_timestamp_seconds` metric to track the last time a service discovery update was sent to consumers. #18194 - [FEATURE] Kubernetes SD: Add support for node role selectors for pod roles. #18006 - [FEATURE] Kubernetes SD: Introduce pod-based labels for deployment, cronjob, and job controller names: `__meta_kubernetes_pod_deployment_name`, `__meta_kubernetes_pod_cronjob_name` and `__meta_kubernetes_pod_job_name`, respectively. #17774 - [FEATURE] PromQL: Add `</` and `>/` operators for trimming observations from native histograms. #17904 - [FEATURE] PromQL: Add experimental `histogram_quantiles` variadic function for computing multiple quantiles at once. #17285 - [FEATURE] TSDB: Add `storage.tsdb.retention.percentage` configuration to configure the maximum percent of disk usable for TSDB storage. #18080 - [FEATURE] TSDB: Add an experimental `st-storage` feature flag. When enabled, Prometheus stores ingested start timestamps (ST, previously called Created Timestamp) from scrape or OTLP in the TSDB and Agent WAL, and exposes them via Remote Write 2. #18062 - [FEATURE] TSDB: Add an experimental `xor2-encoding` feature flag for the new TSDB block float sample chunk encoding that is optimized for scraped data and allows encoding start timestamps. #18062 - [ENHANCEMENT] HTTP client: Add AWS `external_id` support for sigv4. #17916 - [ENHANCEMENT] Kubernetes SD: Deduplicate deprecation warning logs from the Kubernetes API to reduce noise. #17829 - [ENHANCEMENT] TSDB: Remove old temporary checkpoints when creating a Checkpoint. #17598 - [ENHANCEMENT] UI: Add autocomplete support for experimental `first_over_time` and `ts_of_first_over_time` PromQL functions. #18318 - [ENHANCEMENT] Vultr SD: Upgrade govultr library from v2 to v3 for continued security patches and maintenance. #18347 - [PERF] PromQL: Improve performance and reduce heap allocations in joins (VectorBinop)/And/Or/Unless. #17159 - [PERF] PromQL: Partially address performance regression in native histogram aggregations due to using `KahanAdd`. #18252 - [PERF] Remote write: Optimize WAL watching used for RW sending to reuse internal buffers. #18250 - [PERF] TSDB: Optimize LabelValues intersection performance for matchers. #18069 - [PERF] UI: Skip restacking on hover in stacked series charts. #18230 - [BUGFIX] AWS SD: Fix EC2 SD ignoring the configured `endpoint` option, a regression from the AWS SDK v2 migration. #18133 - [BUGFIX] AWS SD: Fix panic in EC2 SD when DescribeAvailabilityZones returns nil ZoneName or ZoneId. #18133 - [BUGFIX] Agent: Fix memory leak caused by duplicate SeriesRefs being loaded as active series. #17538 - [BUGFIX] Alerting: Fix alert state incorrectly resetting to pending when the FOR period is increased in the config file. #18244 - [BUGFIX] Azure SD: Fix system-assigned managed identity not working when `client_id` is empty. #18323 - [BUGFIX] Consul SD: Fix filter parameter not being applied to health service endpoint, causing Node and Node.Meta filters to be ignored. #17349 - [BUGFIX] Kubernetes SD: Fix duplicate targets generated by `*DualStack` EndpointSlices policies. #18192 - [BUGFIX] OTLP: Fix ErrTooOldSample being returned as HTTP 500 instead of 400 in PRW v2 histogram write paths, preventing infinite client retry loops. #18084 - [BUGFIX] OTLP: Fix exemplars getting mixed between incorrect parts of a histogram. #18056 - [BUGFIX] PromQL: Do not skip histogram buckets in queries where histogram trimming is used. #18263 - [BUGFIX] Remote write: Fix `prometheus_remote_storage_sent_batch_duration_seconds` measuring before the request was sent. #18214 - [BUGFIX] Rules: Fix alert state restoration when rule labels contain Go template expressions. #18375 - [BUGFIX] Scrape: Fix panic when parsing bare label names without an equal sign in brace-only metric notation. #18229 - [BUGFIX] TSDB: Fail early when `use-uncached-io` feature flag is set on unsupported environments. #18219 - [BUGFIX] TSDB: Fall back to CLI flag values when retention is removed from config file. #18200 - [BUGFIX] TSDB: Fix memory leaks in buffer pools by clearing reference fields before returning buffers to pools. #17895 - [BUGFIX] TSDB: Fix missing mmap of histogram chunks during WAL replay. #18306 - [BUGFIX] TSDB: Fix storage.tsdb.retention.time unit mismatch in file causing retention to be 1e6 times longer than configured. #18200 - [BUGFIX] Tracing: Fix missing traceID in query log when tracing is enabled, previously only spanID was emitted. #18189 - [BUGFIX] UI: Fix tooltip Y-offset drift when using multiple graph panels. #18228 - [BUGFIX] UI: Update retention display in runtime info when config is reloaded. #18200