{"action":"created","comment":{"url":"https://api.github.com/repos/seecloud/health/pulls/comments/88436445","pull_request_review_id":9008737,"id":88436445,"diff_hunk":"@@ -49,16 +54,12 @@\n \n AGG_REQUEST = {\n     \"query\": {\n-        \"filtered\": {\n-            \"filter\": {\n-                \"and\": {\n-                    \"filters\": [\n-                      {\"exists\": {\"field\": \"http_method\"}},\n-                      {\"exists\": {\"field\": \"http_status\"}},\n-                      {\"exists\": {\"field\": \"http_response_time\"}}\n-                    ]\n-                }\n-            }\n+        \"bool\": {","path":"health/drivers/tcp/driver.py","position":32,"original_position":32,"commit_id":"140d95f9620334fd56ffcfff74e609bc7e36bc14","original_commit_id":"140d95f9620334fd56ffcfff74e609bc7e36bc14","user":{"login":"teferi","id":109442,"avatar_url":"https://avatars.githubusercontent.com/u/109442?v=3","gravatar_id":"","url":"https://api.github.com/users/teferi","html_url":"https://github.com/teferi","followers_url":"https://api.github.com/users/teferi/followers","following_url":"https://api.github.com/users/teferi/following{/other_user}","gists_url":"https://api.github.com/users/teferi/gists{/gist_id}","starred_url":"https://api.github.com/users/teferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teferi/subscriptions","organizations_url":"https://api.github.com/users/teferi/orgs","repos_url":"https://api.github.com/users/teferi/repos","events_url":"https://api.github.com/users/teferi/events{/privacy}","received_events_url":"https://api.github.com/users/teferi/received_events","type":"User","site_admin":false},"body":"yep, filter query has been replaced with bool query https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html","created_at":"2016-11-17T11:43:30Z","updated_at":"2016-11-17T11:43:30Z","html_url":"https://github.com/seecloud/health/pull/8#discussion_r88436445","pull_request_url":"https://api.github.com/repos/seecloud/health/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/seecloud/health/pulls/comments/88436445"},"html":{"href":"https://github.com/seecloud/health/pull/8#discussion_r88436445"},"pull_request":{"href":"https://api.github.com/repos/seecloud/health/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/seecloud/health/pulls/8","id":93567175,"html_url":"https://github.com/seecloud/health/pull/8","diff_url":"https://github.com/seecloud/health/pull/8.diff","patch_url":"https://github.com/seecloud/health/pull/8.patch","issue_url":"https://api.github.com/repos/seecloud/health/issues/8","number":8,"state":"open","locked":false,"title":"Add api service to health","user":{"login":"teferi","id":109442,"avatar_url":"https://avatars.githubusercontent.com/u/109442?v=3","gravatar_id":"","url":"https://api.github.com/users/teferi","html_url":"https://github.com/teferi","followers_url":"https://api.github.com/users/teferi/followers","following_url":"https://api.github.com/users/teferi/following{/other_user}","gists_url":"https://api.github.com/users/teferi/gists{/gist_id}","starred_url":"https://api.github.com/users/teferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teferi/subscriptions","organizations_url":"https://api.github.com/users/teferi/orgs","repos_url":"https://api.github.com/users/teferi/repos","events_url":"https://api.github.com/users/teferi/events{/privacy}","received_events_url":"https://api.github.com/users/teferi/received_events","type":"User","site_admin":false},"body":"This commit adds health api, that queries elasticsearch for aggregated\r\nhealth status. Health aggregation job has been moved to a separate file\r\nand dockerfile has been modified to run main.sh, that can run either of\r\njob or api (or both).","created_at":"2016-11-14T13:35:28Z","updated_at":"2016-11-17T11:43:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9af4c7b2b221c061a447ec39c943104e0fde7bbf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seecloud/health/pulls/8/commits","review_comments_url":"https://api.github.com/repos/seecloud/health/pulls/8/comments","review_comment_url":"https://api.github.com/repos/seecloud/health/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seecloud/health/issues/8/comments","statuses_url":"https://api.github.com/repos/seecloud/health/statuses/140d95f9620334fd56ffcfff74e609bc7e36bc14","head":{"label":"teferi:api","ref":"api","sha":"140d95f9620334fd56ffcfff74e609bc7e36bc14","user":{"login":"teferi","id":109442,"avatar_url":"https://avatars.githubusercontent.com/u/109442?v=3","gravatar_id":"","url":"https://api.github.com/users/teferi","html_url":"https://github.com/teferi","followers_url":"https://api.github.com/users/teferi/followers","following_url":"https://api.github.com/users/teferi/following{/other_user}","gists_url":"https://api.github.com/users/teferi/gists{/gist_id}","starred_url":"https://api.github.com/users/teferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teferi/subscriptions","organizations_url":"https://api.github.com/users/teferi/orgs","repos_url":"https://api.github.com/users/teferi/repos","events_url":"https://api.github.com/users/teferi/events{/privacy}","received_events_url":"https://api.github.com/users/teferi/received_events","type":"User","site_admin":false},"repo":{"id":73707631,"name":"health","full_name":"teferi/health","owner":{"login":"teferi","id":109442,"avatar_url":"https://avatars.githubusercontent.com/u/109442?v=3","gravatar_id":"","url":"https://api.github.com/users/teferi","html_url":"https://github.com/teferi","followers_url":"https://api.github.com/users/teferi/followers","following_url":"https://api.github.com/users/teferi/following{/other_user}","gists_url":"https://api.github.com/users/teferi/gists{/gist_id}","starred_url":"https://api.github.com/users/teferi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teferi/subscriptions","organizations_url":"https://api.github.com/users/teferi/orgs","repos_url":"https://api.github.com/users/teferi/repos","events_url":"https://api.github.com/users/teferi/events{/privacy}","received_events_url":"https://api.github.com/users/teferi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/teferi/health","description":"Aggregate HTTP requests logs from ElasticSearch & stores aggregated results back to ElasticSearch","fork":true,"url":"https://api.github.com/repos/teferi/health","forks_url":"https://api.github.com/repos/teferi/health/forks","keys_url":"https://api.github.com/repos/teferi/health/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teferi/health/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teferi/health/teams","hooks_url":"https://api.github.com/repos/teferi/health/hooks","issue_events_url":"https://api.github.com/repos/teferi/health/issues/events{/number}","events_url":"https://api.github.com/repos/teferi/health/events","assignees_url":"https://api.github.com/repos/teferi/health/assignees{/user}","branches_url":"https://api.github.com/repos/teferi/health/branches{/branch}","tags_url":"https://api.github.com/repos/teferi/health/tags","blobs_url":"https://api.github.com/repos/teferi/health/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teferi/health/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teferi/health/git/refs{/sha}","trees_url":"https://api.github.com/repos/teferi/health/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teferi/health/statuses/{sha}","languages_url":"https://api.github.com/repos/teferi/health/languages","stargazers_url":"https://api.github.com/repos/teferi/health/stargazers","contributors_url":"https://api.github.com/repos/teferi/health/contributors","subscribers_url":"https://api.github.com/repos/teferi/health/subscribers","subscription_url":"https://api.github.com/repos/teferi/health/subscription","commits_url":"https://api.github.com/repos/teferi/health/commits{/sha}","git_commits_url":"https://api.github.com/repos/teferi/health/git/commits{/sha}","comments_url":"https://api.github.com/repos/teferi/health/comments{/number}","issue_comment_url":"https://api.github.com/repos/teferi/health/issues/comments{/number}","contents_url":"https://api.github.com/repos/teferi/health/contents/{+path}","compare_url":"https://api.github.com/repos/teferi/health/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teferi/health/merges","archive_url":"https://api.github.com/repos/teferi/health/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teferi/health/downloads","issues_url":"https://api.github.com/repos/teferi/health/issues{/number}","pulls_url":"https://api.github.com/repos/teferi/health/pulls{/number}","milestones_url":"https://api.github.com/repos/teferi/health/milestones{/number}","notifications_url":"https://api.github.com/repos/teferi/health/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teferi/health/labels{/name}","releases_url":"https://api.github.com/repos/teferi/health/releases{/id}","deployments_url":"https://api.github.com/repos/teferi/health/deployments","created_at":"2016-11-14T13:33:22Z","updated_at":"2016-11-14T13:33:23Z","pushed_at":"2016-11-16T15:35:42Z","git_url":"git://github.com/teferi/health.git","ssh_url":"git@github.com:teferi/health.git","clone_url":"https://github.com/teferi/health.git","svn_url":"https://github.com/teferi/health","homepage":null,"size":769,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"seecloud:master","ref":"master","sha":"7c01b8b78f7d7c78d8e15044b071a29694ed6177","user":{"login":"seecloud","id":21331534,"avatar_url":"https://avatars.githubusercontent.com/u/21331534?v=3","gravatar_id":"","url":"https://api.github.com/users/seecloud","html_url":"https://github.com/seecloud","followers_url":"https://api.github.com/users/seecloud/followers","following_url":"https://api.github.com/users/seecloud/following{/other_user}","gists_url":"https://api.github.com/users/seecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/seecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seecloud/subscriptions","organizations_url":"https://api.github.com/users/seecloud/orgs","repos_url":"https://api.github.com/users/seecloud/repos","events_url":"https://api.github.com/users/seecloud/events{/privacy}","received_events_url":"https://api.github.com/users/seecloud/received_events","type":"Organization","site_admin":false},"repo":{"id":68767580,"name":"health","full_name":"seecloud/health","owner":{"login":"seecloud","id":21331534,"avatar_url":"https://avatars.githubusercontent.com/u/21331534?v=3","gravatar_id":"","url":"https://api.github.com/users/seecloud","html_url":"https://github.com/seecloud","followers_url":"https://api.github.com/users/seecloud/followers","following_url":"https://api.github.com/users/seecloud/following{/other_user}","gists_url":"https://api.github.com/users/seecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/seecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seecloud/subscriptions","organizations_url":"https://api.github.com/users/seecloud/orgs","repos_url":"https://api.github.com/users/seecloud/repos","events_url":"https://api.github.com/users/seecloud/events{/privacy}","received_events_url":"https://api.github.com/users/seecloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seecloud/health","description":"Aggregate HTTP requests logs from ElasticSearch & stores aggregated results back to ElasticSearch","fork":false,"url":"https://api.github.com/repos/seecloud/health","forks_url":"https://api.github.com/repos/seecloud/health/forks","keys_url":"https://api.github.com/repos/seecloud/health/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seecloud/health/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seecloud/health/teams","hooks_url":"https://api.github.com/repos/seecloud/health/hooks","issue_events_url":"https://api.github.com/repos/seecloud/health/issues/events{/number}","events_url":"https://api.github.com/repos/seecloud/health/events","assignees_url":"https://api.github.com/repos/seecloud/health/assignees{/user}","branches_url":"https://api.github.com/repos/seecloud/health/branches{/branch}","tags_url":"https://api.github.com/repos/seecloud/health/tags","blobs_url":"https://api.github.com/repos/seecloud/health/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seecloud/health/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seecloud/health/git/refs{/sha}","trees_url":"https://api.github.com/repos/seecloud/health/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seecloud/health/statuses/{sha}","languages_url":"https://api.github.com/repos/seecloud/health/languages","stargazers_url":"https://api.github.com/repos/seecloud/health/stargazers","contributors_url":"https://api.github.com/repos/seecloud/health/contributors","subscribers_url":"https://api.github.com/repos/seecloud/health/subscribers","subscription_url":"https://api.github.com/repos/seecloud/health/subscription","commits_url":"https://api.github.com/repos/seecloud/health/commits{/sha}","git_commits_url":"https://api.github.com/repos/seecloud/health/git/commits{/sha}","comments_url":"https://api.github.com/repos/seecloud/health/comments{/number}","issue_comment_url":"https://api.github.com/repos/seecloud/health/issues/comments{/number}","contents_url":"https://api.github.com/repos/seecloud/health/contents/{+path}","compare_url":"https://api.github.com/repos/seecloud/health/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seecloud/health/merges","archive_url":"https://api.github.com/repos/seecloud/health/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seecloud/health/downloads","issues_url":"https://api.github.com/repos/seecloud/health/issues{/number}","pulls_url":"https://api.github.com/repos/seecloud/health/pulls{/number}","milestones_url":"https://api.github.com/repos/seecloud/health/milestones{/number}","notifications_url":"https://api.github.com/repos/seecloud/health/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seecloud/health/labels{/name}","releases_url":"https://api.github.com/repos/seecloud/health/releases{/id}","deployments_url":"https://api.github.com/repos/seecloud/health/deployments","created_at":"2016-09-21T01:28:26Z","updated_at":"2016-11-16T23:04:14Z","pushed_at":"2016-11-16T23:04:13Z","git_url":"git://github.com/seecloud/health.git","ssh_url":"git@github.com:seecloud/health.git","clone_url":"https://github.com/seecloud/health.git","svn_url":"https://github.com/seecloud/health","homepage":null,"size":778,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seecloud/health/pulls/8"},"html":{"href":"https://github.com/seecloud/health/pull/8"},"issue":{"href":"https://api.github.com/repos/seecloud/health/issues/8"},"comments":{"href":"https://api.github.com/repos/seecloud/health/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/seecloud/health/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/seecloud/health/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seecloud/health/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/seecloud/health/statuses/140d95f9620334fd56ffcfff74e609bc7e36bc14"}}}}
{"actor":{"display_login":"teferi"}}