{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/717","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/717/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/717/events","html_url":"https://github.com/DataDog/dd-agent/issues/717","id":22020189,"number":717,"title":"[redis] check should poll the slowlog periodically and produce some metrics","user":{"login":"miketheman","id":529516,"avatar_url":"https://avatars.githubusercontent.com/u/529516?v=3","gravatar_id":"","url":"https://api.github.com/users/miketheman","html_url":"https://github.com/miketheman","followers_url":"https://api.github.com/users/miketheman/followers","following_url":"https://api.github.com/users/miketheman/following{/other_user}","gists_url":"https://api.github.com/users/miketheman/gists{/gist_id}","starred_url":"https://api.github.com/users/miketheman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miketheman/subscriptions","organizations_url":"https://api.github.com/users/miketheman/orgs","repos_url":"https://api.github.com/users/miketheman/repos","events_url":"https://api.github.com/users/miketheman/events{/privacy}","received_events_url":"https://api.github.com/users/miketheman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/checks","name":"checks","color":"444444"},{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/feature","name":"feature","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/DataDog/dd-agent/milestones/16","labels_url":"https://api.github.com/repos/DataDog/dd-agent/milestones/16/labels","id":198411,"number":16,"title":"Future","description":"<!---\r\n@huboard:{\"order\":0.0}\r\n-->\r\n","creator":{"login":"alq666","id":19755,"avatar_url":"https://avatars.githubusercontent.com/u/19755?v=3","gravatar_id":"","url":"https://api.github.com/users/alq666","html_url":"https://github.com/alq666","followers_url":"https://api.github.com/users/alq666/followers","following_url":"https://api.github.com/users/alq666/following{/other_user}","gists_url":"https://api.github.com/users/alq666/gists{/gist_id}","starred_url":"https://api.github.com/users/alq666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alq666/subscriptions","organizations_url":"https://api.github.com/users/alq666/orgs","repos_url":"https://api.github.com/users/alq666/repos","events_url":"https://api.github.com/users/alq666/events{/privacy}","received_events_url":"https://api.github.com/users/alq666/received_events","type":"User","site_admin":false},"open_issues":67,"closed_issues":39,"state":"open","created_at":"2012-10-19T19:54:23Z","updated_at":"2015-01-23T16:10:31Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2013-11-03T14:05:31Z","updated_at":"2015-01-29T14:19:31Z","closed_at":null,"body":"It would beneficial to be able to correlate how frequently slow queries are happening, and how long they are taking, so an operator could then inspect the log for debug information.\r\n\r\nShould be relatively easy to implement, as the functionality has been in redis since 2.2.12 (3 years ago).\r\n\r\nRefs: http://redis.io/commands/slowlog\r\nGood article further explaining slowlog: http://garantiadata.com/blog/enhancing-redis-slow-log"},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/72031619","html_url":"https://github.com/DataDog/dd-agent/issues/717#issuecomment-72031619","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/717","id":72031619,"user":{"login":"suprememoocow","id":594566,"avatar_url":"https://avatars.githubusercontent.com/u/594566?v=3","gravatar_id":"","url":"https://api.github.com/users/suprememoocow","html_url":"https://github.com/suprememoocow","followers_url":"https://api.github.com/users/suprememoocow/followers","following_url":"https://api.github.com/users/suprememoocow/following{/other_user}","gists_url":"https://api.github.com/users/suprememoocow/gists{/gist_id}","starred_url":"https://api.github.com/users/suprememoocow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suprememoocow/subscriptions","organizations_url":"https://api.github.com/users/suprememoocow/orgs","repos_url":"https://api.github.com/users/suprememoocow/repos","events_url":"https://api.github.com/users/suprememoocow/events{/privacy}","received_events_url":"https://api.github.com/users/suprememoocow/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T14:19:30Z","updated_at":"2015-01-29T14:19:30Z","body":"In the mean time, I'm using Fluent and the [fluentd-plugin-redis-slowlog](https://github.com/suprememoocow/fluent-plugin-redis-slowlog) (my own fork) and then forwarding the results to datadog via the Fluent statsd client, so I can get Redis slowlog charts in Datadog, like so\r\n\r\n![Slowlog](http://cl.ly/image/1K1I0m2w0t0y/Image%202015-01-29%20at%202.18.57%20pm.png)"}}