{"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/comments/41625317","id":41625317,"diff_hunk":"@@ -539,10 +543,12 @@ def handler(req):\n             return '{}'\n \n         graphite = yield self.mk_graphite(handler)\n+        print 1111\n         backend = yield self.mk_backend(\n             graphite_url=graphite.url,\n             username=\"root\",\n             password=\"toor\")\n+        print 222","path":"go_metrics/metrics/tests/test_graphite.py","position":27,"original_position":27,"commit_id":"5b4630c1fc513ab8758fcd611d42dce49914e53d","original_commit_id":"5b4630c1fc513ab8758fcd611d42dce49914e53d","user":{"login":"justinvdm","id":1731223,"avatar_url":"https://avatars.githubusercontent.com/u/1731223?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvdm","html_url":"https://github.com/justinvdm","followers_url":"https://api.github.com/users/justinvdm/followers","following_url":"https://api.github.com/users/justinvdm/following{/other_user}","gists_url":"https://api.github.com/users/justinvdm/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvdm/subscriptions","organizations_url":"https://api.github.com/users/justinvdm/orgs","repos_url":"https://api.github.com/users/justinvdm/repos","events_url":"https://api.github.com/users/justinvdm/events{/privacy}","received_events_url":"https://api.github.com/users/justinvdm/received_events","type":"User","site_admin":false},"body":"Woops, thanks.","created_at":"2015-10-09T12:39:55Z","updated_at":"2015-10-09T12:39:55Z","html_url":"https://github.com/praekelt/go-metrics-api/pull/19#discussion_r41625317","pull_request_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/comments/41625317"},"html":{"href":"https://github.com/praekelt/go-metrics-api/pull/19#discussion_r41625317"},"pull_request":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19","id":47000988,"html_url":"https://github.com/praekelt/go-metrics-api/pull/19","diff_url":"https://github.com/praekelt/go-metrics-api/pull/19.diff","patch_url":"https://github.com/praekelt/go-metrics-api/pull/19.patch","issue_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/19","number":19,"state":"open","locked":false,"title":"Tear down graphite backend's metric worker","user":{"login":"justinvdm","id":1731223,"avatar_url":"https://avatars.githubusercontent.com/u/1731223?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvdm","html_url":"https://github.com/justinvdm","followers_url":"https://api.github.com/users/justinvdm/followers","following_url":"https://api.github.com/users/justinvdm/following{/other_user}","gists_url":"https://api.github.com/users/justinvdm/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvdm/subscriptions","organizations_url":"https://api.github.com/users/justinvdm/orgs","repos_url":"https://api.github.com/users/justinvdm/repos","events_url":"https://api.github.com/users/justinvdm/events{/privacy}","received_events_url":"https://api.github.com/users/justinvdm/received_events","type":"User","site_admin":false},"body":"At the moment, we start the metric worker when we initialise the graphite backend, but do not do any teardown later.","created_at":"2015-10-07T08:50:52Z","updated_at":"2015-10-09T12:39:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8df04c6a30c3f59451496dc5186baf84dbb4f813","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19/commits","review_comments_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19/comments","review_comment_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/19/comments","statuses_url":"https://api.github.com/repos/praekelt/go-metrics-api/statuses/5b4630c1fc513ab8758fcd611d42dce49914e53d","head":{"label":"praekelt:feature/issue-19-tear-down-graphite-backends-metric-worker","ref":"feature/issue-19-tear-down-graphite-backends-metric-worker","sha":"5b4630c1fc513ab8758fcd611d42dce49914e53d","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":24135856,"name":"go-metrics-api","full_name":"praekelt/go-metrics-api","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-metrics-api","description":"An API for querying vumi-go metrics","fork":false,"url":"https://api.github.com/repos/praekelt/go-metrics-api","forks_url":"https://api.github.com/repos/praekelt/go-metrics-api/forks","keys_url":"https://api.github.com/repos/praekelt/go-metrics-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-metrics-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-metrics-api/teams","hooks_url":"https://api.github.com/repos/praekelt/go-metrics-api/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-metrics-api/events","assignees_url":"https://api.github.com/repos/praekelt/go-metrics-api/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-metrics-api/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-metrics-api/tags","blobs_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-metrics-api/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-metrics-api/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-metrics-api/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-metrics-api/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-metrics-api/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-metrics-api/subscription","commits_url":"https://api.github.com/repos/praekelt/go-metrics-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-metrics-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/go-metrics-api/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-metrics-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-metrics-api/merges","archive_url":"https://api.github.com/repos/praekelt/go-metrics-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-metrics-api/downloads","issues_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-metrics-api/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-metrics-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-metrics-api/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-metrics-api/releases{/id}","created_at":"2014-09-17T08:12:03Z","updated_at":"2015-03-26T12:35:35Z","pushed_at":"2015-10-09T09:51:50Z","git_url":"git://github.com/praekelt/go-metrics-api.git","ssh_url":"git@github.com:praekelt/go-metrics-api.git","clone_url":"https://github.com/praekelt/go-metrics-api.git","svn_url":"https://github.com/praekelt/go-metrics-api","homepage":null,"size":648,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:develop","ref":"develop","sha":"b19e5b16c806d6b41970bb3c7157ebd8a4462408","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":24135856,"name":"go-metrics-api","full_name":"praekelt/go-metrics-api","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/go-metrics-api","description":"An API for querying vumi-go metrics","fork":false,"url":"https://api.github.com/repos/praekelt/go-metrics-api","forks_url":"https://api.github.com/repos/praekelt/go-metrics-api/forks","keys_url":"https://api.github.com/repos/praekelt/go-metrics-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/go-metrics-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/go-metrics-api/teams","hooks_url":"https://api.github.com/repos/praekelt/go-metrics-api/hooks","issue_events_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/go-metrics-api/events","assignees_url":"https://api.github.com/repos/praekelt/go-metrics-api/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/go-metrics-api/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/go-metrics-api/tags","blobs_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/go-metrics-api/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/go-metrics-api/languages","stargazers_url":"https://api.github.com/repos/praekelt/go-metrics-api/stargazers","contributors_url":"https://api.github.com/repos/praekelt/go-metrics-api/contributors","subscribers_url":"https://api.github.com/repos/praekelt/go-metrics-api/subscribers","subscription_url":"https://api.github.com/repos/praekelt/go-metrics-api/subscription","commits_url":"https://api.github.com/repos/praekelt/go-metrics-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/go-metrics-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/go-metrics-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/go-metrics-api/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/go-metrics-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/go-metrics-api/merges","archive_url":"https://api.github.com/repos/praekelt/go-metrics-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/go-metrics-api/downloads","issues_url":"https://api.github.com/repos/praekelt/go-metrics-api/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/go-metrics-api/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/go-metrics-api/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/go-metrics-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/go-metrics-api/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/go-metrics-api/releases{/id}","created_at":"2014-09-17T08:12:03Z","updated_at":"2015-03-26T12:35:35Z","pushed_at":"2015-10-09T09:51:50Z","git_url":"git://github.com/praekelt/go-metrics-api.git","ssh_url":"git@github.com:praekelt/go-metrics-api.git","clone_url":"https://github.com/praekelt/go-metrics-api.git","svn_url":"https://github.com/praekelt/go-metrics-api","homepage":null,"size":648,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19"},"html":{"href":"https://github.com/praekelt/go-metrics-api/pull/19"},"issue":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/issues/19"},"comments":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/go-metrics-api/statuses/5b4630c1fc513ab8758fcd611d42dce49914e53d"}}}}