{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/29803265","id":29803265,"diff_hunk":"@@ -761,14 +761,20 @@ func ReadLatencyMetrics(c *client.Client) ([]LatencyMetric, error) {\n \n // Prints summary metrics for request types with latency above threshold\n // and returns number of such request types.\n-func HighLatencyRequests(c *client.Client, threshold time.Duration) (int, error) {\n+func HighLatencyRequests(c *client.Client, threshold time.Duration, ignoredResources []string) (int, error) {\n \tmetrics, err := ReadLatencyMetrics(c)\n \tif err != nil {\n \t\treturn 0, err\n \t}\n+\tignored := make(map[string]bool)\n+\tfor _, resource := range ignoredResources {","path":"test/e2e/util.go","position":11,"original_position":11,"commit_id":"1718825c733af99df0ddb62a41bbb44a104ffce9","original_commit_id":"1718825c733af99df0ddb62a41bbb44a104ffce9","user":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"body":"suggest declaring this as a util.StringSet and checking the set with Has, instead of a list that becomes a dict","created_at":"2015-05-06T21:18:45Z","updated_at":"2015-05-06T21:18:45Z","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857#discussion_r29803265","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/29803265"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857#discussion_r29803265"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857","id":34858925,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7857","number":7857,"state":"open","locked":false,"title":"Ignore latency metrics for events","user":{"login":"fgrzadkowski","id":10820726,"avatar_url":"https://avatars.githubusercontent.com/u/10820726?v=3","gravatar_id":"","url":"https://api.github.com/users/fgrzadkowski","html_url":"https://github.com/fgrzadkowski","followers_url":"https://api.github.com/users/fgrzadkowski/followers","following_url":"https://api.github.com/users/fgrzadkowski/following{/other_user}","gists_url":"https://api.github.com/users/fgrzadkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/fgrzadkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgrzadkowski/subscriptions","organizations_url":"https://api.github.com/users/fgrzadkowski/orgs","repos_url":"https://api.github.com/users/fgrzadkowski/repos","events_url":"https://api.github.com/users/fgrzadkowski/events{/privacy}","received_events_url":"https://api.github.com/users/fgrzadkowski/received_events","type":"User","site_admin":false},"body":"This should fix some of the jenkins failure.\r\n\r\n@wojtek-t @bprashanth @quinton-hoole ","created_at":"2015-05-06T20:53:09Z","updated_at":"2015-05-06T21:18:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"febe765c0ff15df8939e89bd97909c1bcbc0eeb1","assignee":{"login":"bprashanth","id":10927820,"avatar_url":"https://avatars.githubusercontent.com/u/10927820?v=3","gravatar_id":"","url":"https://api.github.com/users/bprashanth","html_url":"https://github.com/bprashanth","followers_url":"https://api.github.com/users/bprashanth/followers","following_url":"https://api.github.com/users/bprashanth/following{/other_user}","gists_url":"https://api.github.com/users/bprashanth/gists{/gist_id}","starred_url":"https://api.github.com/users/bprashanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bprashanth/subscriptions","organizations_url":"https://api.github.com/users/bprashanth/orgs","repos_url":"https://api.github.com/users/bprashanth/repos","events_url":"https://api.github.com/users/bprashanth/events{/privacy}","received_events_url":"https://api.github.com/users/bprashanth/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7857/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/1718825c733af99df0ddb62a41bbb44a104ffce9","head":{"label":"fgrzadkowski:fix_jenkins","ref":"fix_jenkins","sha":"1718825c733af99df0ddb62a41bbb44a104ffce9","user":{"login":"fgrzadkowski","id":10820726,"avatar_url":"https://avatars.githubusercontent.com/u/10820726?v=3","gravatar_id":"","url":"https://api.github.com/users/fgrzadkowski","html_url":"https://github.com/fgrzadkowski","followers_url":"https://api.github.com/users/fgrzadkowski/followers","following_url":"https://api.github.com/users/fgrzadkowski/following{/other_user}","gists_url":"https://api.github.com/users/fgrzadkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/fgrzadkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgrzadkowski/subscriptions","organizations_url":"https://api.github.com/users/fgrzadkowski/orgs","repos_url":"https://api.github.com/users/fgrzadkowski/repos","events_url":"https://api.github.com/users/fgrzadkowski/events{/privacy}","received_events_url":"https://api.github.com/users/fgrzadkowski/received_events","type":"User","site_admin":false},"repo":{"id":30216861,"name":"kubernetes","full_name":"fgrzadkowski/kubernetes","owner":{"login":"fgrzadkowski","id":10820726,"avatar_url":"https://avatars.githubusercontent.com/u/10820726?v=3","gravatar_id":"","url":"https://api.github.com/users/fgrzadkowski","html_url":"https://github.com/fgrzadkowski","followers_url":"https://api.github.com/users/fgrzadkowski/followers","following_url":"https://api.github.com/users/fgrzadkowski/following{/other_user}","gists_url":"https://api.github.com/users/fgrzadkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/fgrzadkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fgrzadkowski/subscriptions","organizations_url":"https://api.github.com/users/fgrzadkowski/orgs","repos_url":"https://api.github.com/users/fgrzadkowski/repos","events_url":"https://api.github.com/users/fgrzadkowski/events{/privacy}","received_events_url":"https://api.github.com/users/fgrzadkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fgrzadkowski/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/fgrzadkowski/kubernetes","forks_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/forks","keys_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/teams","hooks_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/events","assignees_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/tags","blobs_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/languages","stargazers_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/subscription","commits_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/merges","archive_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/downloads","issues_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/fgrzadkowski/kubernetes/releases{/id}","created_at":"2015-02-03T00:40:39Z","updated_at":"2015-03-20T09:51:54Z","pushed_at":"2015-05-06T20:51:11Z","git_url":"git://github.com/fgrzadkowski/kubernetes.git","ssh_url":"git@github.com:fgrzadkowski/kubernetes.git","clone_url":"https://github.com/fgrzadkowski/kubernetes.git","svn_url":"https://github.com/fgrzadkowski/kubernetes","homepage":"http://kubernetes.io","size":52369,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GoogleCloudPlatform:master","ref":"master","sha":"52e94b1e2c1100d871ccfabe3338e6f7c31d5ad4","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"GoogleCloudPlatform/kubernetes","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-05-06T20:55:19Z","pushed_at":"2015-05-06T21:11:35Z","git_url":"git://github.com/GoogleCloudPlatform/kubernetes.git","ssh_url":"git@github.com:GoogleCloudPlatform/kubernetes.git","clone_url":"https://github.com/GoogleCloudPlatform/kubernetes.git","svn_url":"https://github.com/GoogleCloudPlatform/kubernetes","homepage":"http://kubernetes.io","size":221947,"stargazers_count":7514,"watchers_count":7514,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1521,"mirror_url":null,"open_issues_count":1004,"forks":1521,"open_issues":1004,"watchers":7514,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/7857"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7857"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7857/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/7857/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/1718825c733af99df0ddb62a41bbb44a104ffce9"}}}}