{"action":"created","comment":{"url":"https://api.github.com/repos/collectd/collectd/pulls/comments/140216696","pull_request_review_id":64255075,"id":140216696,"diff_hunk":"@@ -441,6 +441,8 @@ static int redis_read(void) /* {{{ */\n                       DS_TYPE_GAUGE);\n     redis_handle_info(rn->name, rr->str, \"memory_lua\", NULL, \"used_memory_lua\",\n                       DS_TYPE_GAUGE);\n+    redis_handle_info(rn->name, rr->str, \"memory_fragmentation_ratio\", NULL,","path":"src/redis.c","position":4,"original_position":4,"commit_id":"63860184c80e18a03877348649f1958b63ed13d6","original_commit_id":"63860184c80e18a03877348649f1958b63ed13d6","user":{"login":"octo","id":116087,"avatar_url":"https://avatars0.githubusercontent.com/u/116087?v=4","gravatar_id":"","url":"https://api.github.com/users/octo","html_url":"https://github.com/octo","followers_url":"https://api.github.com/users/octo/followers","following_url":"https://api.github.com/users/octo/following{/other_user}","gists_url":"https://api.github.com/users/octo/gists{/gist_id}","starred_url":"https://api.github.com/users/octo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octo/subscriptions","organizations_url":"https://api.github.com/users/octo/orgs","repos_url":"https://api.github.com/users/octo/repos","events_url":"https://api.github.com/users/octo/events{/privacy}","received_events_url":"https://api.github.com/users/octo/received_events","type":"User","site_admin":false},"body":"Thank you!","created_at":"2017-09-21T11:36:15Z","updated_at":"2017-09-21T11:36:15Z","html_url":"https://github.com/collectd/collectd/pull/2425#discussion_r140216696","pull_request_url":"https://api.github.com/repos/collectd/collectd/pulls/2425","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments/140216696"},"html":{"href":"https://github.com/collectd/collectd/pull/2425#discussion_r140216696"},"pull_request":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2425"}},"in_reply_to_id":140052209},"pull_request":{"url":"https://api.github.com/repos/collectd/collectd/pulls/2425","id":140067881,"html_url":"https://github.com/collectd/collectd/pull/2425","diff_url":"https://github.com/collectd/collectd/pull/2425.diff","patch_url":"https://github.com/collectd/collectd/pull/2425.patch","issue_url":"https://api.github.com/repos/collectd/collectd/issues/2425","number":2425,"state":"open","locked":false,"title":"Add Redis `mem_fragmentation_ratio` metric","user":{"login":"vbatoufflet","id":598433,"avatar_url":"https://avatars0.githubusercontent.com/u/598433?v=4","gravatar_id":"","url":"https://api.github.com/users/vbatoufflet","html_url":"https://github.com/vbatoufflet","followers_url":"https://api.github.com/users/vbatoufflet/followers","following_url":"https://api.github.com/users/vbatoufflet/following{/other_user}","gists_url":"https://api.github.com/users/vbatoufflet/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatoufflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatoufflet/subscriptions","organizations_url":"https://api.github.com/users/vbatoufflet/orgs","repos_url":"https://api.github.com/users/vbatoufflet/repos","events_url":"https://api.github.com/users/vbatoufflet/events{/privacy}","received_events_url":"https://api.github.com/users/vbatoufflet/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nThis PR adds support for `mem_fragmentation_ratio` metric in the Redis plugin.\r\n\r\nLet me know if this change suits to you.\r\n\r\nRegards,\r\nVincent","created_at":"2017-09-08T15:43:22Z","updated_at":"2017-09-21T11:36:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a569d70cc17e52cdafb9d5a5b5abc1efa3d650b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/collectd/collectd/pulls/2425/commits","review_comments_url":"https://api.github.com/repos/collectd/collectd/pulls/2425/comments","review_comment_url":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collectd/collectd/issues/2425/comments","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/63860184c80e18a03877348649f1958b63ed13d6","head":{"label":"vbatoufflet:redis-mem_fragmentation_ratio","ref":"redis-mem_fragmentation_ratio","sha":"63860184c80e18a03877348649f1958b63ed13d6","user":{"login":"vbatoufflet","id":598433,"avatar_url":"https://avatars0.githubusercontent.com/u/598433?v=4","gravatar_id":"","url":"https://api.github.com/users/vbatoufflet","html_url":"https://github.com/vbatoufflet","followers_url":"https://api.github.com/users/vbatoufflet/followers","following_url":"https://api.github.com/users/vbatoufflet/following{/other_user}","gists_url":"https://api.github.com/users/vbatoufflet/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatoufflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatoufflet/subscriptions","organizations_url":"https://api.github.com/users/vbatoufflet/orgs","repos_url":"https://api.github.com/users/vbatoufflet/repos","events_url":"https://api.github.com/users/vbatoufflet/events{/privacy}","received_events_url":"https://api.github.com/users/vbatoufflet/received_events","type":"User","site_admin":false},"repo":{"id":102877242,"name":"collectd","full_name":"vbatoufflet/collectd","owner":{"login":"vbatoufflet","id":598433,"avatar_url":"https://avatars0.githubusercontent.com/u/598433?v=4","gravatar_id":"","url":"https://api.github.com/users/vbatoufflet","html_url":"https://github.com/vbatoufflet","followers_url":"https://api.github.com/users/vbatoufflet/followers","following_url":"https://api.github.com/users/vbatoufflet/following{/other_user}","gists_url":"https://api.github.com/users/vbatoufflet/gists{/gist_id}","starred_url":"https://api.github.com/users/vbatoufflet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbatoufflet/subscriptions","organizations_url":"https://api.github.com/users/vbatoufflet/orgs","repos_url":"https://api.github.com/users/vbatoufflet/repos","events_url":"https://api.github.com/users/vbatoufflet/events{/privacy}","received_events_url":"https://api.github.com/users/vbatoufflet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vbatoufflet/collectd","description":"The system statistics collection daemon. Please send Pull Requests here!","fork":true,"url":"https://api.github.com/repos/vbatoufflet/collectd","forks_url":"https://api.github.com/repos/vbatoufflet/collectd/forks","keys_url":"https://api.github.com/repos/vbatoufflet/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vbatoufflet/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vbatoufflet/collectd/teams","hooks_url":"https://api.github.com/repos/vbatoufflet/collectd/hooks","issue_events_url":"https://api.github.com/repos/vbatoufflet/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/vbatoufflet/collectd/events","assignees_url":"https://api.github.com/repos/vbatoufflet/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/vbatoufflet/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/vbatoufflet/collectd/tags","blobs_url":"https://api.github.com/repos/vbatoufflet/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vbatoufflet/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vbatoufflet/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/vbatoufflet/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vbatoufflet/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/vbatoufflet/collectd/languages","stargazers_url":"https://api.github.com/repos/vbatoufflet/collectd/stargazers","contributors_url":"https://api.github.com/repos/vbatoufflet/collectd/contributors","subscribers_url":"https://api.github.com/repos/vbatoufflet/collectd/subscribers","subscription_url":"https://api.github.com/repos/vbatoufflet/collectd/subscription","commits_url":"https://api.github.com/repos/vbatoufflet/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/vbatoufflet/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/vbatoufflet/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/vbatoufflet/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/vbatoufflet/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/vbatoufflet/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vbatoufflet/collectd/merges","archive_url":"https://api.github.com/repos/vbatoufflet/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vbatoufflet/collectd/downloads","issues_url":"https://api.github.com/repos/vbatoufflet/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/vbatoufflet/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/vbatoufflet/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/vbatoufflet/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vbatoufflet/collectd/labels{/name}","releases_url":"https://api.github.com/repos/vbatoufflet/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/vbatoufflet/collectd/deployments","created_at":"2017-09-08T15:39:14Z","updated_at":"2017-09-08T15:39:19Z","pushed_at":"2017-09-08T15:41:28Z","git_url":"git://github.com/vbatoufflet/collectd.git","ssh_url":"git@github.com:vbatoufflet/collectd.git","clone_url":"https://github.com/vbatoufflet/collectd.git","svn_url":"https://github.com/vbatoufflet/collectd","homepage":"http://collectd.org/","size":17960,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"collectd:master","ref":"master","sha":"4380983e0a45e2d1c1207dbea95863d1dcc844c6","user":{"login":"collectd","id":1027481,"avatar_url":"https://avatars2.githubusercontent.com/u/1027481?v=4","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"repo":{"id":3208640,"name":"collectd","full_name":"collectd/collectd","owner":{"login":"collectd","id":1027481,"avatar_url":"https://avatars2.githubusercontent.com/u/1027481?v=4","gravatar_id":"","url":"https://api.github.com/users/collectd","html_url":"https://github.com/collectd","followers_url":"https://api.github.com/users/collectd/followers","following_url":"https://api.github.com/users/collectd/following{/other_user}","gists_url":"https://api.github.com/users/collectd/gists{/gist_id}","starred_url":"https://api.github.com/users/collectd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectd/subscriptions","organizations_url":"https://api.github.com/users/collectd/orgs","repos_url":"https://api.github.com/users/collectd/repos","events_url":"https://api.github.com/users/collectd/events{/privacy}","received_events_url":"https://api.github.com/users/collectd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collectd/collectd","description":"The system statistics collection daemon. Please send Pull Requests here!","fork":false,"url":"https://api.github.com/repos/collectd/collectd","forks_url":"https://api.github.com/repos/collectd/collectd/forks","keys_url":"https://api.github.com/repos/collectd/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collectd/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collectd/collectd/teams","hooks_url":"https://api.github.com/repos/collectd/collectd/hooks","issue_events_url":"https://api.github.com/repos/collectd/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/collectd/collectd/events","assignees_url":"https://api.github.com/repos/collectd/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/collectd/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/collectd/collectd/tags","blobs_url":"https://api.github.com/repos/collectd/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collectd/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collectd/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/collectd/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collectd/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/collectd/collectd/languages","stargazers_url":"https://api.github.com/repos/collectd/collectd/stargazers","contributors_url":"https://api.github.com/repos/collectd/collectd/contributors","subscribers_url":"https://api.github.com/repos/collectd/collectd/subscribers","subscription_url":"https://api.github.com/repos/collectd/collectd/subscription","commits_url":"https://api.github.com/repos/collectd/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/collectd/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/collectd/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/collectd/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/collectd/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/collectd/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collectd/collectd/merges","archive_url":"https://api.github.com/repos/collectd/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collectd/collectd/downloads","issues_url":"https://api.github.com/repos/collectd/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/collectd/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/collectd/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/collectd/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collectd/collectd/labels{/name}","releases_url":"https://api.github.com/repos/collectd/collectd/releases{/id}","deployments_url":"https://api.github.com/repos/collectd/collectd/deployments","created_at":"2012-01-18T13:07:51Z","updated_at":"2017-09-20T20:50:20Z","pushed_at":"2017-09-21T10:07:58Z","git_url":"git://github.com/collectd/collectd.git","ssh_url":"git@github.com:collectd/collectd.git","clone_url":"https://github.com/collectd/collectd.git","svn_url":"https://github.com/collectd/collectd","homepage":"http://collectd.org/","size":18036,"stargazers_count":1703,"watchers_count":1703,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":906,"mirror_url":null,"open_issues_count":385,"forks":906,"open_issues":385,"watchers":1703,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2425"},"html":{"href":"https://github.com/collectd/collectd/pull/2425"},"issue":{"href":"https://api.github.com/repos/collectd/collectd/issues/2425"},"comments":{"href":"https://api.github.com/repos/collectd/collectd/issues/2425/comments"},"review_comments":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2425/comments"},"review_comment":{"href":"https://api.github.com/repos/collectd/collectd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collectd/collectd/pulls/2425/commits"},"statuses":{"href":"https://api.github.com/repos/collectd/collectd/statuses/63860184c80e18a03877348649f1958b63ed13d6"}},"author_association":"NONE"}}
{"actor":{"display_login":"octo"}}