Kapacitor CPU and Memory Performance

Is there a way to measure how CPU and MEMORY of a Task/Tickscript?
Can i get more data or graph the output of:

kapacitor show TaskID