{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/Wikia/api-gateway/pulls/33","id":45208405,"html_url":"https://github.com/Wikia/api-gateway/pull/33","diff_url":"https://github.com/Wikia/api-gateway/pull/33.diff","patch_url":"https://github.com/Wikia/api-gateway/pull/33.patch","issue_url":"https://api.github.com/repos/Wikia/api-gateway/issues/33","number":33,"state":"open","locked":false,"title":"Add a simple polling health monitor","user":{"login":"drsnyder","id":21621,"avatar_url":"https://avatars.githubusercontent.com/u/21621?v=3","gravatar_id":"","url":"https://api.github.com/users/drsnyder","html_url":"https://github.com/drsnyder","followers_url":"https://api.github.com/users/drsnyder/followers","following_url":"https://api.github.com/users/drsnyder/following{/other_user}","gists_url":"https://api.github.com/users/drsnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/drsnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsnyder/subscriptions","organizations_url":"https://api.github.com/users/drsnyder/orgs","repos_url":"https://api.github.com/users/drsnyder/repos","events_url":"https://api.github.com/users/drsnyder/events{/privacy}","received_events_url":"https://api.github.com/users/drsnyder/received_events","type":"User","site_admin":false},"body":"This was a quickly hacked together script to monitor the gateway for either non-200, lengthy, or failed connections to the api-gateway (or an URL really) health check URI.\r\n\r\nhttps://wikia-inc.atlassian.net/browse/SERVICES-769\r\n\r\n","created_at":"2015-09-16T18:40:19Z","updated_at":"2015-09-16T18:40:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/api-gateway/pulls/33/commits","review_comments_url":"https://api.github.com/repos/Wikia/api-gateway/pulls/33/comments","review_comment_url":"https://api.github.com/repos/Wikia/api-gateway/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/api-gateway/issues/33/comments","statuses_url":"https://api.github.com/repos/Wikia/api-gateway/statuses/4b84b10253347d46adee140de2899c2e908abbbe","head":{"label":"Wikia:health-monitor","ref":"health-monitor","sha":"4b84b10253347d46adee140de2899c2e908abbbe","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":33941445,"name":"api-gateway","full_name":"Wikia/api-gateway","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/api-gateway","description":"Wikia API Gateway (nginx+lua)","fork":false,"url":"https://api.github.com/repos/Wikia/api-gateway","forks_url":"https://api.github.com/repos/Wikia/api-gateway/forks","keys_url":"https://api.github.com/repos/Wikia/api-gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/api-gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/api-gateway/teams","hooks_url":"https://api.github.com/repos/Wikia/api-gateway/hooks","issue_events_url":"https://api.github.com/repos/Wikia/api-gateway/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/api-gateway/events","assignees_url":"https://api.github.com/repos/Wikia/api-gateway/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/api-gateway/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/api-gateway/tags","blobs_url":"https://api.github.com/repos/Wikia/api-gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/api-gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/api-gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/api-gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/api-gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/api-gateway/languages","stargazers_url":"https://api.github.com/repos/Wikia/api-gateway/stargazers","contributors_url":"https://api.github.com/repos/Wikia/api-gateway/contributors","subscribers_url":"https://api.github.com/repos/Wikia/api-gateway/subscribers","subscription_url":"https://api.github.com/repos/Wikia/api-gateway/subscription","commits_url":"https://api.github.com/repos/Wikia/api-gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/api-gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/api-gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/api-gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/api-gateway/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/api-gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/api-gateway/merges","archive_url":"https://api.github.com/repos/Wikia/api-gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/api-gateway/downloads","issues_url":"https://api.github.com/repos/Wikia/api-gateway/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/api-gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/api-gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/api-gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/api-gateway/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/api-gateway/releases{/id}","created_at":"2015-04-14T15:50:45Z","updated_at":"2015-08-31T12:45:16Z","pushed_at":"2015-09-16T18:38:07Z","git_url":"git://github.com/Wikia/api-gateway.git","ssh_url":"git@github.com:Wikia/api-gateway.git","clone_url":"https://github.com/Wikia/api-gateway.git","svn_url":"https://github.com/Wikia/api-gateway","homepage":"","size":763,"stargazers_count":3,"watchers_count":3,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"8ffaa64dac0d92198a70abda761910b62df09776","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":33941445,"name":"api-gateway","full_name":"Wikia/api-gateway","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/api-gateway","description":"Wikia API Gateway (nginx+lua)","fork":false,"url":"https://api.github.com/repos/Wikia/api-gateway","forks_url":"https://api.github.com/repos/Wikia/api-gateway/forks","keys_url":"https://api.github.com/repos/Wikia/api-gateway/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/api-gateway/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/api-gateway/teams","hooks_url":"https://api.github.com/repos/Wikia/api-gateway/hooks","issue_events_url":"https://api.github.com/repos/Wikia/api-gateway/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/api-gateway/events","assignees_url":"https://api.github.com/repos/Wikia/api-gateway/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/api-gateway/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/api-gateway/tags","blobs_url":"https://api.github.com/repos/Wikia/api-gateway/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/api-gateway/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/api-gateway/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/api-gateway/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/api-gateway/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/api-gateway/languages","stargazers_url":"https://api.github.com/repos/Wikia/api-gateway/stargazers","contributors_url":"https://api.github.com/repos/Wikia/api-gateway/contributors","subscribers_url":"https://api.github.com/repos/Wikia/api-gateway/subscribers","subscription_url":"https://api.github.com/repos/Wikia/api-gateway/subscription","commits_url":"https://api.github.com/repos/Wikia/api-gateway/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/api-gateway/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/api-gateway/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/api-gateway/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/api-gateway/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/api-gateway/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/api-gateway/merges","archive_url":"https://api.github.com/repos/Wikia/api-gateway/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/api-gateway/downloads","issues_url":"https://api.github.com/repos/Wikia/api-gateway/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/api-gateway/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/api-gateway/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/api-gateway/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/api-gateway/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/api-gateway/releases{/id}","created_at":"2015-04-14T15:50:45Z","updated_at":"2015-08-31T12:45:16Z","pushed_at":"2015-09-16T18:38:07Z","git_url":"git://github.com/Wikia/api-gateway.git","ssh_url":"git@github.com:Wikia/api-gateway.git","clone_url":"https://github.com/Wikia/api-gateway.git","svn_url":"https://github.com/Wikia/api-gateway","homepage":"","size":763,"stargazers_count":3,"watchers_count":3,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/api-gateway/pulls/33"},"html":{"href":"https://github.com/Wikia/api-gateway/pull/33"},"issue":{"href":"https://api.github.com/repos/Wikia/api-gateway/issues/33"},"comments":{"href":"https://api.github.com/repos/Wikia/api-gateway/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/api-gateway/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/api-gateway/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/api-gateway/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/api-gateway/statuses/4b84b10253347d46adee140de2899c2e908abbbe"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":0,"changed_files":1}}