{"action":"opened","number":10025,"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/10025","id":209285808,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5Mjg1ODA4","html_url":"https://github.com/coreos/etcd/pull/10025","diff_url":"https://github.com/coreos/etcd/pull/10025.diff","patch_url":"https://github.com/coreos/etcd/pull/10025.patch","issue_url":"https://api.github.com/repos/coreos/etcd/issues/10025","number":10025,"state":"open","locked":false,"title":"etcdserver: add grpc interceptor to log info on incoming request to etcdserver.","user":{"login":"jingyih","id":23108879,"node_id":"MDQ6VXNlcjIzMTA4ODc5","avatar_url":"https://avatars3.githubusercontent.com/u/23108879?v=4","gravatar_id":"","url":"https://api.github.com/users/jingyih","html_url":"https://github.com/jingyih","followers_url":"https://api.github.com/users/jingyih/followers","following_url":"https://api.github.com/users/jingyih/following{/other_user}","gists_url":"https://api.github.com/users/jingyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jingyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingyih/subscriptions","organizations_url":"https://api.github.com/users/jingyih/orgs","repos_url":"https://api.github.com/users/jingyih/repos","events_url":"https://api.github.com/users/jingyih/events{/privacy}","received_events_url":"https://api.github.com/users/jingyih/received_events","type":"User","site_admin":false},"body":"Cherry pick of #9990 to release-3.2.\r\n\r\nThis is to improve debuggability of etcd release-3.2. Added a grpc interceptor to log information on incoming requests to etcdserver.\r\n\r\nDuring backporting, the following two dependencies are removed from the original PR:\r\n1. removed dependency on zap logger. Use capnslog for logging.\r\n2. removed dependency on grpc_middleware. Interceptors are chained manually instead.\r\n\r\nThis backporting also includes #10021. If debug level is disabled, skip logUnaryRequestStats() to avoid potential performance degradation. \r\n\r\n","created_at":"2018-08-18T00:56:51Z","updated_at":"2018-08-18T00:56:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coreos/etcd/pulls/10025/commits","review_comments_url":"https://api.github.com/repos/coreos/etcd/pulls/10025/comments","review_comment_url":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/10025/comments","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/ae0f4337614608671ec7029475ae5bad722871ab","head":{"label":"jingyih:automated-cherry-pick-of-#9990-origin-release-3.2-1534373481","ref":"automated-cherry-pick-of-#9990-origin-release-3.2-1534373481","sha":"ae0f4337614608671ec7029475ae5bad722871ab","user":{"login":"jingyih","id":23108879,"node_id":"MDQ6VXNlcjIzMTA4ODc5","avatar_url":"https://avatars3.githubusercontent.com/u/23108879?v=4","gravatar_id":"","url":"https://api.github.com/users/jingyih","html_url":"https://github.com/jingyih","followers_url":"https://api.github.com/users/jingyih/followers","following_url":"https://api.github.com/users/jingyih/following{/other_user}","gists_url":"https://api.github.com/users/jingyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jingyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingyih/subscriptions","organizations_url":"https://api.github.com/users/jingyih/orgs","repos_url":"https://api.github.com/users/jingyih/repos","events_url":"https://api.github.com/users/jingyih/events{/privacy}","received_events_url":"https://api.github.com/users/jingyih/received_events","type":"User","site_admin":false},"repo":{"id":138945269,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5NDUyNjk=","name":"etcd","full_name":"jingyih/etcd","owner":{"login":"jingyih","id":23108879,"node_id":"MDQ6VXNlcjIzMTA4ODc5","avatar_url":"https://avatars3.githubusercontent.com/u/23108879?v=4","gravatar_id":"","url":"https://api.github.com/users/jingyih","html_url":"https://github.com/jingyih","followers_url":"https://api.github.com/users/jingyih/followers","following_url":"https://api.github.com/users/jingyih/following{/other_user}","gists_url":"https://api.github.com/users/jingyih/gists{/gist_id}","starred_url":"https://api.github.com/users/jingyih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingyih/subscriptions","organizations_url":"https://api.github.com/users/jingyih/orgs","repos_url":"https://api.github.com/users/jingyih/repos","events_url":"https://api.github.com/users/jingyih/events{/privacy}","received_events_url":"https://api.github.com/users/jingyih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jingyih/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":true,"url":"https://api.github.com/repos/jingyih/etcd","forks_url":"https://api.github.com/repos/jingyih/etcd/forks","keys_url":"https://api.github.com/repos/jingyih/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jingyih/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jingyih/etcd/teams","hooks_url":"https://api.github.com/repos/jingyih/etcd/hooks","issue_events_url":"https://api.github.com/repos/jingyih/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/jingyih/etcd/events","assignees_url":"https://api.github.com/repos/jingyih/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/jingyih/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/jingyih/etcd/tags","blobs_url":"https://api.github.com/repos/jingyih/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jingyih/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jingyih/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jingyih/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jingyih/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/jingyih/etcd/languages","stargazers_url":"https://api.github.com/repos/jingyih/etcd/stargazers","contributors_url":"https://api.github.com/repos/jingyih/etcd/contributors","subscribers_url":"https://api.github.com/repos/jingyih/etcd/subscribers","subscription_url":"https://api.github.com/repos/jingyih/etcd/subscription","commits_url":"https://api.github.com/repos/jingyih/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jingyih/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jingyih/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jingyih/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/jingyih/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/jingyih/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jingyih/etcd/merges","archive_url":"https://api.github.com/repos/jingyih/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jingyih/etcd/downloads","issues_url":"https://api.github.com/repos/jingyih/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/jingyih/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/jingyih/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/jingyih/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jingyih/etcd/labels{/name}","releases_url":"https://api.github.com/repos/jingyih/etcd/releases{/id}","deployments_url":"https://api.github.com/repos/jingyih/etcd/deployments","created_at":"2018-06-28T00:02:30Z","updated_at":"2018-08-03T23:17:00Z","pushed_at":"2018-08-18T00:20:25Z","git_url":"git://github.com/jingyih/etcd.git","ssh_url":"git@github.com:jingyih/etcd.git","clone_url":"https://github.com/jingyih/etcd.git","svn_url":"https://github.com/jingyih/etcd","homepage":"https://etcd.readthedocs.io/en/latest/?badge=latest","size":45380,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"coreos:release-3.2","ref":"release-3.2","sha":"5a3cbe4cf75e9553fdc52bdcb9017574eeadbaa1","user":{"login":"coreos","id":3730757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzA3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11225014,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIyNTAxNA==","name":"etcd","full_name":"coreos/etcd","owner":{"login":"coreos","id":3730757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzA3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/etcd","description":"Distributed reliable key-value store for the most critical data of a distributed system","fork":false,"url":"https://api.github.com/repos/coreos/etcd","forks_url":"https://api.github.com/repos/coreos/etcd/forks","keys_url":"https://api.github.com/repos/coreos/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/etcd/teams","hooks_url":"https://api.github.com/repos/coreos/etcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/etcd/events","assignees_url":"https://api.github.com/repos/coreos/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/etcd/tags","blobs_url":"https://api.github.com/repos/coreos/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/etcd/languages","stargazers_url":"https://api.github.com/repos/coreos/etcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/etcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/etcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/etcd/subscription","commits_url":"https://api.github.com/repos/coreos/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/etcd/merges","archive_url":"https://api.github.com/repos/coreos/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/etcd/downloads","issues_url":"https://api.github.com/repos/coreos/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/etcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/etcd/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/etcd/deployments","created_at":"2013-07-06T21:57:21Z","updated_at":"2018-08-18T00:02:36Z","pushed_at":"2018-08-18T00:47:14Z","git_url":"git://github.com/coreos/etcd.git","ssh_url":"git@github.com:coreos/etcd.git","clone_url":"https://github.com/coreos/etcd.git","svn_url":"https://github.com/coreos/etcd","homepage":"https://etcd.readthedocs.io/en/latest","size":45389,"stargazers_count":19803,"watchers_count":19803,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3951,"mirror_url":null,"archived":false,"open_issues_count":289,"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":3951,"open_issues":289,"watchers":19803,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/10025"},"html":{"href":"https://github.com/coreos/etcd/pull/10025"},"issue":{"href":"https://api.github.com/repos/coreos/etcd/issues/10025"},"comments":{"href":"https://api.github.com/repos/coreos/etcd/issues/10025/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/etcd/pulls/10025/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/etcd/pulls/10025/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/etcd/statuses/ae0f4337614608671ec7029475ae5bad722871ab"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":114,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"jingyih"}}