{"action":"opened","number":5595,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-cli/pulls/5595","id":169446903,"html_url":"https://github.com/Azure/azure-cli/pull/5595","diff_url":"https://github.com/Azure/azure-cli/pull/5595.diff","patch_url":"https://github.com/Azure/azure-cli/pull/5595.patch","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/5595","number":5595,"state":"open","locked":false,"title":"Expose Azure CLI core telemetry to extension","user":{"login":"chewong","id":10557231,"avatar_url":"https://avatars2.githubusercontent.com/u/10557231?v=4","gravatar_id":"","url":"https://api.github.com/users/chewong","html_url":"https://github.com/chewong","followers_url":"https://api.github.com/users/chewong/followers","following_url":"https://api.github.com/users/chewong/following{/other_user}","gists_url":"https://api.github.com/users/chewong/gists{/gist_id}","starred_url":"https://api.github.com/users/chewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewong/subscriptions","organizations_url":"https://api.github.com/users/chewong/orgs","repos_url":"https://api.github.com/users/chewong/repos","events_url":"https://api.github.com/users/chewong/events{/privacy}","received_events_url":"https://api.github.com/users/chewong/received_events","type":"User","site_admin":false},"body":"Azure CLI extension can now use `add_extension_events` from `azure.cli.core.telemetry` to add telemetry events to Azure CLI application insight account.\r\n\r\n\r\n### General Guidelines\r\n\r\n- [x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see [Modifying change log](https://github.com/Azure/azure-cli/tree/master/doc/authoring_command_modules#modify-change-log)).\r\n\r\n### Command Guidelines\r\n\r\n- [ ] Each command and parameter has a meaningful description.\r\n- [ ] Each new command has a test.\r\n\r\n(see [Authoring Command Modules](https://github.com/Azure/azure-cli/tree/master/doc/authoring_command_modules))\r\n","created_at":"2018-02-15T18:15:59Z","updated_at":"2018-02-15T18:15:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/azure-cli/pulls/5595/commits","review_comments_url":"https://api.github.com/repos/Azure/azure-cli/pulls/5595/comments","review_comment_url":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/5595/comments","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/9d196428cc26e04bd33899661a59eb0de77a49fa","head":{"label":"chewong:extension-telemetry","ref":"extension-telemetry","sha":"9d196428cc26e04bd33899661a59eb0de77a49fa","user":{"login":"chewong","id":10557231,"avatar_url":"https://avatars2.githubusercontent.com/u/10557231?v=4","gravatar_id":"","url":"https://api.github.com/users/chewong","html_url":"https://github.com/chewong","followers_url":"https://api.github.com/users/chewong/followers","following_url":"https://api.github.com/users/chewong/following{/other_user}","gists_url":"https://api.github.com/users/chewong/gists{/gist_id}","starred_url":"https://api.github.com/users/chewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewong/subscriptions","organizations_url":"https://api.github.com/users/chewong/orgs","repos_url":"https://api.github.com/users/chewong/repos","events_url":"https://api.github.com/users/chewong/events{/privacy}","received_events_url":"https://api.github.com/users/chewong/received_events","type":"User","site_admin":false},"repo":{"id":116731295,"name":"azure-cli","full_name":"chewong/azure-cli","owner":{"login":"chewong","id":10557231,"avatar_url":"https://avatars2.githubusercontent.com/u/10557231?v=4","gravatar_id":"","url":"https://api.github.com/users/chewong","html_url":"https://github.com/chewong","followers_url":"https://api.github.com/users/chewong/followers","following_url":"https://api.github.com/users/chewong/following{/other_user}","gists_url":"https://api.github.com/users/chewong/gists{/gist_id}","starred_url":"https://api.github.com/users/chewong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chewong/subscriptions","organizations_url":"https://api.github.com/users/chewong/orgs","repos_url":"https://api.github.com/users/chewong/repos","events_url":"https://api.github.com/users/chewong/events{/privacy}","received_events_url":"https://api.github.com/users/chewong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chewong/azure-cli","description":"Command-line tools for Azure.","fork":true,"url":"https://api.github.com/repos/chewong/azure-cli","forks_url":"https://api.github.com/repos/chewong/azure-cli/forks","keys_url":"https://api.github.com/repos/chewong/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chewong/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chewong/azure-cli/teams","hooks_url":"https://api.github.com/repos/chewong/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/chewong/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/chewong/azure-cli/events","assignees_url":"https://api.github.com/repos/chewong/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/chewong/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/chewong/azure-cli/tags","blobs_url":"https://api.github.com/repos/chewong/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chewong/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chewong/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/chewong/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chewong/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/chewong/azure-cli/languages","stargazers_url":"https://api.github.com/repos/chewong/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/chewong/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/chewong/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/chewong/azure-cli/subscription","commits_url":"https://api.github.com/repos/chewong/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/chewong/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/chewong/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/chewong/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/chewong/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/chewong/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chewong/azure-cli/merges","archive_url":"https://api.github.com/repos/chewong/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chewong/azure-cli/downloads","issues_url":"https://api.github.com/repos/chewong/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/chewong/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/chewong/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/chewong/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chewong/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/chewong/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/chewong/azure-cli/deployments","created_at":"2018-01-08T21:40:54Z","updated_at":"2018-01-26T23:18:07Z","pushed_at":"2018-02-15T18:15:44Z","git_url":"git://github.com/chewong/azure-cli.git","ssh_url":"git@github.com:chewong/azure-cli.git","clone_url":"https://github.com/chewong/azure-cli.git","svn_url":"https://github.com/chewong/azure-cli","homepage":null,"size":36471,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"Azure:dev","ref":"dev","sha":"159169569cbcaacef7dcad8e7f5c80ca385556cd","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":51040886,"name":"azure-cli","full_name":"Azure/azure-cli","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/azure-cli","description":"Command-line tools for Azure.","fork":false,"url":"https://api.github.com/repos/Azure/azure-cli","forks_url":"https://api.github.com/repos/Azure/azure-cli/forks","keys_url":"https://api.github.com/repos/Azure/azure-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/azure-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/azure-cli/teams","hooks_url":"https://api.github.com/repos/Azure/azure-cli/hooks","issue_events_url":"https://api.github.com/repos/Azure/azure-cli/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/azure-cli/events","assignees_url":"https://api.github.com/repos/Azure/azure-cli/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/azure-cli/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/azure-cli/tags","blobs_url":"https://api.github.com/repos/Azure/azure-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/azure-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/azure-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/azure-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/azure-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/azure-cli/languages","stargazers_url":"https://api.github.com/repos/Azure/azure-cli/stargazers","contributors_url":"https://api.github.com/repos/Azure/azure-cli/contributors","subscribers_url":"https://api.github.com/repos/Azure/azure-cli/subscribers","subscription_url":"https://api.github.com/repos/Azure/azure-cli/subscription","commits_url":"https://api.github.com/repos/Azure/azure-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/azure-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/azure-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/azure-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/azure-cli/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/azure-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/azure-cli/merges","archive_url":"https://api.github.com/repos/Azure/azure-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/azure-cli/downloads","issues_url":"https://api.github.com/repos/Azure/azure-cli/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/azure-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/azure-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/azure-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/azure-cli/labels{/name}","releases_url":"https://api.github.com/repos/Azure/azure-cli/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/azure-cli/deployments","created_at":"2016-02-04T00:21:51Z","updated_at":"2018-02-14T18:30:53Z","pushed_at":"2018-02-15T17:55:22Z","git_url":"git://github.com/Azure/azure-cli.git","ssh_url":"git@github.com:Azure/azure-cli.git","clone_url":"https://github.com/Azure/azure-cli.git","svn_url":"https://github.com/Azure/azure-cli","homepage":null,"size":36463,"stargazers_count":667,"watchers_count":667,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":384,"mirror_url":null,"archived":false,"open_issues_count":647,"license":null,"forks":384,"open_issues":647,"watchers":667,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5595"},"html":{"href":"https://github.com/Azure/azure-cli/pull/5595"},"issue":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/5595"},"comments":{"href":"https://api.github.com/repos/Azure/azure-cli/issues/5595/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5595/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/azure-cli/pulls/5595/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/azure-cli/statuses/9d196428cc26e04bd33899661a59eb0de77a49fa"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":14,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"chewong"}}