i use a query like this:
Code:
SELECT mean("mem")/mean("maxmem") AS used FROM "system" WHERE "object" = 'qemu' OR "object" = 'lxc' AND $timeFilter GROUP BY time($__interval), "host" fill(null)
and alias by : $tag_host
afaics, you cannot do this with the graphical editor in grafana, but you can still enter the query manually