{"action":"created","issue":{"url":"https://api.github.com/repos/pyr/cyanite/issues/263","repository_url":"https://api.github.com/repos/pyr/cyanite","labels_url":"https://api.github.com/repos/pyr/cyanite/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/pyr/cyanite/issues/263/comments","events_url":"https://api.github.com/repos/pyr/cyanite/issues/263/events","html_url":"https://github.com/pyr/cyanite/issues/263","id":199643619,"number":263,"title":" Displaying CPU usage with Cyanite defaults to Sum","user":{"login":"leon-sagess","id":25015786,"avatar_url":"https://avatars.githubusercontent.com/u/25015786?v=3","gravatar_id":"","url":"https://api.github.com/users/leon-sagess","html_url":"https://github.com/leon-sagess","followers_url":"https://api.github.com/users/leon-sagess/followers","following_url":"https://api.github.com/users/leon-sagess/following{/other_user}","gists_url":"https://api.github.com/users/leon-sagess/gists{/gist_id}","starred_url":"https://api.github.com/users/leon-sagess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leon-sagess/subscriptions","organizations_url":"https://api.github.com/users/leon-sagess/orgs","repos_url":"https://api.github.com/users/leon-sagess/repos","events_url":"https://api.github.com/users/leon-sagess/events{/privacy}","received_events_url":"https://api.github.com/users/leon-sagess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-09T19:43:56Z","updated_at":"2017-01-10T16:16:41Z","closed_at":null,"body":"I have cyanite setup and I send metrics to it using collectd. From a setup perspective everything seems to work. My collectd config is attached.\r\n\r\nThe data  in cassandra looks like this:\r\n\r\n```\r\n{path: 'collectd-86bc5667-a217-4dd0-ace5-0e7a3c6c6c75_node_com.cpu.1.cpu.idle', \r\nresolution: {precision: 5, period: 3600}} |\r\n1483986635 |\r\n{max: 1.6536e+08, mean: 1.6536e+08, min: 1.6536e+08, sum: 1.6536e+08}\r\n```\r\n[collectd.zip](https://github.com/pyr/cyanite/files/694475/collectd.zip)\r\n\r\nNow, my issue is that any query such as cpu.idle  ends up being ignored by grafana. Instead the query it ends up graphing is on cpu.idle_sum.\r\n\r\nSimilarly, if I create a query on disk.io_time, the graph automatically appends _sum to it and it creates a graph for disk.io_time_sum.\r\n\r\nNow, looking at the data in Cassandra, I realize that the actual cpu value and io_time values are not stored. Any reason why?\r\n\r\nOn the other had, the mean and min values are stored in cassandra. But still if I create a query disk.io_time_mean, then graph still  displays a graph for disk.io_time_sum.\r\n\r\nWhat am I missing? How do I create a graph that shows me the cpu progressing over time?"},"comment":{"url":"https://api.github.com/repos/pyr/cyanite/issues/comments/271619884","html_url":"https://github.com/pyr/cyanite/issues/263#issuecomment-271619884","issue_url":"https://api.github.com/repos/pyr/cyanite/issues/263","id":271619884,"user":{"login":"ifesdjeen","id":12669,"avatar_url":"https://avatars.githubusercontent.com/u/12669?v=3","gravatar_id":"","url":"https://api.github.com/users/ifesdjeen","html_url":"https://github.com/ifesdjeen","followers_url":"https://api.github.com/users/ifesdjeen/followers","following_url":"https://api.github.com/users/ifesdjeen/following{/other_user}","gists_url":"https://api.github.com/users/ifesdjeen/gists{/gist_id}","starred_url":"https://api.github.com/users/ifesdjeen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifesdjeen/subscriptions","organizations_url":"https://api.github.com/users/ifesdjeen/orgs","repos_url":"https://api.github.com/users/ifesdjeen/repos","events_url":"https://api.github.com/users/ifesdjeen/events{/privacy}","received_events_url":"https://api.github.com/users/ifesdjeen/received_events","type":"User","site_admin":false},"created_at":"2017-01-10T16:16:41Z","updated_at":"2017-01-10T16:16:41Z","body":"Oh, this is a bug. Thanks for the screenshot. I'll look into it (unless someone else wants to)"}}
{"actor":{"display_login":"ifesdjeen"}}