{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10","id":52786111,"html_url":"https://github.com/RuntimeTools/appmetrics-elk/pull/10","diff_url":"https://github.com/RuntimeTools/appmetrics-elk/pull/10.diff","patch_url":"https://github.com/RuntimeTools/appmetrics-elk/pull/10.patch","issue_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/10","number":10,"state":"open","locked":false,"title":"Add error checking for failed ES connections","user":{"login":"seabaylea","id":11974522,"avatar_url":"https://avatars.githubusercontent.com/u/11974522?v=3","gravatar_id":"","url":"https://api.github.com/users/seabaylea","html_url":"https://github.com/seabaylea","followers_url":"https://api.github.com/users/seabaylea/followers","following_url":"https://api.github.com/users/seabaylea/following{/other_user}","gists_url":"https://api.github.com/users/seabaylea/gists{/gist_id}","starred_url":"https://api.github.com/users/seabaylea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seabaylea/subscriptions","organizations_url":"https://api.github.com/users/seabaylea/orgs","repos_url":"https://api.github.com/users/seabaylea/repos","events_url":"https://api.github.com/users/seabaylea/events{/privacy}","received_events_url":"https://api.github.com/users/seabaylea/received_events","type":"User","site_admin":false},"body":"This PR covers issue #5 \r\n\r\nThere appears to be no easy way of determining that the connection has failed due to an invalid URL (vs. a temporary failure), so the best that can be done is to do better error handling on the client calls - which we should have been doing anyway.","created_at":"2015-12-06T18:07:33Z","updated_at":"2015-12-06T18:07:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10/commits","review_comments_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10/comments","review_comment_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/10/comments","statuses_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/statuses/abff2e404c60448e4e098ad6359b916afeba6ca5","head":{"label":"seabaylea:invalid-url","ref":"invalid-url","sha":"abff2e404c60448e4e098ad6359b916afeba6ca5","user":{"login":"seabaylea","id":11974522,"avatar_url":"https://avatars.githubusercontent.com/u/11974522?v=3","gravatar_id":"","url":"https://api.github.com/users/seabaylea","html_url":"https://github.com/seabaylea","followers_url":"https://api.github.com/users/seabaylea/followers","following_url":"https://api.github.com/users/seabaylea/following{/other_user}","gists_url":"https://api.github.com/users/seabaylea/gists{/gist_id}","starred_url":"https://api.github.com/users/seabaylea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seabaylea/subscriptions","organizations_url":"https://api.github.com/users/seabaylea/orgs","repos_url":"https://api.github.com/users/seabaylea/repos","events_url":"https://api.github.com/users/seabaylea/events{/privacy}","received_events_url":"https://api.github.com/users/seabaylea/received_events","type":"User","site_admin":false},"repo":{"id":42058093,"name":"appmetrics-elk","full_name":"seabaylea/appmetrics-elk","owner":{"login":"seabaylea","id":11974522,"avatar_url":"https://avatars.githubusercontent.com/u/11974522?v=3","gravatar_id":"","url":"https://api.github.com/users/seabaylea","html_url":"https://github.com/seabaylea","followers_url":"https://api.github.com/users/seabaylea/followers","following_url":"https://api.github.com/users/seabaylea/following{/other_user}","gists_url":"https://api.github.com/users/seabaylea/gists{/gist_id}","starred_url":"https://api.github.com/users/seabaylea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seabaylea/subscriptions","organizations_url":"https://api.github.com/users/seabaylea/orgs","repos_url":"https://api.github.com/users/seabaylea/repos","events_url":"https://api.github.com/users/seabaylea/events{/privacy}","received_events_url":"https://api.github.com/users/seabaylea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seabaylea/appmetrics-elk","description":"A connector that collects data using 'appmetrics' and sends it to ElasticSearch for use with Kibana","fork":true,"url":"https://api.github.com/repos/seabaylea/appmetrics-elk","forks_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/forks","keys_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/teams","hooks_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/hooks","issue_events_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/issues/events{/number}","events_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/events","assignees_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/assignees{/user}","branches_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/branches{/branch}","tags_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/tags","blobs_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/git/refs{/sha}","trees_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/statuses/{sha}","languages_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/languages","stargazers_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/stargazers","contributors_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/contributors","subscribers_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/subscribers","subscription_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/subscription","commits_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/commits{/sha}","git_commits_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/git/commits{/sha}","comments_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/comments{/number}","issue_comment_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/issues/comments{/number}","contents_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/contents/{+path}","compare_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/merges","archive_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/downloads","issues_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/issues{/number}","pulls_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/pulls{/number}","milestones_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/milestones{/number}","notifications_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/labels{/name}","releases_url":"https://api.github.com/repos/seabaylea/appmetrics-elk/releases{/id}","created_at":"2015-09-07T14:42:57Z","updated_at":"2015-09-07T14:42:58Z","pushed_at":"2015-12-06T18:02:53Z","git_url":"git://github.com/seabaylea/appmetrics-elk.git","ssh_url":"git@github.com:seabaylea/appmetrics-elk.git","clone_url":"https://github.com/seabaylea/appmetrics-elk.git","svn_url":"https://github.com/seabaylea/appmetrics-elk","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RuntimeTools:master","ref":"master","sha":"cc382486886f12a997c3eef7d3894e5fe4c0e778","user":{"login":"RuntimeTools","id":13256926,"avatar_url":"https://avatars.githubusercontent.com/u/13256926?v=3","gravatar_id":"","url":"https://api.github.com/users/RuntimeTools","html_url":"https://github.com/RuntimeTools","followers_url":"https://api.github.com/users/RuntimeTools/followers","following_url":"https://api.github.com/users/RuntimeTools/following{/other_user}","gists_url":"https://api.github.com/users/RuntimeTools/gists{/gist_id}","starred_url":"https://api.github.com/users/RuntimeTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuntimeTools/subscriptions","organizations_url":"https://api.github.com/users/RuntimeTools/orgs","repos_url":"https://api.github.com/users/RuntimeTools/repos","events_url":"https://api.github.com/users/RuntimeTools/events{/privacy}","received_events_url":"https://api.github.com/users/RuntimeTools/received_events","type":"Organization","site_admin":false},"repo":{"id":42055789,"name":"appmetrics-elk","full_name":"RuntimeTools/appmetrics-elk","owner":{"login":"RuntimeTools","id":13256926,"avatar_url":"https://avatars.githubusercontent.com/u/13256926?v=3","gravatar_id":"","url":"https://api.github.com/users/RuntimeTools","html_url":"https://github.com/RuntimeTools","followers_url":"https://api.github.com/users/RuntimeTools/followers","following_url":"https://api.github.com/users/RuntimeTools/following{/other_user}","gists_url":"https://api.github.com/users/RuntimeTools/gists{/gist_id}","starred_url":"https://api.github.com/users/RuntimeTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuntimeTools/subscriptions","organizations_url":"https://api.github.com/users/RuntimeTools/orgs","repos_url":"https://api.github.com/users/RuntimeTools/repos","events_url":"https://api.github.com/users/RuntimeTools/events{/privacy}","received_events_url":"https://api.github.com/users/RuntimeTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RuntimeTools/appmetrics-elk","description":"A connector that collects data using 'appmetrics' and sends it to ElasticSearch for use with Kibana","fork":false,"url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk","forks_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/forks","keys_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/teams","hooks_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/hooks","issue_events_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/events{/number}","events_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/events","assignees_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/assignees{/user}","branches_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/branches{/branch}","tags_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/tags","blobs_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/git/refs{/sha}","trees_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/statuses/{sha}","languages_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/languages","stargazers_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/stargazers","contributors_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/contributors","subscribers_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/subscribers","subscription_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/subscription","commits_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/commits{/sha}","git_commits_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/git/commits{/sha}","comments_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/comments{/number}","issue_comment_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/comments{/number}","contents_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/contents/{+path}","compare_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/merges","archive_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/downloads","issues_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues{/number}","pulls_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls{/number}","milestones_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/milestones{/number}","notifications_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/labels{/name}","releases_url":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/releases{/id}","created_at":"2015-09-07T13:56:42Z","updated_at":"2015-10-28T15:19:28Z","pushed_at":"2015-12-06T18:07:33Z","git_url":"git://github.com/RuntimeTools/appmetrics-elk.git","ssh_url":"git@github.com:RuntimeTools/appmetrics-elk.git","clone_url":"https://github.com/RuntimeTools/appmetrics-elk.git","svn_url":"https://github.com/RuntimeTools/appmetrics-elk","homepage":null,"size":186,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10"},"html":{"href":"https://github.com/RuntimeTools/appmetrics-elk/pull/10"},"issue":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/10"},"comments":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/RuntimeTools/appmetrics-elk/statuses/abff2e404c60448e4e098ad6359b916afeba6ca5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":4,"changed_files":1}}