title: Graphing CPU Usage % on Grafana using influxDB data from Telegraf
body: <p>I have grafana 3.0.4 / influxdb 0.13.0 / telegraf 0.13.1</p>
  
  <p>I am trying to graph overall CPU usage by %.</p>
  
  <p>When I create a query using the idle time, I get exactly that (I'm looking for 100 - idle time) (usage)</p>
  
  <p><a href="https://i.stack.imgur.com/BiPof.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BiPof.png" alt="idleusage"></a></p>
  
  <p>I switched to manual mode and did exactly that:</p>
  
  <p><a href="https://i.stack.imgur.com/YUWYL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YUWYL.png" alt="100-idletime"></a></p>
  
  <p>and it works great.. </p>
  
  <p>But is there a way to use a math function or something in the normal editor versus dropping into the manual text mode?</p>