{"action":"opened","number":37,"pull_request":{"url":"https://api.github.com/repos/optiopay/kafka/pulls/37","id":45375737,"html_url":"https://github.com/optiopay/kafka/pull/37","diff_url":"https://github.com/optiopay/kafka/pull/37.diff","patch_url":"https://github.com/optiopay/kafka/pull/37.patch","issue_url":"https://api.github.com/repos/optiopay/kafka/issues/37","number":37,"state":"open","locked":false,"title":"Rename error key in logging","user":{"login":"alpe","id":28003,"avatar_url":"https://avatars.githubusercontent.com/u/28003?v=3","gravatar_id":"","url":"https://api.github.com/users/alpe","html_url":"https://github.com/alpe","followers_url":"https://api.github.com/users/alpe/followers","following_url":"https://api.github.com/users/alpe/following{/other_user}","gists_url":"https://api.github.com/users/alpe/gists{/gist_id}","starred_url":"https://api.github.com/users/alpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpe/subscriptions","organizations_url":"https://api.github.com/users/alpe/orgs","repos_url":"https://api.github.com/users/alpe/repos","events_url":"https://api.github.com/users/alpe/events{/privacy}","received_events_url":"https://api.github.com/users/alpe/received_events","type":"User","site_admin":false},"body":"While `err` is very well known for **errors** in Goland it is not in other contexts. \r\nThis change is is driven to improving reporting capabilities with log analytic tools like ELK stack and others.\r\nAt optiopay we're changing services to use `error` key only. \r\nFeedback is welcome /cc @zorkian  @cespare @dmage","created_at":"2015-09-18T07:15:26Z","updated_at":"2015-09-18T07:15:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/optiopay/kafka/pulls/37/commits","review_comments_url":"https://api.github.com/repos/optiopay/kafka/pulls/37/comments","review_comment_url":"https://api.github.com/repos/optiopay/kafka/pulls/comments{/number}","comments_url":"https://api.github.com/repos/optiopay/kafka/issues/37/comments","statuses_url":"https://api.github.com/repos/optiopay/kafka/statuses/bacfbd314ef322447cad5ad10cf9521a54b4555d","head":{"label":"optiopay:error_key","ref":"error_key","sha":"bacfbd314ef322447cad5ad10cf9521a54b4555d","user":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"repo":{"id":30528539,"name":"kafka","full_name":"optiopay/kafka","owner":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/optiopay/kafka","description":"Go driver for Kafka","fork":false,"url":"https://api.github.com/repos/optiopay/kafka","forks_url":"https://api.github.com/repos/optiopay/kafka/forks","keys_url":"https://api.github.com/repos/optiopay/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optiopay/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optiopay/kafka/teams","hooks_url":"https://api.github.com/repos/optiopay/kafka/hooks","issue_events_url":"https://api.github.com/repos/optiopay/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/optiopay/kafka/events","assignees_url":"https://api.github.com/repos/optiopay/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/optiopay/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/optiopay/kafka/tags","blobs_url":"https://api.github.com/repos/optiopay/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optiopay/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optiopay/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/optiopay/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optiopay/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/optiopay/kafka/languages","stargazers_url":"https://api.github.com/repos/optiopay/kafka/stargazers","contributors_url":"https://api.github.com/repos/optiopay/kafka/contributors","subscribers_url":"https://api.github.com/repos/optiopay/kafka/subscribers","subscription_url":"https://api.github.com/repos/optiopay/kafka/subscription","commits_url":"https://api.github.com/repos/optiopay/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/optiopay/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/optiopay/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/optiopay/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/optiopay/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/optiopay/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optiopay/kafka/merges","archive_url":"https://api.github.com/repos/optiopay/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optiopay/kafka/downloads","issues_url":"https://api.github.com/repos/optiopay/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/optiopay/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/optiopay/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/optiopay/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optiopay/kafka/labels{/name}","releases_url":"https://api.github.com/repos/optiopay/kafka/releases{/id}","created_at":"2015-02-09T09:36:50Z","updated_at":"2015-09-06T08:16:43Z","pushed_at":"2015-09-18T06:52:06Z","git_url":"git://github.com/optiopay/kafka.git","ssh_url":"git@github.com:optiopay/kafka.git","clone_url":"https://github.com/optiopay/kafka.git","svn_url":"https://github.com/optiopay/kafka","homepage":"https://godoc.org/github.com/optiopay/kafka","size":660,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":22,"default_branch":"master"}},"base":{"label":"optiopay:master","ref":"master","sha":"a2c08989233cda198a9d1517bda7384e5797fb03","user":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"repo":{"id":30528539,"name":"kafka","full_name":"optiopay/kafka","owner":{"login":"optiopay","id":9194339,"avatar_url":"https://avatars.githubusercontent.com/u/9194339?v=3","gravatar_id":"","url":"https://api.github.com/users/optiopay","html_url":"https://github.com/optiopay","followers_url":"https://api.github.com/users/optiopay/followers","following_url":"https://api.github.com/users/optiopay/following{/other_user}","gists_url":"https://api.github.com/users/optiopay/gists{/gist_id}","starred_url":"https://api.github.com/users/optiopay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optiopay/subscriptions","organizations_url":"https://api.github.com/users/optiopay/orgs","repos_url":"https://api.github.com/users/optiopay/repos","events_url":"https://api.github.com/users/optiopay/events{/privacy}","received_events_url":"https://api.github.com/users/optiopay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/optiopay/kafka","description":"Go driver for Kafka","fork":false,"url":"https://api.github.com/repos/optiopay/kafka","forks_url":"https://api.github.com/repos/optiopay/kafka/forks","keys_url":"https://api.github.com/repos/optiopay/kafka/keys{/key_id}","collaborators_url":"https://api.github.com/repos/optiopay/kafka/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/optiopay/kafka/teams","hooks_url":"https://api.github.com/repos/optiopay/kafka/hooks","issue_events_url":"https://api.github.com/repos/optiopay/kafka/issues/events{/number}","events_url":"https://api.github.com/repos/optiopay/kafka/events","assignees_url":"https://api.github.com/repos/optiopay/kafka/assignees{/user}","branches_url":"https://api.github.com/repos/optiopay/kafka/branches{/branch}","tags_url":"https://api.github.com/repos/optiopay/kafka/tags","blobs_url":"https://api.github.com/repos/optiopay/kafka/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/optiopay/kafka/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/optiopay/kafka/git/refs{/sha}","trees_url":"https://api.github.com/repos/optiopay/kafka/git/trees{/sha}","statuses_url":"https://api.github.com/repos/optiopay/kafka/statuses/{sha}","languages_url":"https://api.github.com/repos/optiopay/kafka/languages","stargazers_url":"https://api.github.com/repos/optiopay/kafka/stargazers","contributors_url":"https://api.github.com/repos/optiopay/kafka/contributors","subscribers_url":"https://api.github.com/repos/optiopay/kafka/subscribers","subscription_url":"https://api.github.com/repos/optiopay/kafka/subscription","commits_url":"https://api.github.com/repos/optiopay/kafka/commits{/sha}","git_commits_url":"https://api.github.com/repos/optiopay/kafka/git/commits{/sha}","comments_url":"https://api.github.com/repos/optiopay/kafka/comments{/number}","issue_comment_url":"https://api.github.com/repos/optiopay/kafka/issues/comments{/number}","contents_url":"https://api.github.com/repos/optiopay/kafka/contents/{+path}","compare_url":"https://api.github.com/repos/optiopay/kafka/compare/{base}...{head}","merges_url":"https://api.github.com/repos/optiopay/kafka/merges","archive_url":"https://api.github.com/repos/optiopay/kafka/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/optiopay/kafka/downloads","issues_url":"https://api.github.com/repos/optiopay/kafka/issues{/number}","pulls_url":"https://api.github.com/repos/optiopay/kafka/pulls{/number}","milestones_url":"https://api.github.com/repos/optiopay/kafka/milestones{/number}","notifications_url":"https://api.github.com/repos/optiopay/kafka/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/optiopay/kafka/labels{/name}","releases_url":"https://api.github.com/repos/optiopay/kafka/releases{/id}","created_at":"2015-02-09T09:36:50Z","updated_at":"2015-09-06T08:16:43Z","pushed_at":"2015-09-18T06:52:06Z","git_url":"git://github.com/optiopay/kafka.git","ssh_url":"git@github.com:optiopay/kafka.git","clone_url":"https://github.com/optiopay/kafka.git","svn_url":"https://github.com/optiopay/kafka","homepage":"https://godoc.org/github.com/optiopay/kafka","size":660,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/37"},"html":{"href":"https://github.com/optiopay/kafka/pull/37"},"issue":{"href":"https://api.github.com/repos/optiopay/kafka/issues/37"},"comments":{"href":"https://api.github.com/repos/optiopay/kafka/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/optiopay/kafka/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/optiopay/kafka/statuses/bacfbd314ef322447cad5ad10cf9521a54b4555d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":42,"deletions":42,"changed_files":2}}