{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/lookout/statsd/pulls/12","id":70064061,"html_url":"https://github.com/lookout/statsd/pull/12","diff_url":"https://github.com/lookout/statsd/pull/12.diff","patch_url":"https://github.com/lookout/statsd/pull/12.patch","issue_url":"https://api.github.com/repos/lookout/statsd/issues/12","number":12,"state":"closed","locked":false,"title":"Implement batching for statsd","user":{"login":"relwell","id":232917,"avatar_url":"https://avatars.githubusercontent.com/u/232917?v=3","gravatar_id":"","url":"https://api.github.com/users/relwell","html_url":"https://github.com/relwell","followers_url":"https://api.github.com/users/relwell/followers","following_url":"https://api.github.com/users/relwell/following{/other_user}","gists_url":"https://api.github.com/users/relwell/gists{/gist_id}","starred_url":"https://api.github.com/users/relwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relwell/subscriptions","organizations_url":"https://api.github.com/users/relwell/orgs","repos_url":"https://api.github.com/users/relwell/repos","events_url":"https://api.github.com/users/relwell/events{/privacy}","received_events_url":"https://api.github.com/users/relwell/received_events","type":"User","site_admin":false},"body":"Batching is a missing functionality that most standard Ruby Statsd clients presently have.\r\n\r\nThis was implemented with inspiration from https://github.com/reinh/statsd/blob/master/lib/statsd.rb. \r\n\r\nWe need this if we want to, for instance, implement historical metrics in Sidekiq Enterprise for an application that engages Statsd/Graphite using the lookout-rack-utils toolchain.","created_at":"2016-05-13T21:56:54Z","updated_at":"2016-05-13T22:07:12Z","closed_at":"2016-05-13T22:07:12Z","merged_at":"2016-05-13T22:07:12Z","merge_commit_sha":"64d0499fe4a10146bd4c3733c5f94a81e1b0313d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lookout/statsd/pulls/12/commits","review_comments_url":"https://api.github.com/repos/lookout/statsd/pulls/12/comments","review_comment_url":"https://api.github.com/repos/lookout/statsd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lookout/statsd/issues/12/comments","statuses_url":"https://api.github.com/repos/lookout/statsd/statuses/00064b543bef5fe5bcdcf29a5b5b75a4c722938a","head":{"label":"relwell:batching","ref":"batching","sha":"00064b543bef5fe5bcdcf29a5b5b75a4c722938a","user":{"login":"relwell","id":232917,"avatar_url":"https://avatars.githubusercontent.com/u/232917?v=3","gravatar_id":"","url":"https://api.github.com/users/relwell","html_url":"https://github.com/relwell","followers_url":"https://api.github.com/users/relwell/followers","following_url":"https://api.github.com/users/relwell/following{/other_user}","gists_url":"https://api.github.com/users/relwell/gists{/gist_id}","starred_url":"https://api.github.com/users/relwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relwell/subscriptions","organizations_url":"https://api.github.com/users/relwell/orgs","repos_url":"https://api.github.com/users/relwell/repos","events_url":"https://api.github.com/users/relwell/events{/privacy}","received_events_url":"https://api.github.com/users/relwell/received_events","type":"User","site_admin":false},"repo":{"id":58774706,"name":"statsd","full_name":"relwell/statsd","owner":{"login":"relwell","id":232917,"avatar_url":"https://avatars.githubusercontent.com/u/232917?v=3","gravatar_id":"","url":"https://api.github.com/users/relwell","html_url":"https://github.com/relwell","followers_url":"https://api.github.com/users/relwell/followers","following_url":"https://api.github.com/users/relwell/following{/other_user}","gists_url":"https://api.github.com/users/relwell/gists{/gist_id}","starred_url":"https://api.github.com/users/relwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/relwell/subscriptions","organizations_url":"https://api.github.com/users/relwell/orgs","repos_url":"https://api.github.com/users/relwell/repos","events_url":"https://api.github.com/users/relwell/events{/privacy}","received_events_url":"https://api.github.com/users/relwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/relwell/statsd","description":"Ruby statsd","fork":true,"url":"https://api.github.com/repos/relwell/statsd","forks_url":"https://api.github.com/repos/relwell/statsd/forks","keys_url":"https://api.github.com/repos/relwell/statsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/relwell/statsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/relwell/statsd/teams","hooks_url":"https://api.github.com/repos/relwell/statsd/hooks","issue_events_url":"https://api.github.com/repos/relwell/statsd/issues/events{/number}","events_url":"https://api.github.com/repos/relwell/statsd/events","assignees_url":"https://api.github.com/repos/relwell/statsd/assignees{/user}","branches_url":"https://api.github.com/repos/relwell/statsd/branches{/branch}","tags_url":"https://api.github.com/repos/relwell/statsd/tags","blobs_url":"https://api.github.com/repos/relwell/statsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/relwell/statsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/relwell/statsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/relwell/statsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/relwell/statsd/statuses/{sha}","languages_url":"https://api.github.com/repos/relwell/statsd/languages","stargazers_url":"https://api.github.com/repos/relwell/statsd/stargazers","contributors_url":"https://api.github.com/repos/relwell/statsd/contributors","subscribers_url":"https://api.github.com/repos/relwell/statsd/subscribers","subscription_url":"https://api.github.com/repos/relwell/statsd/subscription","commits_url":"https://api.github.com/repos/relwell/statsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/relwell/statsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/relwell/statsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/relwell/statsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/relwell/statsd/contents/{+path}","compare_url":"https://api.github.com/repos/relwell/statsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/relwell/statsd/merges","archive_url":"https://api.github.com/repos/relwell/statsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/relwell/statsd/downloads","issues_url":"https://api.github.com/repos/relwell/statsd/issues{/number}","pulls_url":"https://api.github.com/repos/relwell/statsd/pulls{/number}","milestones_url":"https://api.github.com/repos/relwell/statsd/milestones{/number}","notifications_url":"https://api.github.com/repos/relwell/statsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/relwell/statsd/labels{/name}","releases_url":"https://api.github.com/repos/relwell/statsd/releases{/id}","deployments_url":"https://api.github.com/repos/relwell/statsd/deployments","created_at":"2016-05-13T21:55:03Z","updated_at":"2016-05-13T21:55:04Z","pushed_at":"2016-05-13T21:58:54Z","git_url":"git://github.com/relwell/statsd.git","ssh_url":"git@github.com:relwell/statsd.git","clone_url":"https://github.com/relwell/statsd.git","svn_url":"https://github.com/relwell/statsd","homepage":"","size":78,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"lookout:master","ref":"master","sha":"37baedd6c596af9183ecbf33ce429a81f60f314d","user":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"repo":{"id":3251353,"name":"statsd","full_name":"lookout/statsd","owner":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lookout/statsd","description":"Ruby statsd","fork":true,"url":"https://api.github.com/repos/lookout/statsd","forks_url":"https://api.github.com/repos/lookout/statsd/forks","keys_url":"https://api.github.com/repos/lookout/statsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lookout/statsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lookout/statsd/teams","hooks_url":"https://api.github.com/repos/lookout/statsd/hooks","issue_events_url":"https://api.github.com/repos/lookout/statsd/issues/events{/number}","events_url":"https://api.github.com/repos/lookout/statsd/events","assignees_url":"https://api.github.com/repos/lookout/statsd/assignees{/user}","branches_url":"https://api.github.com/repos/lookout/statsd/branches{/branch}","tags_url":"https://api.github.com/repos/lookout/statsd/tags","blobs_url":"https://api.github.com/repos/lookout/statsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lookout/statsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lookout/statsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/lookout/statsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lookout/statsd/statuses/{sha}","languages_url":"https://api.github.com/repos/lookout/statsd/languages","stargazers_url":"https://api.github.com/repos/lookout/statsd/stargazers","contributors_url":"https://api.github.com/repos/lookout/statsd/contributors","subscribers_url":"https://api.github.com/repos/lookout/statsd/subscribers","subscription_url":"https://api.github.com/repos/lookout/statsd/subscription","commits_url":"https://api.github.com/repos/lookout/statsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/lookout/statsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/lookout/statsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/lookout/statsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/lookout/statsd/contents/{+path}","compare_url":"https://api.github.com/repos/lookout/statsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lookout/statsd/merges","archive_url":"https://api.github.com/repos/lookout/statsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lookout/statsd/downloads","issues_url":"https://api.github.com/repos/lookout/statsd/issues{/number}","pulls_url":"https://api.github.com/repos/lookout/statsd/pulls{/number}","milestones_url":"https://api.github.com/repos/lookout/statsd/milestones{/number}","notifications_url":"https://api.github.com/repos/lookout/statsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lookout/statsd/labels{/name}","releases_url":"https://api.github.com/repos/lookout/statsd/releases{/id}","deployments_url":"https://api.github.com/repos/lookout/statsd/deployments","created_at":"2012-01-23T23:03:25Z","updated_at":"2015-03-08T04:23:05Z","pushed_at":"2016-05-13T22:07:12Z","git_url":"git://github.com/lookout/statsd.git","ssh_url":"git@github.com:lookout/statsd.git","clone_url":"https://github.com/lookout/statsd.git","svn_url":"https://github.com/lookout/statsd","homepage":"","size":76,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lookout/statsd/pulls/12"},"html":{"href":"https://github.com/lookout/statsd/pull/12"},"issue":{"href":"https://api.github.com/repos/lookout/statsd/issues/12"},"comments":{"href":"https://api.github.com/repos/lookout/statsd/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/lookout/statsd/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/lookout/statsd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lookout/statsd/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/lookout/statsd/statuses/00064b543bef5fe5bcdcf29a5b5b75a4c722938a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ismith","id":172694,"avatar_url":"https://avatars.githubusercontent.com/u/172694?v=3","gravatar_id":"","url":"https://api.github.com/users/ismith","html_url":"https://github.com/ismith","followers_url":"https://api.github.com/users/ismith/followers","following_url":"https://api.github.com/users/ismith/following{/other_user}","gists_url":"https://api.github.com/users/ismith/gists{/gist_id}","starred_url":"https://api.github.com/users/ismith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismith/subscriptions","organizations_url":"https://api.github.com/users/ismith/orgs","repos_url":"https://api.github.com/users/ismith/repos","events_url":"https://api.github.com/users/ismith/events{/privacy}","received_events_url":"https://api.github.com/users/ismith/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":107,"deletions":3,"changed_files":3}}