Let's have a look at all the recent features and changes in the Prometheus server and the community. We will introduce the new features and see how you can integrate them in your workflows to get a better Prometheus experience.
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
What's New in Prometheus and Its Ecosystem
1. What’s new in Prometheus and its ecosystem?
Julien Pivotto
November 15, 2022
O11y
2. Who am I
Julien Pivotto
• Prometheus maintainer
• Open Source
• In the monitoring space for 10+ years
O11y 1
3. Intro
• Let’s dive into ~1 year of news
• We can only scratch the surface
• Many thanks to everyone contributing
• Along with the features, many bugfixes were contributed!
O11y 2
13. Relabeling
• __scrape_interval__ and __scrape_timeout__ labels can be used to
configure the scrape interval and timeout.
• New relabeling actions: uppercase and lowercase.
O11y 10
15. PromQL negative offset
The offset keyword now takes negative values, allowing to look ahead.
up offset -10m
O11y 12
16. PromQL @ modifier
Enables you to select vectors at fixed times, regardless of the current step.
rate(http_requests_total[1m])
and
topk(5, rate(http_requests_total[1h] @ end()))
O11y 13
20. Out of order ingestion
Prometheus can ingest metrics out of order.
O11y 17
21. Long Term Support
Prometheus 2.37 LTS is a version of Prometheus that is maintained for 6+ months.
Regular releases are supported for 6 weeks.
O11y 18
22. Prometheus as a Go library
• Many projects use (part of) the Prometheus code base
• We now mirror the codebase for go developers
• End-user v2.40.0 -> go.mod v0.40.0
O11y 19
23. Plugins system
• Prometheus binary is ~110M.
• Mainly due to service discoveries
• Plugins.yml to reduce binary size
• Disabling all but kubernetes SD gains ~45% disk space (down to 70M)
O11y 20
40. Open Sourced & given to the Prometheus project last week by Julius (Promlabs)
and Chronosphere.
docker run --network=host prom/promlens
• PromQL query builder
• Query explainer
• Metrics explorer
O11y 33