{"action":"created","comment":{"url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/comments/205546599","pull_request_review_id":140839318,"id":205546599,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTU0NjU5OQ==","diff_hunk":"@@ -1,24 +1,59 @@\n package iopipe\n \n import (\n+\t\"fmt\"\n+\t\"net/http\"\n+\t\"net/http/httptest\"\n+\t\"os\"\n \t\"testing\"\n+\n+\t. \"github.com/smartystreets/goconvey/convey\"\n )\n \n type Region struct {\n \tRegion string\n \tURL    string\n }\n \n-func TestReporter_getBaseURL(t *testing.T) {\n+func TestReporter_getCollectorURL(t *testing.T) {","path":"reporter_test.go","position":19,"original_position":19,"commit_id":"c476ba795c0ccc4e81f24ce381754b460bcfeafe","original_commit_id":"c476ba795c0ccc4e81f24ce381754b460bcfeafe","user":{"login":"pselle","id":204372,"node_id":"MDQ6VXNlcjIwNDM3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/204372?v=4","gravatar_id":"","url":"https://api.github.com/users/pselle","html_url":"https://github.com/pselle","followers_url":"https://api.github.com/users/pselle/followers","following_url":"https://api.github.com/users/pselle/following{/other_user}","gists_url":"https://api.github.com/users/pselle/gists{/gist_id}","starred_url":"https://api.github.com/users/pselle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pselle/subscriptions","organizations_url":"https://api.github.com/users/pselle/orgs","repos_url":"https://api.github.com/users/pselle/repos","events_url":"https://api.github.com/users/pselle/events{/privacy}","received_events_url":"https://api.github.com/users/pselle/received_events","type":"User","site_admin":false},"body":"Nice improvements on the tests here","created_at":"2018-07-26T17:50:42Z","updated_at":"2018-07-26T17:52:50Z","html_url":"https://github.com/iopipe/iopipe-go/pull/30#discussion_r205546599","pull_request_url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/comments/205546599"},"html":{"href":"https://github.com/iopipe/iopipe-go/pull/30#discussion_r205546599"},"pull_request":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30","id":200887991,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwODg3OTkx","html_url":"https://github.com/iopipe/iopipe-go/pull/30","diff_url":"https://github.com/iopipe/iopipe-go/pull/30.diff","patch_url":"https://github.com/iopipe/iopipe-go/pull/30.patch","issue_url":"https://api.github.com/repos/iopipe/iopipe-go/issues/30","number":30,"state":"open","locked":false,"title":"Logger Plugin","user":{"login":"kolanos","id":17498,"node_id":"MDQ6VXNlcjE3NDk4","avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false},"body":"Closes #29","created_at":"2018-07-12T04:56:43Z","updated_at":"2018-07-26T17:52:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"adf7d3b64c0a344d10d1b186267b7fa82edbd03a","assignee":{"login":"kolanos","id":17498,"node_id":"MDQ6VXNlcjE3NDk4","avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false},"assignees":[{"login":"kolanos","id":17498,"node_id":"MDQ6VXNlcjE3NDk4","avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"XerTheSquirrel","id":11927855,"node_id":"MDQ6VXNlcjExOTI3ODU1","avatar_url":"https://avatars2.githubusercontent.com/u/11927855?v=4","gravatar_id":"","url":"https://api.github.com/users/XerTheSquirrel","html_url":"https://github.com/XerTheSquirrel","followers_url":"https://api.github.com/users/XerTheSquirrel/followers","following_url":"https://api.github.com/users/XerTheSquirrel/following{/other_user}","gists_url":"https://api.github.com/users/XerTheSquirrel/gists{/gist_id}","starred_url":"https://api.github.com/users/XerTheSquirrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XerTheSquirrel/subscriptions","organizations_url":"https://api.github.com/users/XerTheSquirrel/orgs","repos_url":"https://api.github.com/users/XerTheSquirrel/repos","events_url":"https://api.github.com/users/XerTheSquirrel/events{/privacy}","received_events_url":"https://api.github.com/users/XerTheSquirrel/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30/commits","review_comments_url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30/comments","review_comment_url":"https://api.github.com/repos/iopipe/iopipe-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iopipe/iopipe-go/issues/30/comments","statuses_url":"https://api.github.com/repos/iopipe/iopipe-go/statuses/c476ba795c0ccc4e81f24ce381754b460bcfeafe","head":{"label":"kolanos:issue/29","ref":"issue/29","sha":"c476ba795c0ccc4e81f24ce381754b460bcfeafe","user":{"login":"kolanos","id":17498,"node_id":"MDQ6VXNlcjE3NDk4","avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false},"repo":{"id":132159122,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIxNTkxMjI=","name":"iopipe-go","full_name":"kolanos/iopipe-go","owner":{"login":"kolanos","id":17498,"node_id":"MDQ6VXNlcjE3NDk4","avatar_url":"https://avatars2.githubusercontent.com/u/17498?v=4","gravatar_id":"","url":"https://api.github.com/users/kolanos","html_url":"https://github.com/kolanos","followers_url":"https://api.github.com/users/kolanos/followers","following_url":"https://api.github.com/users/kolanos/following{/other_user}","gists_url":"https://api.github.com/users/kolanos/gists{/gist_id}","starred_url":"https://api.github.com/users/kolanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolanos/subscriptions","organizations_url":"https://api.github.com/users/kolanos/orgs","repos_url":"https://api.github.com/users/kolanos/repos","events_url":"https://api.github.com/users/kolanos/events{/privacy}","received_events_url":"https://api.github.com/users/kolanos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kolanos/iopipe-go","description":"Go agent for AWS Lambda metrics, tracing, profiling & analytics","fork":true,"url":"https://api.github.com/repos/kolanos/iopipe-go","forks_url":"https://api.github.com/repos/kolanos/iopipe-go/forks","keys_url":"https://api.github.com/repos/kolanos/iopipe-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kolanos/iopipe-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kolanos/iopipe-go/teams","hooks_url":"https://api.github.com/repos/kolanos/iopipe-go/hooks","issue_events_url":"https://api.github.com/repos/kolanos/iopipe-go/issues/events{/number}","events_url":"https://api.github.com/repos/kolanos/iopipe-go/events","assignees_url":"https://api.github.com/repos/kolanos/iopipe-go/assignees{/user}","branches_url":"https://api.github.com/repos/kolanos/iopipe-go/branches{/branch}","tags_url":"https://api.github.com/repos/kolanos/iopipe-go/tags","blobs_url":"https://api.github.com/repos/kolanos/iopipe-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kolanos/iopipe-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kolanos/iopipe-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/kolanos/iopipe-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kolanos/iopipe-go/statuses/{sha}","languages_url":"https://api.github.com/repos/kolanos/iopipe-go/languages","stargazers_url":"https://api.github.com/repos/kolanos/iopipe-go/stargazers","contributors_url":"https://api.github.com/repos/kolanos/iopipe-go/contributors","subscribers_url":"https://api.github.com/repos/kolanos/iopipe-go/subscribers","subscription_url":"https://api.github.com/repos/kolanos/iopipe-go/subscription","commits_url":"https://api.github.com/repos/kolanos/iopipe-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/kolanos/iopipe-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/kolanos/iopipe-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/kolanos/iopipe-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/kolanos/iopipe-go/contents/{+path}","compare_url":"https://api.github.com/repos/kolanos/iopipe-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kolanos/iopipe-go/merges","archive_url":"https://api.github.com/repos/kolanos/iopipe-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kolanos/iopipe-go/downloads","issues_url":"https://api.github.com/repos/kolanos/iopipe-go/issues{/number}","pulls_url":"https://api.github.com/repos/kolanos/iopipe-go/pulls{/number}","milestones_url":"https://api.github.com/repos/kolanos/iopipe-go/milestones{/number}","notifications_url":"https://api.github.com/repos/kolanos/iopipe-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kolanos/iopipe-go/labels{/name}","releases_url":"https://api.github.com/repos/kolanos/iopipe-go/releases{/id}","deployments_url":"https://api.github.com/repos/kolanos/iopipe-go/deployments","created_at":"2018-05-04T15:41:44Z","updated_at":"2018-06-18T19:43:02Z","pushed_at":"2018-07-26T05:03:09Z","git_url":"git://github.com/kolanos/iopipe-go.git","ssh_url":"git@github.com:kolanos/iopipe-go.git","clone_url":"https://github.com/kolanos/iopipe-go.git","svn_url":"https://github.com/kolanos/iopipe-go","homepage":null,"size":155,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iopipe:master","ref":"master","sha":"af3f4973304b4f03d8254c87bdfd09227f988218","user":{"login":"iopipe","id":15937935,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTM3OTM1","avatar_url":"https://avatars2.githubusercontent.com/u/15937935?v=4","gravatar_id":"","url":"https://api.github.com/users/iopipe","html_url":"https://github.com/iopipe","followers_url":"https://api.github.com/users/iopipe/followers","following_url":"https://api.github.com/users/iopipe/following{/other_user}","gists_url":"https://api.github.com/users/iopipe/gists{/gist_id}","starred_url":"https://api.github.com/users/iopipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iopipe/subscriptions","organizations_url":"https://api.github.com/users/iopipe/orgs","repos_url":"https://api.github.com/users/iopipe/repos","events_url":"https://api.github.com/users/iopipe/events{/privacy}","received_events_url":"https://api.github.com/users/iopipe/received_events","type":"Organization","site_admin":false},"repo":{"id":131640209,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE2NDAyMDk=","name":"iopipe-go","full_name":"iopipe/iopipe-go","owner":{"login":"iopipe","id":15937935,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTM3OTM1","avatar_url":"https://avatars2.githubusercontent.com/u/15937935?v=4","gravatar_id":"","url":"https://api.github.com/users/iopipe","html_url":"https://github.com/iopipe","followers_url":"https://api.github.com/users/iopipe/followers","following_url":"https://api.github.com/users/iopipe/following{/other_user}","gists_url":"https://api.github.com/users/iopipe/gists{/gist_id}","starred_url":"https://api.github.com/users/iopipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iopipe/subscriptions","organizations_url":"https://api.github.com/users/iopipe/orgs","repos_url":"https://api.github.com/users/iopipe/repos","events_url":"https://api.github.com/users/iopipe/events{/privacy}","received_events_url":"https://api.github.com/users/iopipe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iopipe/iopipe-go","description":"Go agent for AWS Lambda metrics, tracing, profiling & analytics","fork":false,"url":"https://api.github.com/repos/iopipe/iopipe-go","forks_url":"https://api.github.com/repos/iopipe/iopipe-go/forks","keys_url":"https://api.github.com/repos/iopipe/iopipe-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iopipe/iopipe-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iopipe/iopipe-go/teams","hooks_url":"https://api.github.com/repos/iopipe/iopipe-go/hooks","issue_events_url":"https://api.github.com/repos/iopipe/iopipe-go/issues/events{/number}","events_url":"https://api.github.com/repos/iopipe/iopipe-go/events","assignees_url":"https://api.github.com/repos/iopipe/iopipe-go/assignees{/user}","branches_url":"https://api.github.com/repos/iopipe/iopipe-go/branches{/branch}","tags_url":"https://api.github.com/repos/iopipe/iopipe-go/tags","blobs_url":"https://api.github.com/repos/iopipe/iopipe-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iopipe/iopipe-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iopipe/iopipe-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/iopipe/iopipe-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iopipe/iopipe-go/statuses/{sha}","languages_url":"https://api.github.com/repos/iopipe/iopipe-go/languages","stargazers_url":"https://api.github.com/repos/iopipe/iopipe-go/stargazers","contributors_url":"https://api.github.com/repos/iopipe/iopipe-go/contributors","subscribers_url":"https://api.github.com/repos/iopipe/iopipe-go/subscribers","subscription_url":"https://api.github.com/repos/iopipe/iopipe-go/subscription","commits_url":"https://api.github.com/repos/iopipe/iopipe-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/iopipe/iopipe-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/iopipe/iopipe-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/iopipe/iopipe-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/iopipe/iopipe-go/contents/{+path}","compare_url":"https://api.github.com/repos/iopipe/iopipe-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iopipe/iopipe-go/merges","archive_url":"https://api.github.com/repos/iopipe/iopipe-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iopipe/iopipe-go/downloads","issues_url":"https://api.github.com/repos/iopipe/iopipe-go/issues{/number}","pulls_url":"https://api.github.com/repos/iopipe/iopipe-go/pulls{/number}","milestones_url":"https://api.github.com/repos/iopipe/iopipe-go/milestones{/number}","notifications_url":"https://api.github.com/repos/iopipe/iopipe-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iopipe/iopipe-go/labels{/name}","releases_url":"https://api.github.com/repos/iopipe/iopipe-go/releases{/id}","deployments_url":"https://api.github.com/repos/iopipe/iopipe-go/deployments","created_at":"2018-04-30T19:54:33Z","updated_at":"2018-07-03T19:51:59Z","pushed_at":"2018-07-26T05:03:10Z","git_url":"git://github.com/iopipe/iopipe-go.git","ssh_url":"git@github.com:iopipe/iopipe-go.git","clone_url":"https://github.com/iopipe/iopipe-go.git","svn_url":"https://github.com/iopipe/iopipe-go","homepage":null,"size":126,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":4,"open_issues":10,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30"},"html":{"href":"https://github.com/iopipe/iopipe-go/pull/30"},"issue":{"href":"https://api.github.com/repos/iopipe/iopipe-go/issues/30"},"comments":{"href":"https://api.github.com/repos/iopipe/iopipe-go/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iopipe/iopipe-go/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/iopipe/iopipe-go/statuses/c476ba795c0ccc4e81f24ce381754b460bcfeafe"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pselle"}}