Prometheus: 3.1.0 / 2025-01-02
Component: prometheus · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-25.
Prometheus v3.1.0 introduces significant performance optimizations for TSDB and PromQL, alongside critical security updates and breaking API schema adjustments. Users must update integrations consuming the rules API due to a breaking field name change in the response payload.
💻 Software Engineers & Devs
Engineers integrating with the Prometheus rules API must update parsers to accommodate the renaming of 'groupNextToken' from omitempty to a required field.
📊 Product & Engineering Leads
This release prioritizes system stability and observability depth, enabling better rule evaluation tracking and improved support for native histograms.
⚙️ DevOps & Security
Upgrading to v3.1.0 addresses a critical security vulnerability (CVE-2024-45337) and provides substantial performance improvements in storage compaction and metric querying.
✨ New Features & Capabilities (3)
- New metric rule_group_last_rule_duration_sum_seconds for monitoring rule execution performance
- Export of go_sync_mutex_wait_total_seconds_total metric for enhanced observability
- DNS resolver option for remote-write to support random IP selection
⚡ Performance & Enhancements (4)
- Significant TSDB performance optimizations including reduced memory allocations and improved symbol caching
- Paginated rule groups with infinite scroll in the UI
- Optimized PromQL regex matching and string manipulation
- Improved calculation of space used by labels
🔧 Bug Fixes & Patches (4)
- Fixed data corruption issues in experimental native histograms
- Resolved various PromQL bugs concerning histogram aggregations and quoting
- Fixed potential segfault at exit and nil panics in scrape loop
- Addressed CVE-2024-45337 via golang.org/x/crypto upgrade
❓ Frequently Asked Questions
Does Prometheus v3.1.0 contain breaking changes?
Yes. The rules API field 'groupNextToken' has been renamed, which is a breaking change for external clients expecting the previous schema.
What is the primary highlight of v3.1.0?
The release is heavily focused on stability and performance, delivering broad optimizations to TSDB efficiency, PromQL histogram handling, and a critical security patch.
How should teams prepare to upgrade to v3.1.0?
Teams should audit custom API clients for dependencies on the rules endpoint, review current memory usage metrics, and ensure testing environments validate histogram-based alerts.