Performance graph in email

Hi Guys

I have manged to get graphs to show in alerting emails using the example in the Docs " Processor Alert with Graph"

I would like to show the device performance graph instead of “device_processor” I have tried using “device_performance”

Any ideas

Thanks all