{"action":"created","comment":{"url":"https://api.github.com/repos/appcelerator/amp/pulls/comments/75894694","id":75894694,"diff_hunk":"@@ -3,14 +3,29 @@ syntax = \"proto3\";\n package stat;\n \n service Stat {\n-  rpc ExecuteQuery (QueryRequest) returns (QueryReply) {}\n+  rpc CPUQuery (CPURequest) returns (CPUReply) {}\n }\n \n-message QueryRequest {\n-  string database = 1;\n-  string query=2;\n+message CPURequest {\n+  string ressourceName=1;\n+  string filterDatacenter=2;\n+  string filterServiceName=3;\n+  string filterServiceID=4;\n+  string filterContainerName=5;\n+  string filterContainerID=6;\n+  string filterContainerImage=7;\n+  string filterNodeID=8;\n }\n \n-message QueryReply {\n-  string response = 1;\n+message CPUEntry {","path":"api/rpc/stat/stat.proto","position":24,"original_position":24,"commit_id":"d98cbca13bdd4df66804d183ed94229acce6f8a1","original_commit_id":"8e7a14d1b5bdc901a5384dd5e235268fbf0eeb23","user":{"login":"chrisccoy","id":10455022,"avatar_url":"https://avatars.githubusercontent.com/u/10455022?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisccoy","html_url":"https://github.com/chrisccoy","followers_url":"https://api.github.com/users/chrisccoy/followers","following_url":"https://api.github.com/users/chrisccoy/following{/other_user}","gists_url":"https://api.github.com/users/chrisccoy/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisccoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisccoy/subscriptions","organizations_url":"https://api.github.com/users/chrisccoy/orgs","repos_url":"https://api.github.com/users/chrisccoy/repos","events_url":"https://api.github.com/users/chrisccoy/events{/privacy}","received_events_url":"https://api.github.com/users/chrisccoy/received_events","type":"User","site_admin":false},"body":"I beleive the values should all be float. \r\nhttps://github.com/influxdata/telegraf/blob/master/plugins/inputs/system/cpu_test.go#L18\r\n\r\n","created_at":"2016-08-23T15:49:20Z","updated_at":"2016-08-23T15:49:20Z","html_url":"https://github.com/appcelerator/amp/pull/50#discussion_r75894694","pull_request_url":"https://api.github.com/repos/appcelerator/amp/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/comments/75894694"},"html":{"href":"https://github.com/appcelerator/amp/pull/50#discussion_r75894694"},"pull_request":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/appcelerator/amp/pulls/50","id":82359115,"html_url":"https://github.com/appcelerator/amp/pull/50","diff_url":"https://github.com/appcelerator/amp/pull/50.diff","patch_url":"https://github.com/appcelerator/amp/pull/50.patch","issue_url":"https://api.github.com/repos/appcelerator/amp/issues/50","number":50,"state":"open","locked":false,"title":"add CLI stat cpu","user":{"login":"freignat91","id":11798891,"avatar_url":"https://avatars.githubusercontent.com/u/11798891?v=3","gravatar_id":"","url":"https://api.github.com/users/freignat91","html_url":"https://github.com/freignat91","followers_url":"https://api.github.com/users/freignat91/followers","following_url":"https://api.github.com/users/freignat91/following{/other_user}","gists_url":"https://api.github.com/users/freignat91/gists{/gist_id}","starred_url":"https://api.github.com/users/freignat91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freignat91/subscriptions","organizations_url":"https://api.github.com/users/freignat91/orgs","repos_url":"https://api.github.com/users/freignat91/repos","events_url":"https://api.github.com/users/freignat91/events{/privacy}","received_events_url":"https://api.github.com/users/freignat91/received_events","type":"User","site_admin":false},"body":"PR for test a way to implement stat CPU command which can be easily duplicate to implement mem, io, net\r\n","created_at":"2016-08-23T12:55:42Z","updated_at":"2016-08-23T15:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e85a55ea8955f362ba4e395481812c6305f44c93","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/appcelerator/amp/pulls/50/commits","review_comments_url":"https://api.github.com/repos/appcelerator/amp/pulls/50/comments","review_comment_url":"https://api.github.com/repos/appcelerator/amp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appcelerator/amp/issues/50/comments","statuses_url":"https://api.github.com/repos/appcelerator/amp/statuses/d98cbca13bdd4df66804d183ed94229acce6f8a1","head":{"label":"appcelerator:cpu","ref":"cpu","sha":"d98cbca13bdd4df66804d183ed94229acce6f8a1","user":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"repo":{"id":61302197,"name":"amp","full_name":"appcelerator/amp","owner":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appcelerator/amp","description":"AMP","fork":false,"url":"https://api.github.com/repos/appcelerator/amp","forks_url":"https://api.github.com/repos/appcelerator/amp/forks","keys_url":"https://api.github.com/repos/appcelerator/amp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appcelerator/amp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appcelerator/amp/teams","hooks_url":"https://api.github.com/repos/appcelerator/amp/hooks","issue_events_url":"https://api.github.com/repos/appcelerator/amp/issues/events{/number}","events_url":"https://api.github.com/repos/appcelerator/amp/events","assignees_url":"https://api.github.com/repos/appcelerator/amp/assignees{/user}","branches_url":"https://api.github.com/repos/appcelerator/amp/branches{/branch}","tags_url":"https://api.github.com/repos/appcelerator/amp/tags","blobs_url":"https://api.github.com/repos/appcelerator/amp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appcelerator/amp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appcelerator/amp/git/refs{/sha}","trees_url":"https://api.github.com/repos/appcelerator/amp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appcelerator/amp/statuses/{sha}","languages_url":"https://api.github.com/repos/appcelerator/amp/languages","stargazers_url":"https://api.github.com/repos/appcelerator/amp/stargazers","contributors_url":"https://api.github.com/repos/appcelerator/amp/contributors","subscribers_url":"https://api.github.com/repos/appcelerator/amp/subscribers","subscription_url":"https://api.github.com/repos/appcelerator/amp/subscription","commits_url":"https://api.github.com/repos/appcelerator/amp/commits{/sha}","git_commits_url":"https://api.github.com/repos/appcelerator/amp/git/commits{/sha}","comments_url":"https://api.github.com/repos/appcelerator/amp/comments{/number}","issue_comment_url":"https://api.github.com/repos/appcelerator/amp/issues/comments{/number}","contents_url":"https://api.github.com/repos/appcelerator/amp/contents/{+path}","compare_url":"https://api.github.com/repos/appcelerator/amp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appcelerator/amp/merges","archive_url":"https://api.github.com/repos/appcelerator/amp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appcelerator/amp/downloads","issues_url":"https://api.github.com/repos/appcelerator/amp/issues{/number}","pulls_url":"https://api.github.com/repos/appcelerator/amp/pulls{/number}","milestones_url":"https://api.github.com/repos/appcelerator/amp/milestones{/number}","notifications_url":"https://api.github.com/repos/appcelerator/amp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appcelerator/amp/labels{/name}","releases_url":"https://api.github.com/repos/appcelerator/amp/releases{/id}","deployments_url":"https://api.github.com/repos/appcelerator/amp/deployments","created_at":"2016-06-16T14:49:30Z","updated_at":"2016-08-05T23:08:18Z","pushed_at":"2016-08-23T15:48:37Z","git_url":"git://github.com/appcelerator/amp.git","ssh_url":"git@github.com:appcelerator/amp.git","clone_url":"https://github.com/appcelerator/amp.git","svn_url":"https://github.com/appcelerator/amp","homepage":"","size":11564,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"appcelerator:master","ref":"master","sha":"53d453ba1f1e7337bcd47a44c68c5faeb33c5284","user":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"repo":{"id":61302197,"name":"amp","full_name":"appcelerator/amp","owner":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appcelerator/amp","description":"AMP","fork":false,"url":"https://api.github.com/repos/appcelerator/amp","forks_url":"https://api.github.com/repos/appcelerator/amp/forks","keys_url":"https://api.github.com/repos/appcelerator/amp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appcelerator/amp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appcelerator/amp/teams","hooks_url":"https://api.github.com/repos/appcelerator/amp/hooks","issue_events_url":"https://api.github.com/repos/appcelerator/amp/issues/events{/number}","events_url":"https://api.github.com/repos/appcelerator/amp/events","assignees_url":"https://api.github.com/repos/appcelerator/amp/assignees{/user}","branches_url":"https://api.github.com/repos/appcelerator/amp/branches{/branch}","tags_url":"https://api.github.com/repos/appcelerator/amp/tags","blobs_url":"https://api.github.com/repos/appcelerator/amp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appcelerator/amp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appcelerator/amp/git/refs{/sha}","trees_url":"https://api.github.com/repos/appcelerator/amp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appcelerator/amp/statuses/{sha}","languages_url":"https://api.github.com/repos/appcelerator/amp/languages","stargazers_url":"https://api.github.com/repos/appcelerator/amp/stargazers","contributors_url":"https://api.github.com/repos/appcelerator/amp/contributors","subscribers_url":"https://api.github.com/repos/appcelerator/amp/subscribers","subscription_url":"https://api.github.com/repos/appcelerator/amp/subscription","commits_url":"https://api.github.com/repos/appcelerator/amp/commits{/sha}","git_commits_url":"https://api.github.com/repos/appcelerator/amp/git/commits{/sha}","comments_url":"https://api.github.com/repos/appcelerator/amp/comments{/number}","issue_comment_url":"https://api.github.com/repos/appcelerator/amp/issues/comments{/number}","contents_url":"https://api.github.com/repos/appcelerator/amp/contents/{+path}","compare_url":"https://api.github.com/repos/appcelerator/amp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appcelerator/amp/merges","archive_url":"https://api.github.com/repos/appcelerator/amp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appcelerator/amp/downloads","issues_url":"https://api.github.com/repos/appcelerator/amp/issues{/number}","pulls_url":"https://api.github.com/repos/appcelerator/amp/pulls{/number}","milestones_url":"https://api.github.com/repos/appcelerator/amp/milestones{/number}","notifications_url":"https://api.github.com/repos/appcelerator/amp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appcelerator/amp/labels{/name}","releases_url":"https://api.github.com/repos/appcelerator/amp/releases{/id}","deployments_url":"https://api.github.com/repos/appcelerator/amp/deployments","created_at":"2016-06-16T14:49:30Z","updated_at":"2016-08-05T23:08:18Z","pushed_at":"2016-08-23T15:48:37Z","git_url":"git://github.com/appcelerator/amp.git","ssh_url":"git@github.com:appcelerator/amp.git","clone_url":"https://github.com/appcelerator/amp.git","svn_url":"https://github.com/appcelerator/amp","homepage":"","size":11564,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/50"},"html":{"href":"https://github.com/appcelerator/amp/pull/50"},"issue":{"href":"https://api.github.com/repos/appcelerator/amp/issues/50"},"comments":{"href":"https://api.github.com/repos/appcelerator/amp/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/appcelerator/amp/statuses/d98cbca13bdd4df66804d183ed94229acce6f8a1"}}}}
{"actor":{"display_login":"chrisccoy"}}