{"action":"created","comment":{"url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/comments/238300528","pull_request_review_id":180806184,"id":238300528,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODMwMDUyOA==","diff_hunk":"@@ -233,6 +254,33 @@ func (c *Client) makeCall(call *Call) {\n \t\tcall.SvcID.Method,\n \t)\n \n+\tsh := c.statsHandler\n+\tif sh != nil {\n+\t\tcall.ctx = sh.TagRPC(call.ctx, &stats.RPCTagInfo{FullMethodName: \"/\" + call.SvcID.Name + \"/\" + call.SvcID.Method})","path":"client.go","position":74,"original_position":74,"commit_id":"1c0e38c0fc92b6670a9653e6a46eeab7d0278aa1","original_commit_id":"1c0e38c0fc92b6670a9653e6a46eeab7d0278aa1","user":{"login":"hsanjuan","id":1027022,"node_id":"MDQ6VXNlcjEwMjcwMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1027022?v=4","gravatar_id":"","url":"https://api.github.com/users/hsanjuan","html_url":"https://github.com/hsanjuan","followers_url":"https://api.github.com/users/hsanjuan/followers","following_url":"https://api.github.com/users/hsanjuan/following{/other_user}","gists_url":"https://api.github.com/users/hsanjuan/gists{/gist_id}","starred_url":"https://api.github.com/users/hsanjuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsanjuan/subscriptions","organizations_url":"https://api.github.com/users/hsanjuan/orgs","repos_url":"https://api.github.com/users/hsanjuan/repos","events_url":"https://api.github.com/users/hsanjuan/events{/privacy}","received_events_url":"https://api.github.com/users/hsanjuan/received_events","type":"User","site_admin":false},"body":"wanna make this a nice multiline?","created_at":"2018-12-03T14:58:05Z","updated_at":"2018-12-03T14:58:05Z","html_url":"https://github.com/libp2p/go-libp2p-gorpc/pull/34#discussion_r238300528","pull_request_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/comments/238300528"},"html":{"href":"https://github.com/libp2p/go-libp2p-gorpc/pull/34#discussion_r238300528"},"pull_request":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34","id":231495451,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNDk1NDUx","html_url":"https://github.com/libp2p/go-libp2p-gorpc/pull/34","diff_url":"https://github.com/libp2p/go-libp2p-gorpc/pull/34.diff","patch_url":"https://github.com/libp2p/go-libp2p-gorpc/pull/34.patch","issue_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/34","number":34,"state":"open","locked":false,"title":"Add stats hijacking feature","user":{"login":"lanzafame","id":5924712,"node_id":"MDQ6VXNlcjU5MjQ3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5924712?v=4","gravatar_id":"","url":"https://api.github.com/users/lanzafame","html_url":"https://github.com/lanzafame","followers_url":"https://api.github.com/users/lanzafame/followers","following_url":"https://api.github.com/users/lanzafame/following{/other_user}","gists_url":"https://api.github.com/users/lanzafame/gists{/gist_id}","starred_url":"https://api.github.com/users/lanzafame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanzafame/subscriptions","organizations_url":"https://api.github.com/users/lanzafame/orgs","repos_url":"https://api.github.com/users/lanzafame/repos","events_url":"https://api.github.com/users/lanzafame/events{/privacy}","received_events_url":"https://api.github.com/users/lanzafame/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-16T11:12:14Z","updated_at":"2018-12-03T14:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78c6efb0cef7706214c951c28353c99a24f97ae3","assignee":{"login":"lanzafame","id":5924712,"node_id":"MDQ6VXNlcjU5MjQ3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5924712?v=4","gravatar_id":"","url":"https://api.github.com/users/lanzafame","html_url":"https://github.com/lanzafame","followers_url":"https://api.github.com/users/lanzafame/followers","following_url":"https://api.github.com/users/lanzafame/following{/other_user}","gists_url":"https://api.github.com/users/lanzafame/gists{/gist_id}","starred_url":"https://api.github.com/users/lanzafame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanzafame/subscriptions","organizations_url":"https://api.github.com/users/lanzafame/orgs","repos_url":"https://api.github.com/users/lanzafame/repos","events_url":"https://api.github.com/users/lanzafame/events{/privacy}","received_events_url":"https://api.github.com/users/lanzafame/received_events","type":"User","site_admin":false},"assignees":[{"login":"lanzafame","id":5924712,"node_id":"MDQ6VXNlcjU5MjQ3MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/5924712?v=4","gravatar_id":"","url":"https://api.github.com/users/lanzafame","html_url":"https://github.com/lanzafame","followers_url":"https://api.github.com/users/lanzafame/followers","following_url":"https://api.github.com/users/lanzafame/following{/other_user}","gists_url":"https://api.github.com/users/lanzafame/gists{/gist_id}","starred_url":"https://api.github.com/users/lanzafame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanzafame/subscriptions","organizations_url":"https://api.github.com/users/lanzafame/orgs","repos_url":"https://api.github.com/users/lanzafame/repos","events_url":"https://api.github.com/users/lanzafame/events{/privacy}","received_events_url":"https://api.github.com/users/lanzafame/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1140151595,"node_id":"MDU6TGFiZWwxMTQwMTUxNTk1","url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34/commits","review_comments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34/comments","review_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/34/comments","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/statuses/1c0e38c0fc92b6670a9653e6a46eeab7d0278aa1","head":{"label":"libp2p:feat/calls-hijackable","ref":"feat/calls-hijackable","sha":"1c0e38c0fc92b6670a9653e6a46eeab7d0278aa1","user":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"repo":{"id":77225267,"node_id":"MDEwOlJlcG9zaXRvcnk3NzIyNTI2Nw==","name":"go-libp2p-gorpc","full_name":"libp2p/go-libp2p-gorpc","private":false,"owner":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/libp2p/go-libp2p-gorpc","description":"A simple RPC library for libp2p.","fork":false,"url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc","forks_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/forks","keys_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/teams","hooks_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/hooks","issue_events_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/events{/number}","events_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/events","assignees_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/assignees{/user}","branches_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/branches{/branch}","tags_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/tags","blobs_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/statuses/{sha}","languages_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/languages","stargazers_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/stargazers","contributors_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/contributors","subscribers_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/subscribers","subscription_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/subscription","commits_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/contents/{+path}","compare_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/merges","archive_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/downloads","issues_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues{/number}","pulls_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls{/number}","milestones_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/milestones{/number}","notifications_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/labels{/name}","releases_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/releases{/id}","deployments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/deployments","created_at":"2016-12-23T12:51:58Z","updated_at":"2018-12-02T16:02:10Z","pushed_at":"2018-11-26T08:03:46Z","git_url":"git://github.com/libp2p/go-libp2p-gorpc.git","ssh_url":"git@github.com:libp2p/go-libp2p-gorpc.git","clone_url":"https://github.com/libp2p/go-libp2p-gorpc.git","svn_url":"https://github.com/libp2p/go-libp2p-gorpc","homepage":"","size":105,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":5,"watchers":8,"default_branch":"master"}},"base":{"label":"libp2p:master","ref":"master","sha":"cc6de74d1f4f281b7abf7f71567539ab678c1cd4","user":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"repo":{"id":77225267,"node_id":"MDEwOlJlcG9zaXRvcnk3NzIyNTI2Nw==","name":"go-libp2p-gorpc","full_name":"libp2p/go-libp2p-gorpc","private":false,"owner":{"login":"libp2p","id":14838238,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0ODM4MjM4","avatar_url":"https://avatars3.githubusercontent.com/u/14838238?v=4","gravatar_id":"","url":"https://api.github.com/users/libp2p","html_url":"https://github.com/libp2p","followers_url":"https://api.github.com/users/libp2p/followers","following_url":"https://api.github.com/users/libp2p/following{/other_user}","gists_url":"https://api.github.com/users/libp2p/gists{/gist_id}","starred_url":"https://api.github.com/users/libp2p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libp2p/subscriptions","organizations_url":"https://api.github.com/users/libp2p/orgs","repos_url":"https://api.github.com/users/libp2p/repos","events_url":"https://api.github.com/users/libp2p/events{/privacy}","received_events_url":"https://api.github.com/users/libp2p/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/libp2p/go-libp2p-gorpc","description":"A simple RPC library for libp2p.","fork":false,"url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc","forks_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/forks","keys_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/teams","hooks_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/hooks","issue_events_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/events{/number}","events_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/events","assignees_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/assignees{/user}","branches_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/branches{/branch}","tags_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/tags","blobs_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/statuses/{sha}","languages_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/languages","stargazers_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/stargazers","contributors_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/contributors","subscribers_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/subscribers","subscription_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/subscription","commits_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/contents/{+path}","compare_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/merges","archive_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/downloads","issues_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues{/number}","pulls_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls{/number}","milestones_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/milestones{/number}","notifications_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/labels{/name}","releases_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/releases{/id}","deployments_url":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/deployments","created_at":"2016-12-23T12:51:58Z","updated_at":"2018-12-02T16:02:10Z","pushed_at":"2018-11-26T08:03:46Z","git_url":"git://github.com/libp2p/go-libp2p-gorpc.git","ssh_url":"git@github.com:libp2p/go-libp2p-gorpc.git","clone_url":"https://github.com/libp2p/go-libp2p-gorpc.git","svn_url":"https://github.com/libp2p/go-libp2p-gorpc","homepage":"","size":105,"stargazers_count":8,"watchers_count":8,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34"},"html":{"href":"https://github.com/libp2p/go-libp2p-gorpc/pull/34"},"issue":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/34"},"comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/libp2p/go-libp2p-gorpc/statuses/1c0e38c0fc92b6670a9653e6a46eeab7d0278aa1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"hsanjuan"}}