{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7","id":31555987,"html_url":"https://github.com/sprockets/sprockets.mixins.statsd/pull/7","diff_url":"https://github.com/sprockets/sprockets.mixins.statsd/pull/7.diff","patch_url":"https://github.com/sprockets/sprockets.mixins.statsd/pull/7.patch","issue_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/7","number":7,"state":"closed","locked":false,"title":"Add hostname to the metric path","user":{"login":"djt5019","id":185736,"avatar_url":"https://avatars.githubusercontent.com/u/185736?v=3","gravatar_id":"","url":"https://api.github.com/users/djt5019","html_url":"https://github.com/djt5019","followers_url":"https://api.github.com/users/djt5019/followers","following_url":"https://api.github.com/users/djt5019/following{/other_user}","gists_url":"https://api.github.com/users/djt5019/gists{/gist_id}","starred_url":"https://api.github.com/users/djt5019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djt5019/subscriptions","organizations_url":"https://api.github.com/users/djt5019/orgs","repos_url":"https://api.github.com/users/djt5019/repos","events_url":"https://api.github.com/users/djt5019/events{/privacy}","received_events_url":"https://api.github.com/users/djt5019/received_events","type":"User","site_admin":false},"body":"This PR adds the name of the host emitting the metric so we can look at metrics from a particular host.  Additionally we won't run into the issue where graphite gets the same metric from many sources and decides to ignore all but the first.  Because that sucks.","created_at":"2015-03-19T19:11:46Z","updated_at":"2015-03-20T12:41:13Z","closed_at":"2015-03-20T12:41:13Z","merged_at":"2015-03-20T12:41:13Z","merge_commit_sha":"8b6722024a7b868cfe6cda85127a73427c81ea92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7/commits","review_comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7/comments","review_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/7/comments","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/statuses/becbf45e81fbb9a5ad0f89a82d0cab48f78c0581","head":{"label":"sprockets:add-hostname","ref":"add-hostname","sha":"becbf45e81fbb9a5ad0f89a82d0cab48f78c0581","user":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"repo":{"id":23445384,"name":"sprockets.mixins.statsd","full_name":"sprockets/sprockets.mixins.statsd","owner":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprockets/sprockets.mixins.statsd","description":"Handler mixin for automated metric reporting to statsd","fork":false,"url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd","forks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/forks","keys_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/teams","hooks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/hooks","issue_events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/events{/number}","events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/events","assignees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/assignees{/user}","branches_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/branches{/branch}","tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/tags","blobs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/statuses/{sha}","languages_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/languages","stargazers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/stargazers","contributors_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/contributors","subscribers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/subscribers","subscription_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/subscription","commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/contents/{+path}","compare_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/merges","archive_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/downloads","issues_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues{/number}","pulls_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls{/number}","milestones_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/milestones{/number}","notifications_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/labels{/name}","releases_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/releases{/id}","created_at":"2014-08-28T22:46:17Z","updated_at":"2014-09-10T14:21:12Z","pushed_at":"2015-03-20T12:41:13Z","git_url":"git://github.com/sprockets/sprockets.mixins.statsd.git","ssh_url":"git@github.com:sprockets/sprockets.mixins.statsd.git","clone_url":"https://github.com/sprockets/sprockets.mixins.statsd.git","svn_url":"https://github.com/sprockets/sprockets.mixins.statsd","homepage":"https://sprocketsmixinsstatsd.readthedocs.org","size":233,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"sprockets:master","ref":"master","sha":"8fa5b5962c4145c36b4aaaa04447bf325142392a","user":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"repo":{"id":23445384,"name":"sprockets.mixins.statsd","full_name":"sprockets/sprockets.mixins.statsd","owner":{"login":"sprockets","id":8236802,"avatar_url":"https://avatars.githubusercontent.com/u/8236802?v=3","gravatar_id":"","url":"https://api.github.com/users/sprockets","html_url":"https://github.com/sprockets","followers_url":"https://api.github.com/users/sprockets/followers","following_url":"https://api.github.com/users/sprockets/following{/other_user}","gists_url":"https://api.github.com/users/sprockets/gists{/gist_id}","starred_url":"https://api.github.com/users/sprockets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprockets/subscriptions","organizations_url":"https://api.github.com/users/sprockets/orgs","repos_url":"https://api.github.com/users/sprockets/repos","events_url":"https://api.github.com/users/sprockets/events{/privacy}","received_events_url":"https://api.github.com/users/sprockets/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sprockets/sprockets.mixins.statsd","description":"Handler mixin for automated metric reporting to statsd","fork":false,"url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd","forks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/forks","keys_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/teams","hooks_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/hooks","issue_events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/events{/number}","events_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/events","assignees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/assignees{/user}","branches_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/branches{/branch}","tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/tags","blobs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/statuses/{sha}","languages_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/languages","stargazers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/stargazers","contributors_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/contributors","subscribers_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/subscribers","subscription_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/subscription","commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/contents/{+path}","compare_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/merges","archive_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/downloads","issues_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues{/number}","pulls_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls{/number}","milestones_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/milestones{/number}","notifications_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/labels{/name}","releases_url":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/releases{/id}","created_at":"2014-08-28T22:46:17Z","updated_at":"2014-09-10T14:21:12Z","pushed_at":"2015-03-20T12:41:13Z","git_url":"git://github.com/sprockets/sprockets.mixins.statsd.git","ssh_url":"git@github.com:sprockets/sprockets.mixins.statsd.git","clone_url":"https://github.com/sprockets/sprockets.mixins.statsd.git","svn_url":"https://github.com/sprockets/sprockets.mixins.statsd","homepage":"https://sprocketsmixinsstatsd.readthedocs.org","size":233,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7"},"html":{"href":"https://github.com/sprockets/sprockets.mixins.statsd/pull/7"},"issue":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/7"},"comments":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/sprockets/sprockets.mixins.statsd/statuses/becbf45e81fbb9a5ad0f89a82d0cab48f78c0581"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chrismcguire","id":1441806,"avatar_url":"https://avatars.githubusercontent.com/u/1441806?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismcguire","html_url":"https://github.com/chrismcguire","followers_url":"https://api.github.com/users/chrismcguire/followers","following_url":"https://api.github.com/users/chrismcguire/following{/other_user}","gists_url":"https://api.github.com/users/chrismcguire/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismcguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismcguire/subscriptions","organizations_url":"https://api.github.com/users/chrismcguire/orgs","repos_url":"https://api.github.com/users/chrismcguire/repos","events_url":"https://api.github.com/users/chrismcguire/events{/privacy}","received_events_url":"https://api.github.com/users/chrismcguire/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":37,"deletions":19,"changed_files":3}}