Prometheus 2.21.0 is now out, following on from 2.20.0 with many fixes and improvements.

You can now use durations like 1m30s in PromQL, config files, and command line flags. target_limit is a new emergency relief valve, should a scrape config have more targets than this then their scrapes will fail.

There's two new service discoveries, Eureka and Hetzner. Kubernetes SD now supports EndpointSlices, Docker Swarm SD supports tasks&services without published ports, and DNS SD has more metadata for SRV records.

The previously separate tsdb command line tool is now part of promtool, and you can also specify when instant queries are evaluated by promtool.


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.