Getting started with PromQL can be challenging when you first arrive in the fascinating world of Prometheus; here’s a PromQL cheatsheet with interesting tips. Since Prometheus stores data in a time-series data model, queries in a Prometheus server are radically different from good old SQL.
Understanding how data is managed in Prometheus is key to learning how to write good, performant PromQL queries.