Prometheus v2.11 Released
Blog post from Grafana Labs
Prometheus v2.11, released on July 9, introduces several enhancements and features, including the compression of WAL records using Snappy to significantly reduce their size, improved query performance, and the option to use Alertmanager API v2. This version enhances Kubernetes service discovery by adding support for initContainers, which can provide valuable troubleshooting information and help detect issues. Metric naming was updated, with prometheus_tsdb_wal_reader_corruption_errors renamed to prometheus_tsdb_wal_reader_corruption_errors_total, and a new metric, prometheus_http_requests_total, introduced to track HTTP requests to the Prometheus API. Performance improvements include reduced allocations in PromQL aggregations, optimized remote-write allocations, and enhanced query speed through the use of regexp matchers for set lookups. Additionally, a bug fix for unsafe snapshots was implemented through a collaborative effort, providing more robust snapshot functionality.