InfluxDB / Grafana metric for QEMU CPU is missing after v9

dfiorenza

New Member
Sep 24, 2024
4
2
3
Was hoping someone could point me to a new metric for the QEMU CPU metric that no longer seems to be available after moving to v9.
Had a dashboard that pulled in VM metrics and it no longer works. Snippet of code is below

Code:
 |> filter(fn: (r) =>
    r.object == "qemu" and
    r._field == "cpu"
    and r.nodename == "${node}"
  )
 
I put my stats into VictoriaMetrics and this works to get a guest's CPU%. Maybe it still helps
Bash:
system_cpu{nodename="nodenamehere", host="guesthere"}