It does have CPU info as well, but if you edit that out you have:
// Memory usage
// Chart all computers' used memory over the last hour
| where TimeGenerated > ago(1h)
| where CounterName == "% Used Memory"
| project TimeGenerated, CounterName, CounterValue
| summarize avg(CounterValue) by CounterName, bin(TimeGenerated, 1m)
| render timechart