Grafana's SQL Expressions feature (available in Grafana 12 as optional, default in Grafana 13) lets you run SQL queries directly against the results of other queries in a panel. This replaces multiple data transformations with a single SQL JOIN, making it easier to combine Prometheus metrics like CPU and RAM into a unified table. You can also add extra columns for data links via the SELECT clause, eliminating the need for most transforms while retaining field overrides for formatting.

2m read timeFrom scottstuff.net
Post cover image
Table of contents
Swapping transforms for a SQL expressionAdding a column for data links

Sort: