{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/spotify/heroic/pulls/22","id":57273651,"html_url":"https://github.com/spotify/heroic/pull/22","diff_url":"https://github.com/spotify/heroic/pull/22.diff","patch_url":"https://github.com/spotify/heroic/pull/22.patch","issue_url":"https://api.github.com/repos/spotify/heroic/issues/22","number":22,"state":"open","locked":false,"title":"Add support FilterK aggregations","user":{"login":"juruen","id":11424,"avatar_url":"https://avatars.githubusercontent.com/u/11424?v=3","gravatar_id":"","url":"https://api.github.com/users/juruen","html_url":"https://github.com/juruen","followers_url":"https://api.github.com/users/juruen/followers","following_url":"https://api.github.com/users/juruen/following{/other_user}","gists_url":"https://api.github.com/users/juruen/gists{/gist_id}","starred_url":"https://api.github.com/users/juruen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juruen/subscriptions","organizations_url":"https://api.github.com/users/juruen/orgs","repos_url":"https://api.github.com/users/juruen/repos","events_url":"https://api.github.com/users/juruen/events{/privacy}","received_events_url":"https://api.github.com/users/juruen/received_events","type":"User","site_admin":false},"body":"This aggregation provides topk and bottomk filtering. Time-series are\r\nsorted by computing the area under the curve.\r\n\r\nIt needs to be used along with a child aggregation.\r\ne.g: \"topk(3, avergage by host)\"","created_at":"2016-01-26T21:17:23Z","updated_at":"2016-01-26T21:17:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spotify/heroic/pulls/22/commits","review_comments_url":"https://api.github.com/repos/spotify/heroic/pulls/22/comments","review_comment_url":"https://api.github.com/repos/spotify/heroic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/heroic/issues/22/comments","statuses_url":"https://api.github.com/repos/spotify/heroic/statuses/10470b7429e5714f865c05329bf8cfccb79d33a1","head":{"label":"juruen:filterk","ref":"filterk","sha":"10470b7429e5714f865c05329bf8cfccb79d33a1","user":{"login":"juruen","id":11424,"avatar_url":"https://avatars.githubusercontent.com/u/11424?v=3","gravatar_id":"","url":"https://api.github.com/users/juruen","html_url":"https://github.com/juruen","followers_url":"https://api.github.com/users/juruen/followers","following_url":"https://api.github.com/users/juruen/following{/other_user}","gists_url":"https://api.github.com/users/juruen/gists{/gist_id}","starred_url":"https://api.github.com/users/juruen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juruen/subscriptions","organizations_url":"https://api.github.com/users/juruen/orgs","repos_url":"https://api.github.com/users/juruen/repos","events_url":"https://api.github.com/users/juruen/events{/privacy}","received_events_url":"https://api.github.com/users/juruen/received_events","type":"User","site_admin":false},"repo":{"id":47214900,"name":"heroic","full_name":"juruen/heroic","owner":{"login":"juruen","id":11424,"avatar_url":"https://avatars.githubusercontent.com/u/11424?v=3","gravatar_id":"","url":"https://api.github.com/users/juruen","html_url":"https://github.com/juruen","followers_url":"https://api.github.com/users/juruen/followers","following_url":"https://api.github.com/users/juruen/following{/other_user}","gists_url":"https://api.github.com/users/juruen/gists{/gist_id}","starred_url":"https://api.github.com/users/juruen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juruen/subscriptions","organizations_url":"https://api.github.com/users/juruen/orgs","repos_url":"https://api.github.com/users/juruen/repos","events_url":"https://api.github.com/users/juruen/events{/privacy}","received_events_url":"https://api.github.com/users/juruen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juruen/heroic","description":"The Heroic Time Series Database","fork":true,"url":"https://api.github.com/repos/juruen/heroic","forks_url":"https://api.github.com/repos/juruen/heroic/forks","keys_url":"https://api.github.com/repos/juruen/heroic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juruen/heroic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juruen/heroic/teams","hooks_url":"https://api.github.com/repos/juruen/heroic/hooks","issue_events_url":"https://api.github.com/repos/juruen/heroic/issues/events{/number}","events_url":"https://api.github.com/repos/juruen/heroic/events","assignees_url":"https://api.github.com/repos/juruen/heroic/assignees{/user}","branches_url":"https://api.github.com/repos/juruen/heroic/branches{/branch}","tags_url":"https://api.github.com/repos/juruen/heroic/tags","blobs_url":"https://api.github.com/repos/juruen/heroic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juruen/heroic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juruen/heroic/git/refs{/sha}","trees_url":"https://api.github.com/repos/juruen/heroic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juruen/heroic/statuses/{sha}","languages_url":"https://api.github.com/repos/juruen/heroic/languages","stargazers_url":"https://api.github.com/repos/juruen/heroic/stargazers","contributors_url":"https://api.github.com/repos/juruen/heroic/contributors","subscribers_url":"https://api.github.com/repos/juruen/heroic/subscribers","subscription_url":"https://api.github.com/repos/juruen/heroic/subscription","commits_url":"https://api.github.com/repos/juruen/heroic/commits{/sha}","git_commits_url":"https://api.github.com/repos/juruen/heroic/git/commits{/sha}","comments_url":"https://api.github.com/repos/juruen/heroic/comments{/number}","issue_comment_url":"https://api.github.com/repos/juruen/heroic/issues/comments{/number}","contents_url":"https://api.github.com/repos/juruen/heroic/contents/{+path}","compare_url":"https://api.github.com/repos/juruen/heroic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juruen/heroic/merges","archive_url":"https://api.github.com/repos/juruen/heroic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juruen/heroic/downloads","issues_url":"https://api.github.com/repos/juruen/heroic/issues{/number}","pulls_url":"https://api.github.com/repos/juruen/heroic/pulls{/number}","milestones_url":"https://api.github.com/repos/juruen/heroic/milestones{/number}","notifications_url":"https://api.github.com/repos/juruen/heroic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juruen/heroic/labels{/name}","releases_url":"https://api.github.com/repos/juruen/heroic/releases{/id}","deployments_url":"https://api.github.com/repos/juruen/heroic/deployments","created_at":"2015-12-01T20:17:26Z","updated_at":"2015-12-01T20:17:28Z","pushed_at":"2016-01-26T21:16:07Z","git_url":"git://github.com/juruen/heroic.git","ssh_url":"git@github.com:juruen/heroic.git","clone_url":"https://github.com/juruen/heroic.git","svn_url":"https://github.com/juruen/heroic","homepage":null,"size":3847,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"spotify:master","ref":"master","sha":"d88801f006115ccafc20d2df3b2fef0ddedda8db","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":36483902,"name":"heroic","full_name":"spotify/heroic","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/heroic","description":"The Heroic Time Series Database","fork":false,"url":"https://api.github.com/repos/spotify/heroic","forks_url":"https://api.github.com/repos/spotify/heroic/forks","keys_url":"https://api.github.com/repos/spotify/heroic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/heroic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/heroic/teams","hooks_url":"https://api.github.com/repos/spotify/heroic/hooks","issue_events_url":"https://api.github.com/repos/spotify/heroic/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/heroic/events","assignees_url":"https://api.github.com/repos/spotify/heroic/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/heroic/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/heroic/tags","blobs_url":"https://api.github.com/repos/spotify/heroic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/heroic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/heroic/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/heroic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/heroic/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/heroic/languages","stargazers_url":"https://api.github.com/repos/spotify/heroic/stargazers","contributors_url":"https://api.github.com/repos/spotify/heroic/contributors","subscribers_url":"https://api.github.com/repos/spotify/heroic/subscribers","subscription_url":"https://api.github.com/repos/spotify/heroic/subscription","commits_url":"https://api.github.com/repos/spotify/heroic/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/heroic/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/heroic/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/heroic/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/heroic/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/heroic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/heroic/merges","archive_url":"https://api.github.com/repos/spotify/heroic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/heroic/downloads","issues_url":"https://api.github.com/repos/spotify/heroic/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/heroic/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/heroic/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/heroic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/heroic/labels{/name}","releases_url":"https://api.github.com/repos/spotify/heroic/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/heroic/deployments","created_at":"2015-05-29T05:20:53Z","updated_at":"2016-01-23T18:48:20Z","pushed_at":"2016-01-26T21:17:23Z","git_url":"git://github.com/spotify/heroic.git","ssh_url":"git@github.com:spotify/heroic.git","clone_url":"https://github.com/spotify/heroic.git","svn_url":"https://github.com/spotify/heroic","homepage":null,"size":3881,"stargazers_count":337,"watchers_count":337,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":6,"forks":20,"open_issues":6,"watchers":337,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/heroic/pulls/22"},"html":{"href":"https://github.com/spotify/heroic/pull/22"},"issue":{"href":"https://api.github.com/repos/spotify/heroic/issues/22"},"comments":{"href":"https://api.github.com/repos/spotify/heroic/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/heroic/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/heroic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/heroic/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/heroic/statuses/10470b7429e5714f865c05329bf8cfccb79d33a1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":805,"deletions":1,"changed_files":10}}