{"action":"closed","number":61,"pull_request":{"url":"https://api.github.com/repos/appcelerator/amp/pulls/61","id":82543998,"html_url":"https://github.com/appcelerator/amp/pull/61","diff_url":"https://github.com/appcelerator/amp/pull/61.diff","patch_url":"https://github.com/appcelerator/amp/pull/61.patch","issue_url":"https://api.github.com/repos/appcelerator/amp/issues/61","number":61,"state":"closed","locked":false,"title":"amp stats","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":"#12 \r\n\r\nInitial amp stat command implementation (based on proposal [here](https://drive.google.com/open?id=1ii8iTXIZFpneYSiqD7muVWLD6c_7NegsypnJ1oOG7Rw)).\r\n\r\nNot implemented\r\n* Historic parameters \r\n* `--status` and `--health` (requires amp-agent/etcd)\r\n\r\n## Verification\r\n\r\n    $ amp stat --cpu --container --service-name=kafka\r\n\r\nShould display cpu metrics of all containers for the `kafka` service\r\n\r\n    $ amp stat --mem --service\r\n\r\nShould display memory metrics for all services\r\n\r\n    $ amp stat --io --node\r\nShould display io metrics for all nodes","created_at":"2016-08-24T13:43:09Z","updated_at":"2016-08-25T10:08:52Z","closed_at":"2016-08-25T10:08:52Z","merged_at":null,"merge_commit_sha":"982b658bf3fb3ea7131f0331651088780246512e","assignee":{"login":"subfuzion","id":159738,"avatar_url":"https://avatars.githubusercontent.com/u/159738?v=3","gravatar_id":"","url":"https://api.github.com/users/subfuzion","html_url":"https://github.com/subfuzion","followers_url":"https://api.github.com/users/subfuzion/followers","following_url":"https://api.github.com/users/subfuzion/following{/other_user}","gists_url":"https://api.github.com/users/subfuzion/gists{/gist_id}","starred_url":"https://api.github.com/users/subfuzion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subfuzion/subscriptions","organizations_url":"https://api.github.com/users/subfuzion/orgs","repos_url":"https://api.github.com/users/subfuzion/repos","events_url":"https://api.github.com/users/subfuzion/events{/privacy}","received_events_url":"https://api.github.com/users/subfuzion/received_events","type":"User","site_admin":false},"assignees":[{"login":"subfuzion","id":159738,"avatar_url":"https://avatars.githubusercontent.com/u/159738?v=3","gravatar_id":"","url":"https://api.github.com/users/subfuzion","html_url":"https://github.com/subfuzion","followers_url":"https://api.github.com/users/subfuzion/followers","following_url":"https://api.github.com/users/subfuzion/following{/other_user}","gists_url":"https://api.github.com/users/subfuzion/gists{/gist_id}","starred_url":"https://api.github.com/users/subfuzion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subfuzion/subscriptions","organizations_url":"https://api.github.com/users/subfuzion/orgs","repos_url":"https://api.github.com/users/subfuzion/repos","events_url":"https://api.github.com/users/subfuzion/events{/privacy}","received_events_url":"https://api.github.com/users/subfuzion/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/appcelerator/amp/pulls/61/commits","review_comments_url":"https://api.github.com/repos/appcelerator/amp/pulls/61/comments","review_comment_url":"https://api.github.com/repos/appcelerator/amp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appcelerator/amp/issues/61/comments","statuses_url":"https://api.github.com/repos/appcelerator/amp/statuses/63a3946877d8418accd21d47e29ecf705ceb2d8a","head":{"label":"appcelerator:stat","ref":"stat","sha":"63a3946877d8418accd21d47e29ecf705ceb2d8a","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-25T09:43:22Z","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":11981,"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":7,"forks":3,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"appcelerator:master","ref":"master","sha":"b711e8ec42357f2c0439a8e18b1508ac2d72dafa","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-25T09:43:22Z","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":11981,"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":7,"forks":3,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/61"},"html":{"href":"https://github.com/appcelerator/amp/pull/61"},"issue":{"href":"https://api.github.com/repos/appcelerator/amp/issues/61"},"comments":{"href":"https://api.github.com/repos/appcelerator/amp/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appcelerator/amp/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/appcelerator/amp/statuses/63a3946877d8418accd21d47e29ecf705ceb2d8a"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":4,"review_comments":2,"commits":20,"additions":2066,"deletions":92,"changed_files":20}}
{"actor":{"display_login":"freignat91"}}