{"action":"created","comment":{"url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/comments/208025845","pull_request_review_id":143756297,"id":208025845,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODAyNTg0NQ==","diff_hunk":"@@ -1129,6 +1134,12 @@ def run_all_rules(self):\n                 elastalert_logger.info(\"Ran %s from %s to %s: %s query hits (%s already seen), %s matches,\"\n                                        \" %s alerts sent\" % (rule['name'], old_starttime, pretty_ts(endtime, rule.get('use_local_time')),\n                                                             total_hits, self.num_dupes, num_matches, self.alerts_sent))\n+\n+                self.statsd.gauge('query.hits', total_hits)","path":"elastalert/elastalert.py","position":null,"original_position":29,"commit_id":"83ee344dc2c40190262a272bacae8a5172985596","original_commit_id":"f3576d300935ccb9a51a5495f73942dd0b36aa99","user":{"login":"shirpx","id":33197846,"node_id":"MDQ6VXNlcjMzMTk3ODQ2","avatar_url":"https://avatars0.githubusercontent.com/u/33197846?v=4","gravatar_id":"","url":"https://api.github.com/users/shirpx","html_url":"https://github.com/shirpx","followers_url":"https://api.github.com/users/shirpx/followers","following_url":"https://api.github.com/users/shirpx/following{/other_user}","gists_url":"https://api.github.com/users/shirpx/gists{/gist_id}","starred_url":"https://api.github.com/users/shirpx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirpx/subscriptions","organizations_url":"https://api.github.com/users/shirpx/orgs","repos_url":"https://api.github.com/users/shirpx/repos","events_url":"https://api.github.com/users/shirpx/events{/privacy}","received_events_url":"https://api.github.com/users/shirpx/received_events","type":"User","site_admin":false},"body":"added rule names and time in seconds metric","created_at":"2018-08-06T20:52:59Z","updated_at":"2018-08-06T20:52:59Z","html_url":"https://github.com/PerimeterX/elastalert/pull/20#discussion_r208025845","pull_request_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/comments/208025845"},"html":{"href":"https://github.com/PerimeterX/elastalert/pull/20#discussion_r208025845"},"pull_request":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20"}},"in_reply_to_id":207747045},"pull_request":{"url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20","id":206238915,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjM4OTE1","html_url":"https://github.com/PerimeterX/elastalert/pull/20","diff_url":"https://github.com/PerimeterX/elastalert/pull/20.diff","patch_url":"https://github.com/PerimeterX/elastalert/pull/20.patch","issue_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/20","number":20,"state":"open","locked":false,"title":"Dev multiple imports statsd2","user":{"login":"shirpx","id":33197846,"node_id":"MDQ6VXNlcjMzMTk3ODQ2","avatar_url":"https://avatars0.githubusercontent.com/u/33197846?v=4","gravatar_id":"","url":"https://api.github.com/users/shirpx","html_url":"https://github.com/shirpx","followers_url":"https://api.github.com/users/shirpx/followers","following_url":"https://api.github.com/users/shirpx/following{/other_user}","gists_url":"https://api.github.com/users/shirpx/gists{/gist_id}","starred_url":"https://api.github.com/users/shirpx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirpx/subscriptions","organizations_url":"https://api.github.com/users/shirpx/orgs","repos_url":"https://api.github.com/users/shirpx/repos","events_url":"https://api.github.com/users/shirpx/events{/privacy}","received_events_url":"https://api.github.com/users/shirpx/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-05T13:30:32Z","updated_at":"2018-08-06T20:52:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b818db1163aa75d97214cc76fa7db6ae5384127e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20/commits","review_comments_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20/comments","review_comment_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/20/comments","statuses_url":"https://api.github.com/repos/PerimeterX/elastalert/statuses/83ee344dc2c40190262a272bacae8a5172985596","head":{"label":"PerimeterX:dev-multiple-imports-statsd2","ref":"dev-multiple-imports-statsd2","sha":"83ee344dc2c40190262a272bacae8a5172985596","user":{"login":"PerimeterX","id":10051748,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUxNzQ4","avatar_url":"https://avatars3.githubusercontent.com/u/10051748?v=4","gravatar_id":"","url":"https://api.github.com/users/PerimeterX","html_url":"https://github.com/PerimeterX","followers_url":"https://api.github.com/users/PerimeterX/followers","following_url":"https://api.github.com/users/PerimeterX/following{/other_user}","gists_url":"https://api.github.com/users/PerimeterX/gists{/gist_id}","starred_url":"https://api.github.com/users/PerimeterX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerimeterX/subscriptions","organizations_url":"https://api.github.com/users/PerimeterX/orgs","repos_url":"https://api.github.com/users/PerimeterX/repos","events_url":"https://api.github.com/users/PerimeterX/events{/privacy}","received_events_url":"https://api.github.com/users/PerimeterX/received_events","type":"Organization","site_admin":false},"repo":{"id":95655111,"node_id":"MDEwOlJlcG9zaXRvcnk5NTY1NTExMQ==","name":"elastalert","full_name":"PerimeterX/elastalert","owner":{"login":"PerimeterX","id":10051748,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUxNzQ4","avatar_url":"https://avatars3.githubusercontent.com/u/10051748?v=4","gravatar_id":"","url":"https://api.github.com/users/PerimeterX","html_url":"https://github.com/PerimeterX","followers_url":"https://api.github.com/users/PerimeterX/followers","following_url":"https://api.github.com/users/PerimeterX/following{/other_user}","gists_url":"https://api.github.com/users/PerimeterX/gists{/gist_id}","starred_url":"https://api.github.com/users/PerimeterX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerimeterX/subscriptions","organizations_url":"https://api.github.com/users/PerimeterX/orgs","repos_url":"https://api.github.com/users/PerimeterX/repos","events_url":"https://api.github.com/users/PerimeterX/events{/privacy}","received_events_url":"https://api.github.com/users/PerimeterX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PerimeterX/elastalert","description":"Easy & Flexible Alerting With ElasticSearch","fork":true,"url":"https://api.github.com/repos/PerimeterX/elastalert","forks_url":"https://api.github.com/repos/PerimeterX/elastalert/forks","keys_url":"https://api.github.com/repos/PerimeterX/elastalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerimeterX/elastalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerimeterX/elastalert/teams","hooks_url":"https://api.github.com/repos/PerimeterX/elastalert/hooks","issue_events_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/events{/number}","events_url":"https://api.github.com/repos/PerimeterX/elastalert/events","assignees_url":"https://api.github.com/repos/PerimeterX/elastalert/assignees{/user}","branches_url":"https://api.github.com/repos/PerimeterX/elastalert/branches{/branch}","tags_url":"https://api.github.com/repos/PerimeterX/elastalert/tags","blobs_url":"https://api.github.com/repos/PerimeterX/elastalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerimeterX/elastalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerimeterX/elastalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerimeterX/elastalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerimeterX/elastalert/statuses/{sha}","languages_url":"https://api.github.com/repos/PerimeterX/elastalert/languages","stargazers_url":"https://api.github.com/repos/PerimeterX/elastalert/stargazers","contributors_url":"https://api.github.com/repos/PerimeterX/elastalert/contributors","subscribers_url":"https://api.github.com/repos/PerimeterX/elastalert/subscribers","subscription_url":"https://api.github.com/repos/PerimeterX/elastalert/subscription","commits_url":"https://api.github.com/repos/PerimeterX/elastalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerimeterX/elastalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerimeterX/elastalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerimeterX/elastalert/contents/{+path}","compare_url":"https://api.github.com/repos/PerimeterX/elastalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerimeterX/elastalert/merges","archive_url":"https://api.github.com/repos/PerimeterX/elastalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerimeterX/elastalert/downloads","issues_url":"https://api.github.com/repos/PerimeterX/elastalert/issues{/number}","pulls_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls{/number}","milestones_url":"https://api.github.com/repos/PerimeterX/elastalert/milestones{/number}","notifications_url":"https://api.github.com/repos/PerimeterX/elastalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerimeterX/elastalert/labels{/name}","releases_url":"https://api.github.com/repos/PerimeterX/elastalert/releases{/id}","deployments_url":"https://api.github.com/repos/PerimeterX/elastalert/deployments","created_at":"2017-06-28T09:58:40Z","updated_at":"2018-06-18T20:00:16Z","pushed_at":"2018-08-06T20:47:51Z","git_url":"git://github.com/PerimeterX/elastalert.git","ssh_url":"git@github.com:PerimeterX/elastalert.git","clone_url":"https://github.com/PerimeterX/elastalert.git","svn_url":"https://github.com/PerimeterX/elastalert","homepage":"https://elastalert.readthedocs.org","size":2883,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"PerimeterX:dev-multiple-imports","ref":"dev-multiple-imports","sha":"4f1c347076bfd165eb6b81557a69cccf0b764fa4","user":{"login":"PerimeterX","id":10051748,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUxNzQ4","avatar_url":"https://avatars3.githubusercontent.com/u/10051748?v=4","gravatar_id":"","url":"https://api.github.com/users/PerimeterX","html_url":"https://github.com/PerimeterX","followers_url":"https://api.github.com/users/PerimeterX/followers","following_url":"https://api.github.com/users/PerimeterX/following{/other_user}","gists_url":"https://api.github.com/users/PerimeterX/gists{/gist_id}","starred_url":"https://api.github.com/users/PerimeterX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerimeterX/subscriptions","organizations_url":"https://api.github.com/users/PerimeterX/orgs","repos_url":"https://api.github.com/users/PerimeterX/repos","events_url":"https://api.github.com/users/PerimeterX/events{/privacy}","received_events_url":"https://api.github.com/users/PerimeterX/received_events","type":"Organization","site_admin":false},"repo":{"id":95655111,"node_id":"MDEwOlJlcG9zaXRvcnk5NTY1NTExMQ==","name":"elastalert","full_name":"PerimeterX/elastalert","owner":{"login":"PerimeterX","id":10051748,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwMDUxNzQ4","avatar_url":"https://avatars3.githubusercontent.com/u/10051748?v=4","gravatar_id":"","url":"https://api.github.com/users/PerimeterX","html_url":"https://github.com/PerimeterX","followers_url":"https://api.github.com/users/PerimeterX/followers","following_url":"https://api.github.com/users/PerimeterX/following{/other_user}","gists_url":"https://api.github.com/users/PerimeterX/gists{/gist_id}","starred_url":"https://api.github.com/users/PerimeterX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PerimeterX/subscriptions","organizations_url":"https://api.github.com/users/PerimeterX/orgs","repos_url":"https://api.github.com/users/PerimeterX/repos","events_url":"https://api.github.com/users/PerimeterX/events{/privacy}","received_events_url":"https://api.github.com/users/PerimeterX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PerimeterX/elastalert","description":"Easy & Flexible Alerting With ElasticSearch","fork":true,"url":"https://api.github.com/repos/PerimeterX/elastalert","forks_url":"https://api.github.com/repos/PerimeterX/elastalert/forks","keys_url":"https://api.github.com/repos/PerimeterX/elastalert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PerimeterX/elastalert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PerimeterX/elastalert/teams","hooks_url":"https://api.github.com/repos/PerimeterX/elastalert/hooks","issue_events_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/events{/number}","events_url":"https://api.github.com/repos/PerimeterX/elastalert/events","assignees_url":"https://api.github.com/repos/PerimeterX/elastalert/assignees{/user}","branches_url":"https://api.github.com/repos/PerimeterX/elastalert/branches{/branch}","tags_url":"https://api.github.com/repos/PerimeterX/elastalert/tags","blobs_url":"https://api.github.com/repos/PerimeterX/elastalert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PerimeterX/elastalert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PerimeterX/elastalert/git/refs{/sha}","trees_url":"https://api.github.com/repos/PerimeterX/elastalert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PerimeterX/elastalert/statuses/{sha}","languages_url":"https://api.github.com/repos/PerimeterX/elastalert/languages","stargazers_url":"https://api.github.com/repos/PerimeterX/elastalert/stargazers","contributors_url":"https://api.github.com/repos/PerimeterX/elastalert/contributors","subscribers_url":"https://api.github.com/repos/PerimeterX/elastalert/subscribers","subscription_url":"https://api.github.com/repos/PerimeterX/elastalert/subscription","commits_url":"https://api.github.com/repos/PerimeterX/elastalert/commits{/sha}","git_commits_url":"https://api.github.com/repos/PerimeterX/elastalert/git/commits{/sha}","comments_url":"https://api.github.com/repos/PerimeterX/elastalert/comments{/number}","issue_comment_url":"https://api.github.com/repos/PerimeterX/elastalert/issues/comments{/number}","contents_url":"https://api.github.com/repos/PerimeterX/elastalert/contents/{+path}","compare_url":"https://api.github.com/repos/PerimeterX/elastalert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PerimeterX/elastalert/merges","archive_url":"https://api.github.com/repos/PerimeterX/elastalert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PerimeterX/elastalert/downloads","issues_url":"https://api.github.com/repos/PerimeterX/elastalert/issues{/number}","pulls_url":"https://api.github.com/repos/PerimeterX/elastalert/pulls{/number}","milestones_url":"https://api.github.com/repos/PerimeterX/elastalert/milestones{/number}","notifications_url":"https://api.github.com/repos/PerimeterX/elastalert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PerimeterX/elastalert/labels{/name}","releases_url":"https://api.github.com/repos/PerimeterX/elastalert/releases{/id}","deployments_url":"https://api.github.com/repos/PerimeterX/elastalert/deployments","created_at":"2017-06-28T09:58:40Z","updated_at":"2018-06-18T20:00:16Z","pushed_at":"2018-08-06T20:47:51Z","git_url":"git://github.com/PerimeterX/elastalert.git","ssh_url":"git@github.com:PerimeterX/elastalert.git","clone_url":"https://github.com/PerimeterX/elastalert.git","svn_url":"https://github.com/PerimeterX/elastalert","homepage":"https://elastalert.readthedocs.org","size":2883,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20"},"html":{"href":"https://github.com/PerimeterX/elastalert/pull/20"},"issue":{"href":"https://api.github.com/repos/PerimeterX/elastalert/issues/20"},"comments":{"href":"https://api.github.com/repos/PerimeterX/elastalert/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PerimeterX/elastalert/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/PerimeterX/elastalert/statuses/83ee344dc2c40190262a272bacae8a5172985596"}},"author_association":"NONE"}}
{"actor":{"display_login":"shirpx"}}