Prometheus: 3.11.0 / 2026-04-02
Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-19.
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.
💻 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.