{"action":"opened","number":41,"pull_request":{"url":"https://api.github.com/repos/Clever/gearcmd/pulls/41","id":64984072,"html_url":"https://github.com/Clever/gearcmd/pull/41","diff_url":"https://github.com/Clever/gearcmd/pull/41.diff","patch_url":"https://github.com/Clever/gearcmd/pull/41.patch","issue_url":"https://api.github.com/repos/Clever/gearcmd/issues/41","number":41,"state":"open","locked":false,"title":"Add logging for alarms backwards compatability","user":{"login":"johnhuangclever","id":13126257,"avatar_url":"https://avatars.githubusercontent.com/u/13126257?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhuangclever","html_url":"https://github.com/johnhuangclever","followers_url":"https://api.github.com/users/johnhuangclever/followers","following_url":"https://api.github.com/users/johnhuangclever/following{/other_user}","gists_url":"https://api.github.com/users/johnhuangclever/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhuangclever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhuangclever/subscriptions","organizations_url":"https://api.github.com/users/johnhuangclever/orgs","repos_url":"https://api.github.com/users/johnhuangclever/repos","events_url":"https://api.github.com/users/johnhuangclever/events{/privacy}","received_events_url":"https://api.github.com/users/johnhuangclever/received_events","type":"User","site_admin":false},"body":"We have alarms that stopped receiving data because the kayvee log format changed:\r\nhttps://app.signalfx.com/#/detector/CYi8i6PAcAM/edit?startTimeUTC=1456819200000&endTimeUTC=1459494000000\r\n\r\nThis PR will add that log line back through a legacy logger. We can remove this legacy logger once all workers are moved onto gearcmd and then alarms are switched over.\r\n\r\nVerified through tests that the logging happens and the format is correct. Log lines generated:\r\n```\r\n{\"function\":\"name\",\"level\":\"info\",\"source\":\"gearcmd\",\"title\":\"SUCCESS\",\"type\":\"counter\"}\r\n{\"function\":\"name\",\"level\":\"info\",\"source\":\"gearman\",\"title\":\"success\",\"type\":\"counter\"}\r\n```","created_at":"2016-04-01T18:16:31Z","updated_at":"2016-04-01T18:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"natebrennand","id":2801090,"avatar_url":"https://avatars.githubusercontent.com/u/2801090?v=3","gravatar_id":"","url":"https://api.github.com/users/natebrennand","html_url":"https://github.com/natebrennand","followers_url":"https://api.github.com/users/natebrennand/followers","following_url":"https://api.github.com/users/natebrennand/following{/other_user}","gists_url":"https://api.github.com/users/natebrennand/gists{/gist_id}","starred_url":"https://api.github.com/users/natebrennand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebrennand/subscriptions","organizations_url":"https://api.github.com/users/natebrennand/orgs","repos_url":"https://api.github.com/users/natebrennand/repos","events_url":"https://api.github.com/users/natebrennand/events{/privacy}","received_events_url":"https://api.github.com/users/natebrennand/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Clever/gearcmd/pulls/41/commits","review_comments_url":"https://api.github.com/repos/Clever/gearcmd/pulls/41/comments","review_comment_url":"https://api.github.com/repos/Clever/gearcmd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clever/gearcmd/issues/41/comments","statuses_url":"https://api.github.com/repos/Clever/gearcmd/statuses/77c9628be7621c87cea9a4bd3c6987eb62750048","head":{"label":"Clever:add-legacy-logging","ref":"add-legacy-logging","sha":"77c9628be7621c87cea9a4bd3c6987eb62750048","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":23886280,"name":"gearcmd","full_name":"Clever/gearcmd","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/gearcmd","description":"Utility to create gearman workers out of command-line programs","fork":false,"url":"https://api.github.com/repos/Clever/gearcmd","forks_url":"https://api.github.com/repos/Clever/gearcmd/forks","keys_url":"https://api.github.com/repos/Clever/gearcmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/gearcmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/gearcmd/teams","hooks_url":"https://api.github.com/repos/Clever/gearcmd/hooks","issue_events_url":"https://api.github.com/repos/Clever/gearcmd/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/gearcmd/events","assignees_url":"https://api.github.com/repos/Clever/gearcmd/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/gearcmd/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/gearcmd/tags","blobs_url":"https://api.github.com/repos/Clever/gearcmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/gearcmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/gearcmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/gearcmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/gearcmd/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/gearcmd/languages","stargazers_url":"https://api.github.com/repos/Clever/gearcmd/stargazers","contributors_url":"https://api.github.com/repos/Clever/gearcmd/contributors","subscribers_url":"https://api.github.com/repos/Clever/gearcmd/subscribers","subscription_url":"https://api.github.com/repos/Clever/gearcmd/subscription","commits_url":"https://api.github.com/repos/Clever/gearcmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/gearcmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/gearcmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/gearcmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/gearcmd/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/gearcmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/gearcmd/merges","archive_url":"https://api.github.com/repos/Clever/gearcmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/gearcmd/downloads","issues_url":"https://api.github.com/repos/Clever/gearcmd/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/gearcmd/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/gearcmd/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/gearcmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/gearcmd/labels{/name}","releases_url":"https://api.github.com/repos/Clever/gearcmd/releases{/id}","deployments_url":"https://api.github.com/repos/Clever/gearcmd/deployments","created_at":"2014-09-10T18:17:23Z","updated_at":"2016-01-11T21:23:18Z","pushed_at":"2016-04-01T18:13:53Z","git_url":"git://github.com/Clever/gearcmd.git","ssh_url":"git@github.com:Clever/gearcmd.git","clone_url":"https://github.com/Clever/gearcmd.git","svn_url":"https://github.com/Clever/gearcmd","homepage":null,"size":140,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Clever:master","ref":"master","sha":"64e66d03058409c3063486009752dbf33f74db71","user":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"repo":{"id":23886280,"name":"gearcmd","full_name":"Clever/gearcmd","owner":{"login":"Clever","id":1885509,"avatar_url":"https://avatars.githubusercontent.com/u/1885509?v=3","gravatar_id":"","url":"https://api.github.com/users/Clever","html_url":"https://github.com/Clever","followers_url":"https://api.github.com/users/Clever/followers","following_url":"https://api.github.com/users/Clever/following{/other_user}","gists_url":"https://api.github.com/users/Clever/gists{/gist_id}","starred_url":"https://api.github.com/users/Clever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clever/subscriptions","organizations_url":"https://api.github.com/users/Clever/orgs","repos_url":"https://api.github.com/users/Clever/repos","events_url":"https://api.github.com/users/Clever/events{/privacy}","received_events_url":"https://api.github.com/users/Clever/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clever/gearcmd","description":"Utility to create gearman workers out of command-line programs","fork":false,"url":"https://api.github.com/repos/Clever/gearcmd","forks_url":"https://api.github.com/repos/Clever/gearcmd/forks","keys_url":"https://api.github.com/repos/Clever/gearcmd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clever/gearcmd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clever/gearcmd/teams","hooks_url":"https://api.github.com/repos/Clever/gearcmd/hooks","issue_events_url":"https://api.github.com/repos/Clever/gearcmd/issues/events{/number}","events_url":"https://api.github.com/repos/Clever/gearcmd/events","assignees_url":"https://api.github.com/repos/Clever/gearcmd/assignees{/user}","branches_url":"https://api.github.com/repos/Clever/gearcmd/branches{/branch}","tags_url":"https://api.github.com/repos/Clever/gearcmd/tags","blobs_url":"https://api.github.com/repos/Clever/gearcmd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clever/gearcmd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clever/gearcmd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clever/gearcmd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clever/gearcmd/statuses/{sha}","languages_url":"https://api.github.com/repos/Clever/gearcmd/languages","stargazers_url":"https://api.github.com/repos/Clever/gearcmd/stargazers","contributors_url":"https://api.github.com/repos/Clever/gearcmd/contributors","subscribers_url":"https://api.github.com/repos/Clever/gearcmd/subscribers","subscription_url":"https://api.github.com/repos/Clever/gearcmd/subscription","commits_url":"https://api.github.com/repos/Clever/gearcmd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clever/gearcmd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clever/gearcmd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clever/gearcmd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clever/gearcmd/contents/{+path}","compare_url":"https://api.github.com/repos/Clever/gearcmd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clever/gearcmd/merges","archive_url":"https://api.github.com/repos/Clever/gearcmd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clever/gearcmd/downloads","issues_url":"https://api.github.com/repos/Clever/gearcmd/issues{/number}","pulls_url":"https://api.github.com/repos/Clever/gearcmd/pulls{/number}","milestones_url":"https://api.github.com/repos/Clever/gearcmd/milestones{/number}","notifications_url":"https://api.github.com/repos/Clever/gearcmd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clever/gearcmd/labels{/name}","releases_url":"https://api.github.com/repos/Clever/gearcmd/releases{/id}","deployments_url":"https://api.github.com/repos/Clever/gearcmd/deployments","created_at":"2014-09-10T18:17:23Z","updated_at":"2016-01-11T21:23:18Z","pushed_at":"2016-04-01T18:13:53Z","git_url":"git://github.com/Clever/gearcmd.git","ssh_url":"git@github.com:Clever/gearcmd.git","clone_url":"https://github.com/Clever/gearcmd.git","svn_url":"https://github.com/Clever/gearcmd","homepage":null,"size":140,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clever/gearcmd/pulls/41"},"html":{"href":"https://github.com/Clever/gearcmd/pull/41"},"issue":{"href":"https://api.github.com/repos/Clever/gearcmd/issues/41"},"comments":{"href":"https://api.github.com/repos/Clever/gearcmd/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/Clever/gearcmd/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/Clever/gearcmd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clever/gearcmd/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/Clever/gearcmd/statuses/77c9628be7621c87cea9a4bd3c6987eb62750048"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":2}}