{"action":"created","comment":{"url":"https://api.github.com/repos/cantino/huginn/pulls/comments/63332336","id":63332336,"diff_hunk":"@@ -8,6 +8,11 @@ class GapDetectorAgent < Agent\n       The `value_path` value is a [JSONPath](http://goessner.net/articles/JsonPath/) to a value of interest. If either\n       this value is empty, or no Events are received, during `window_duration_in_days`, an Event will be created with\n       a payload of `message`.\n+\n+      The `stream_path` value is a [JSONPath](http://goessner.net/articles/JsonPath/) to a value in the event that will","path":"app/models/agents/gap_detector_agent.rb","position":5,"original_position":5,"commit_id":"1f1331fcfaa4ebb035ab2872ba20646786c2e80b","original_commit_id":"1f1331fcfaa4ebb035ab2872ba20646786c2e80b","user":{"login":"dsander","id":20943,"avatar_url":"https://avatars.githubusercontent.com/u/20943?v=3","gravatar_id":"","url":"https://api.github.com/users/dsander","html_url":"https://github.com/dsander","followers_url":"https://api.github.com/users/dsander/followers","following_url":"https://api.github.com/users/dsander/following{/other_user}","gists_url":"https://api.github.com/users/dsander/gists{/gist_id}","starred_url":"https://api.github.com/users/dsander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsander/subscriptions","organizations_url":"https://api.github.com/users/dsander/orgs","repos_url":"https://api.github.com/users/dsander/repos","events_url":"https://api.github.com/users/dsander/events{/privacy}","received_events_url":"https://api.github.com/users/dsander/received_events","type":"User","site_admin":false},"body":"Would it make sense to change that option to a boolean flag like `detect_gaps_in_values`? The first time I read the description I thought `stream_path` would have a completely different behavior, which it doesn't.","created_at":"2016-05-16T10:00:06Z","updated_at":"2016-05-16T10:00:06Z","html_url":"https://github.com/cantino/huginn/pull/1496#discussion_r63332336","pull_request_url":"https://api.github.com/repos/cantino/huginn/pulls/1496","_links":{"self":{"href":"https://api.github.com/repos/cantino/huginn/pulls/comments/63332336"},"html":{"href":"https://github.com/cantino/huginn/pull/1496#discussion_r63332336"},"pull_request":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1496"}}},"pull_request":{"url":"https://api.github.com/repos/cantino/huginn/pulls/1496","id":69890986,"html_url":"https://github.com/cantino/huginn/pull/1496","diff_url":"https://github.com/cantino/huginn/pull/1496.diff","patch_url":"https://github.com/cantino/huginn/pull/1496.patch","issue_url":"https://api.github.com/repos/cantino/huginn/issues/1496","number":1496,"state":"open","locked":false,"title":"Add multi stream support to gap detector","user":{"login":"nestegg","id":6655,"avatar_url":"https://avatars.githubusercontent.com/u/6655?v=3","gravatar_id":"","url":"https://api.github.com/users/nestegg","html_url":"https://github.com/nestegg","followers_url":"https://api.github.com/users/nestegg/followers","following_url":"https://api.github.com/users/nestegg/following{/other_user}","gists_url":"https://api.github.com/users/nestegg/gists{/gist_id}","starred_url":"https://api.github.com/users/nestegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nestegg/subscriptions","organizations_url":"https://api.github.com/users/nestegg/orgs","repos_url":"https://api.github.com/users/nestegg/repos","events_url":"https://api.github.com/users/nestegg/events{/privacy}","received_events_url":"https://api.github.com/users/nestegg/received_events","type":"User","site_admin":false},"body":"Add the ability of the gap detector to monitor multiple streams based on a parameter in the event payload.","created_at":"2016-05-12T19:13:42Z","updated_at":"2016-05-16T10:00:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50df96287c700d7003232701af1db244a4c4033f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cantino/huginn/pulls/1496/commits","review_comments_url":"https://api.github.com/repos/cantino/huginn/pulls/1496/comments","review_comment_url":"https://api.github.com/repos/cantino/huginn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/1496/comments","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/1f1331fcfaa4ebb035ab2872ba20646786c2e80b","head":{"label":"nestegg:multistream_gap_detector3","ref":"multistream_gap_detector3","sha":"1f1331fcfaa4ebb035ab2872ba20646786c2e80b","user":{"login":"nestegg","id":6655,"avatar_url":"https://avatars.githubusercontent.com/u/6655?v=3","gravatar_id":"","url":"https://api.github.com/users/nestegg","html_url":"https://github.com/nestegg","followers_url":"https://api.github.com/users/nestegg/followers","following_url":"https://api.github.com/users/nestegg/following{/other_user}","gists_url":"https://api.github.com/users/nestegg/gists{/gist_id}","starred_url":"https://api.github.com/users/nestegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nestegg/subscriptions","organizations_url":"https://api.github.com/users/nestegg/orgs","repos_url":"https://api.github.com/users/nestegg/repos","events_url":"https://api.github.com/users/nestegg/events{/privacy}","received_events_url":"https://api.github.com/users/nestegg/received_events","type":"User","site_admin":false},"repo":{"id":56534861,"name":"huginn","full_name":"nestegg/huginn","owner":{"login":"nestegg","id":6655,"avatar_url":"https://avatars.githubusercontent.com/u/6655?v=3","gravatar_id":"","url":"https://api.github.com/users/nestegg","html_url":"https://github.com/nestegg","followers_url":"https://api.github.com/users/nestegg/followers","following_url":"https://api.github.com/users/nestegg/following{/other_user}","gists_url":"https://api.github.com/users/nestegg/gists{/gist_id}","starred_url":"https://api.github.com/users/nestegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nestegg/subscriptions","organizations_url":"https://api.github.com/users/nestegg/orgs","repos_url":"https://api.github.com/users/nestegg/repos","events_url":"https://api.github.com/users/nestegg/events{/privacy}","received_events_url":"https://api.github.com/users/nestegg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nestegg/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":true,"url":"https://api.github.com/repos/nestegg/huginn","forks_url":"https://api.github.com/repos/nestegg/huginn/forks","keys_url":"https://api.github.com/repos/nestegg/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nestegg/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nestegg/huginn/teams","hooks_url":"https://api.github.com/repos/nestegg/huginn/hooks","issue_events_url":"https://api.github.com/repos/nestegg/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/nestegg/huginn/events","assignees_url":"https://api.github.com/repos/nestegg/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/nestegg/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/nestegg/huginn/tags","blobs_url":"https://api.github.com/repos/nestegg/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nestegg/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nestegg/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/nestegg/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nestegg/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/nestegg/huginn/languages","stargazers_url":"https://api.github.com/repos/nestegg/huginn/stargazers","contributors_url":"https://api.github.com/repos/nestegg/huginn/contributors","subscribers_url":"https://api.github.com/repos/nestegg/huginn/subscribers","subscription_url":"https://api.github.com/repos/nestegg/huginn/subscription","commits_url":"https://api.github.com/repos/nestegg/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/nestegg/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/nestegg/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/nestegg/huginn/issues/comments{/number}","contents_url":"https://api.github.com/repos/nestegg/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/nestegg/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nestegg/huginn/merges","archive_url":"https://api.github.com/repos/nestegg/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nestegg/huginn/downloads","issues_url":"https://api.github.com/repos/nestegg/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/nestegg/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/nestegg/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/nestegg/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nestegg/huginn/labels{/name}","releases_url":"https://api.github.com/repos/nestegg/huginn/releases{/id}","deployments_url":"https://api.github.com/repos/nestegg/huginn/deployments","created_at":"2016-04-18T19:13:44Z","updated_at":"2016-04-18T19:13:46Z","pushed_at":"2016-05-12T19:09:41Z","git_url":"git://github.com/nestegg/huginn.git","ssh_url":"git@github.com:nestegg/huginn.git","clone_url":"https://github.com/nestegg/huginn.git","svn_url":"https://github.com/nestegg/huginn","homepage":null,"size":6538,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"cantino:master","ref":"master","sha":"9202c84406ad26be520e1e14a2fdca03201ad829","user":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"repo":{"id":8681349,"name":"huginn","full_name":"cantino/huginn","owner":{"login":"cantino","id":83835,"avatar_url":"https://avatars.githubusercontent.com/u/83835?v=3","gravatar_id":"","url":"https://api.github.com/users/cantino","html_url":"https://github.com/cantino","followers_url":"https://api.github.com/users/cantino/followers","following_url":"https://api.github.com/users/cantino/following{/other_user}","gists_url":"https://api.github.com/users/cantino/gists{/gist_id}","starred_url":"https://api.github.com/users/cantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantino/subscriptions","organizations_url":"https://api.github.com/users/cantino/orgs","repos_url":"https://api.github.com/users/cantino/repos","events_url":"https://api.github.com/users/cantino/events{/privacy}","received_events_url":"https://api.github.com/users/cantino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cantino/huginn","description":"Build agents that monitor and act on your behalf.  Your agents are standing by!","fork":false,"url":"https://api.github.com/repos/cantino/huginn","forks_url":"https://api.github.com/repos/cantino/huginn/forks","keys_url":"https://api.github.com/repos/cantino/huginn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cantino/huginn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cantino/huginn/teams","hooks_url":"https://api.github.com/repos/cantino/huginn/hooks","issue_events_url":"https://api.github.com/repos/cantino/huginn/issues/events{/number}","events_url":"https://api.github.com/repos/cantino/huginn/events","assignees_url":"https://api.github.com/repos/cantino/huginn/assignees{/user}","branches_url":"https://api.github.com/repos/cantino/huginn/branches{/branch}","tags_url":"https://api.github.com/repos/cantino/huginn/tags","blobs_url":"https://api.github.com/repos/cantino/huginn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cantino/huginn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cantino/huginn/git/refs{/sha}","trees_url":"https://api.github.com/repos/cantino/huginn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cantino/huginn/statuses/{sha}","languages_url":"https://api.github.com/repos/cantino/huginn/languages","stargazers_url":"https://api.github.com/repos/cantino/huginn/stargazers","contributors_url":"https://api.github.com/repos/cantino/huginn/contributors","subscribers_url":"https://api.github.com/repos/cantino/huginn/subscribers","subscription_url":"https://api.github.com/repos/cantino/huginn/subscription","commits_url":"https://api.github.com/repos/cantino/huginn/commits{/sha}","git_commits_url":"https://api.github.com/repos/cantino/huginn/git/commits{/sha}","comments_url":"https://api.github.com/repos/cantino/huginn/comments{/number}","issue_comment_url":"https://api.github.com/repos/cantino/huginn/issues/comments{/number}","contents_url":"https://api.github.com/repos/cantino/huginn/contents/{+path}","compare_url":"https://api.github.com/repos/cantino/huginn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cantino/huginn/merges","archive_url":"https://api.github.com/repos/cantino/huginn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cantino/huginn/downloads","issues_url":"https://api.github.com/repos/cantino/huginn/issues{/number}","pulls_url":"https://api.github.com/repos/cantino/huginn/pulls{/number}","milestones_url":"https://api.github.com/repos/cantino/huginn/milestones{/number}","notifications_url":"https://api.github.com/repos/cantino/huginn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cantino/huginn/labels{/name}","releases_url":"https://api.github.com/repos/cantino/huginn/releases{/id}","deployments_url":"https://api.github.com/repos/cantino/huginn/deployments","created_at":"2013-03-10T06:00:31Z","updated_at":"2016-05-16T06:39:05Z","pushed_at":"2016-05-16T03:59:59Z","git_url":"git://github.com/cantino/huginn.git","ssh_url":"git@github.com:cantino/huginn.git","clone_url":"https://github.com/cantino/huginn.git","svn_url":"https://github.com/cantino/huginn","homepage":null,"size":8992,"stargazers_count":13978,"watchers_count":13978,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1473,"mirror_url":null,"open_issues_count":194,"forks":1473,"open_issues":194,"watchers":13978,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1496"},"html":{"href":"https://github.com/cantino/huginn/pull/1496"},"issue":{"href":"https://api.github.com/repos/cantino/huginn/issues/1496"},"comments":{"href":"https://api.github.com/repos/cantino/huginn/issues/1496/comments"},"review_comments":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1496/comments"},"review_comment":{"href":"https://api.github.com/repos/cantino/huginn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cantino/huginn/pulls/1496/commits"},"statuses":{"href":"https://api.github.com/repos/cantino/huginn/statuses/1f1331fcfaa4ebb035ab2872ba20646786c2e80b"}}}}