PromLabs | PromQL Cheat Sheet
https://promlabs.com/promql-cheat-sheetWant to learn PromQL from the ground up? Check out our self-paced in-depth PromQL training. Selecting series. Select latest sample for series with a given metric name: node_cpu_seconds_total. Open in PromLens. Select 5-minute range of samples for series with a given metric name:
Querying basics | Prometheus
prometheus.io › docs › prometheusPromQL follows the same escaping rules as Go. In single or double quotes a backslash begins an escape sequence, which may be followed by a, b, f, n, r, t, v or \. Specific characters can be provided using octal ( nn) or hexadecimal (\xnn, \unnnn and \Unnnnnnnn). No escaping is processed inside backticks.