Prometheus 2.7.0 is now out, following on from 2.6.0 last month with many fixes and improvements.

First off Docker file changes made in 2.6.0 were reverted back to the settings in 2.5.0, as it had unexpected impact. If you've updated your setup for the 2.6.0 changes, you may want to revert with 2.7.0.

The TSDB has added experimental size-based retention for the blocks, time-based retention still also applies. I've also made performance improvements to certain selectors, and while not technically a Prometheus change, tsdbutil now has an analyze subcommand to help figure out what's taking up space and churning.

PromQL has added subquery support, so for ad-hoc queries you no longer need to follow composing range vector functions in PromQL. There is now a rule_group_rules_loaded metric in addition to the other per-rule group metrics.

For service discovery, Azure can now do Managed Identity authentication, and also gained tenant and subscription ID metadata. OpenStack now supports application credentials. Consul added service tagged addresses as metadata, and Consul gained service tagged addresses metadata.

On the API/UI front, it's now possible to control what CORS origins are allowed.

There’s also a number of improvements, bug fixes and other changes, see the release notes for more detail.

Wondering how to upgrade? Contact us.