{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/contrib/issues/565","repository_url":"https://api.github.com/repos/kubernetes/contrib","labels_url":"https://api.github.com/repos/kubernetes/contrib/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/contrib/issues/565/comments","events_url":"https://api.github.com/repos/kubernetes/contrib/issues/565/events","html_url":"https://github.com/kubernetes/contrib/pull/565","id":140434020,"number":565,"title":"Refactor Perfdash to let it support more e2e performance test","user":{"login":"Random-Liu","id":5821883,"avatar_url":"https://avatars.githubusercontent.com/u/5821883?v=3","gravatar_id":"","url":"https://api.github.com/users/Random-Liu","html_url":"https://github.com/Random-Liu","followers_url":"https://api.github.com/users/Random-Liu/followers","following_url":"https://api.github.com/users/Random-Liu/following{/other_user}","gists_url":"https://api.github.com/users/Random-Liu/gists{/gist_id}","starred_url":"https://api.github.com/users/Random-Liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Random-Liu/subscriptions","organizations_url":"https://api.github.com/users/Random-Liu/orgs","repos_url":"https://api.github.com/users/Random-Liu/repos","events_url":"https://api.github.com/users/Random-Liu/events{/privacy}","received_events_url":"https://api.github.com/users/Random-Liu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/contrib/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/contrib/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/kubernetes/contrib/labels/lgtm","name":"lgtm","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"gmarek","id":1703842,"avatar_url":"https://avatars.githubusercontent.com/u/1703842?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarek","html_url":"https://github.com/gmarek","followers_url":"https://api.github.com/users/gmarek/followers","following_url":"https://api.github.com/users/gmarek/following{/other_user}","gists_url":"https://api.github.com/users/gmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarek/subscriptions","organizations_url":"https://api.github.com/users/gmarek/orgs","repos_url":"https://api.github.com/users/gmarek/repos","events_url":"https://api.github.com/users/gmarek/events{/privacy}","received_events_url":"https://api.github.com/users/gmarek/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-03-13T01:13:11Z","updated_at":"2016-04-18T21:31:31Z","closed_at":"2016-04-18T20:47:04Z","pull_request":{"url":"https://api.github.com/repos/kubernetes/contrib/pulls/565","html_url":"https://github.com/kubernetes/contrib/pull/565","diff_url":"https://github.com/kubernetes/contrib/pull/565.diff","patch_url":"https://github.com/kubernetes/contrib/pull/565.patch"},"body":"For #564 and kubernetes/kubernetes#15554.\r\nBased on kubernetes/kubernetes#22912.\r\n\r\nThis PR refactored Perfdash to use the new [performance data type](https://github.com/Random-Liu/kubernetes/blob/kubelet-perf/test/e2e/perftype/perftype.go#L45) added in kubernetes/kubernetes#22912.\r\n\r\nWith this PR, it is easy to add more e2e performance test support. You just need to:\r\n1) Transform e2e performance test result into [`PerfData`](https://github.com/Random-Liu/kubernetes/blob/kubelet-perf/test/e2e/perftype/perftype.go#L45) in *k8s/kubernetes/test/e2e/perftype*, and print the `PerfData` in e2e test log.\r\n2) Add corresponding jenkins project into `JenkinsProjects` in `config.go`.\r\n3) Add test description and test name into `DescriptionName` in `config.go`.\r\nThen, Perfdash will automatically and periodically fetch data from specified jenkins projects, parse the test log and generate graph.\r\n\r\nI've tested the PR locally with a fake `downloader`. However it would be better to merge kubernetes/kubernetes#22912 first, and test this PR with real jenkins project.\r\n\r\n@gmarek @yujuhong \r\n/cc @kubernetes/sig-testing "},"comment":{"url":"https://api.github.com/repos/kubernetes/contrib/issues/comments/211591869","html_url":"https://github.com/kubernetes/contrib/pull/565#issuecomment-211591869","issue_url":"https://api.github.com/repos/kubernetes/contrib/issues/565","id":211591869,"user":{"login":"gmarek","id":1703842,"avatar_url":"https://avatars.githubusercontent.com/u/1703842?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarek","html_url":"https://github.com/gmarek","followers_url":"https://api.github.com/users/gmarek/followers","following_url":"https://api.github.com/users/gmarek/following{/other_user}","gists_url":"https://api.github.com/users/gmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarek/subscriptions","organizations_url":"https://api.github.com/users/gmarek/orgs","repos_url":"https://api.github.com/users/gmarek/repos","events_url":"https://api.github.com/users/gmarek/events{/privacy}","received_events_url":"https://api.github.com/users/gmarek/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T21:31:30Z","updated_at":"2016-04-18T21:31:30Z","body":"oh yeah.. that thing."}}