{"id":269212,"date":"2023-07-31T13:01:23","date_gmt":"2023-07-31T18:01:23","guid":{"rendered":"https:\/\/www.webscale.com\/?p=269190"},"modified":"2023-12-29T15:30:58","modified_gmt":"2023-12-29T20:30:58","slug":"prometheus-querying","status":"publish","type":"post","link":"https:\/\/www.webscale.com\/blog\/prometheus-querying\/","title":{"rendered":"Prometheus Querying – Breaking Down PromQL"},"content":{"rendered":"

Prometheus has its own language specifically dedicated to queries called\u00a0PromQL<\/a>. It is a powerful functional expression language, which lets you filter with Prometheus\u2019 multi-dimensional time-series labels. The result of each expression can be shown either as a graph, viewed as tabular data within Prometheus\u2019 own expression browser, or consumed via external systems via the\u00a0HTTP API<\/a>.<\/p>\n

PromQL can be a difficult language to understand, particularly if you are faced with an empty input field and are having to come up with the formation of queries on your own. This article is a primer dedicated to the basics of how to run Prometheus queries.<\/p>\n

You will need only three tools:<\/p>\n