{"action":"created","issue":{"url":"https://api.github.com/repos/google/cadvisor/issues/499","labels_url":"https://api.github.com/repos/google/cadvisor/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/google/cadvisor/issues/499/comments","events_url":"https://api.github.com/repos/google/cadvisor/issues/499/events","html_url":"https://github.com/google/cadvisor/issues/499","id":57091596,"number":499,"title":"InfluxDB - Derivative of cpu_cumulative_usage yields unrealistic values","user":{"login":"cboggs","id":3492944,"avatar_url":"https://avatars.githubusercontent.com/u/3492944?v=3","gravatar_id":"","url":"https://api.github.com/users/cboggs","html_url":"https://github.com/cboggs","followers_url":"https://api.github.com/users/cboggs/followers","following_url":"https://api.github.com/users/cboggs/following{/other_user}","gists_url":"https://api.github.com/users/cboggs/gists{/gist_id}","starred_url":"https://api.github.com/users/cboggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboggs/subscriptions","organizations_url":"https://api.github.com/users/cboggs/orgs","repos_url":"https://api.github.com/users/cboggs/repos","events_url":"https://api.github.com/users/cboggs/events{/privacy}","received_events_url":"https://api.github.com/users/cboggs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-02-09T21:21:11Z","updated_at":"2015-05-13T15:50:34Z","closed_at":null,"body":"I think I have a decent grasp on how best to get CPU % utilized per container (see attached Grafana pic), but the numbers returned are pretty crazy. The math is right, best I can tell, but I'm curious as to why the data coming into InfluxDB is so vastly different than what is displayed in the cAdvisor UI (see attached InfluxDB pic). Maybe I've just missed something simple...?\r\n\r\n\r\n![screen shot 2015-02-09 at 14 20 21](https://cloud.githubusercontent.com/assets/3492944/6115992/d07111dc-b066-11e4-9008-0c6c6929d79b.png)\r\n![screen shot 2015-02-09 at 14 18 50](https://cloud.githubusercontent.com/assets/3492944/6115995/d2edd396-b066-11e4-98c7-14a2fa5d3742.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/cadvisor/issues/comments/101722243","html_url":"https://github.com/google/cadvisor/issues/499#issuecomment-101722243","issue_url":"https://api.github.com/repos/google/cadvisor/issues/499","id":101722243,"user":{"login":"mboussaa","id":5878565,"avatar_url":"https://avatars.githubusercontent.com/u/5878565?v=3","gravatar_id":"","url":"https://api.github.com/users/mboussaa","html_url":"https://github.com/mboussaa","followers_url":"https://api.github.com/users/mboussaa/followers","following_url":"https://api.github.com/users/mboussaa/following{/other_user}","gists_url":"https://api.github.com/users/mboussaa/gists{/gist_id}","starred_url":"https://api.github.com/users/mboussaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboussaa/subscriptions","organizations_url":"https://api.github.com/users/mboussaa/orgs","repos_url":"https://api.github.com/users/mboussaa/repos","events_url":"https://api.github.com/users/mboussaa/events{/privacy}","received_events_url":"https://api.github.com/users/mboussaa/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T15:50:34Z","updated_at":"2015-05-13T15:50:34Z","body":"In that case, \"select mean(memory_usage) from stats where container_name='foo' group by time(2s)\" \r\nis it correct ? "}}