{"action":"opened","number":1060,"pull_request":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1060","id":175161368,"html_url":"https://github.com/census-instrumentation/opencensus-java/pull/1060","diff_url":"https://github.com/census-instrumentation/opencensus-java/pull/1060.diff","patch_url":"https://github.com/census-instrumentation/opencensus-java/pull/1060.patch","issue_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1060","number":1060,"state":"open","locked":false,"title":"Add utility class to expose default HTTP measures, tags and view, and register default views.","user":{"login":"HailongWen","id":7017904,"avatar_url":"https://avatars1.githubusercontent.com/u/7017904?v=4","gravatar_id":"","url":"https://api.github.com/users/HailongWen","html_url":"https://github.com/HailongWen","followers_url":"https://api.github.com/users/HailongWen/followers","following_url":"https://api.github.com/users/HailongWen/following{/other_user}","gists_url":"https://api.github.com/users/HailongWen/gists{/gist_id}","starred_url":"https://api.github.com/users/HailongWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HailongWen/subscriptions","organizations_url":"https://api.github.com/users/HailongWen/orgs","repos_url":"https://api.github.com/users/HailongWen/repos","events_url":"https://api.github.com/users/HailongWen/events{/privacy}","received_events_url":"https://api.github.com/users/HailongWen/received_events","type":"User","site_admin":false},"body":"Same as the grpc-metrics. The only difference is that we expose HTTP measures, tags and views for 3rd-party libraries to access, so they can reuse existing ones.\r\n\r\nThe spec for this PR is in https://github.com/census-instrumentation/opencensus-specs/blob/master/http/stats.md. And I referenced [Go's implementation](https://github.com/census-instrumentation/opencensus-go/pull/534) for most of the description.","created_at":"2018-03-15T06:46:07Z","updated_at":"2018-03-15T06:46:07Z","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/census-instrumentation/opencensus-java/pulls/1060/commits","review_comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1060/comments","review_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1060/comments","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/statuses/441c45a760d1ab4a11c23e6472046c8ab224b956","head":{"label":"HailongWen:add-http-metrics","ref":"add-http-metrics","sha":"441c45a760d1ab4a11c23e6472046c8ab224b956","user":{"login":"HailongWen","id":7017904,"avatar_url":"https://avatars1.githubusercontent.com/u/7017904?v=4","gravatar_id":"","url":"https://api.github.com/users/HailongWen","html_url":"https://github.com/HailongWen","followers_url":"https://api.github.com/users/HailongWen/followers","following_url":"https://api.github.com/users/HailongWen/following{/other_user}","gists_url":"https://api.github.com/users/HailongWen/gists{/gist_id}","starred_url":"https://api.github.com/users/HailongWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HailongWen/subscriptions","organizations_url":"https://api.github.com/users/HailongWen/orgs","repos_url":"https://api.github.com/users/HailongWen/repos","events_url":"https://api.github.com/users/HailongWen/events{/privacy}","received_events_url":"https://api.github.com/users/HailongWen/received_events","type":"User","site_admin":false},"repo":{"id":111481748,"name":"opencensus-java","full_name":"HailongWen/opencensus-java","owner":{"login":"HailongWen","id":7017904,"avatar_url":"https://avatars1.githubusercontent.com/u/7017904?v=4","gravatar_id":"","url":"https://api.github.com/users/HailongWen","html_url":"https://github.com/HailongWen","followers_url":"https://api.github.com/users/HailongWen/followers","following_url":"https://api.github.com/users/HailongWen/following{/other_user}","gists_url":"https://api.github.com/users/HailongWen/gists{/gist_id}","starred_url":"https://api.github.com/users/HailongWen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HailongWen/subscriptions","organizations_url":"https://api.github.com/users/HailongWen/orgs","repos_url":"https://api.github.com/users/HailongWen/repos","events_url":"https://api.github.com/users/HailongWen/events{/privacy}","received_events_url":"https://api.github.com/users/HailongWen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HailongWen/opencensus-java","description":"A stats collection and distributed tracing framework","fork":true,"url":"https://api.github.com/repos/HailongWen/opencensus-java","forks_url":"https://api.github.com/repos/HailongWen/opencensus-java/forks","keys_url":"https://api.github.com/repos/HailongWen/opencensus-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HailongWen/opencensus-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HailongWen/opencensus-java/teams","hooks_url":"https://api.github.com/repos/HailongWen/opencensus-java/hooks","issue_events_url":"https://api.github.com/repos/HailongWen/opencensus-java/issues/events{/number}","events_url":"https://api.github.com/repos/HailongWen/opencensus-java/events","assignees_url":"https://api.github.com/repos/HailongWen/opencensus-java/assignees{/user}","branches_url":"https://api.github.com/repos/HailongWen/opencensus-java/branches{/branch}","tags_url":"https://api.github.com/repos/HailongWen/opencensus-java/tags","blobs_url":"https://api.github.com/repos/HailongWen/opencensus-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HailongWen/opencensus-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HailongWen/opencensus-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/HailongWen/opencensus-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HailongWen/opencensus-java/statuses/{sha}","languages_url":"https://api.github.com/repos/HailongWen/opencensus-java/languages","stargazers_url":"https://api.github.com/repos/HailongWen/opencensus-java/stargazers","contributors_url":"https://api.github.com/repos/HailongWen/opencensus-java/contributors","subscribers_url":"https://api.github.com/repos/HailongWen/opencensus-java/subscribers","subscription_url":"https://api.github.com/repos/HailongWen/opencensus-java/subscription","commits_url":"https://api.github.com/repos/HailongWen/opencensus-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/HailongWen/opencensus-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/HailongWen/opencensus-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/HailongWen/opencensus-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/HailongWen/opencensus-java/contents/{+path}","compare_url":"https://api.github.com/repos/HailongWen/opencensus-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HailongWen/opencensus-java/merges","archive_url":"https://api.github.com/repos/HailongWen/opencensus-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HailongWen/opencensus-java/downloads","issues_url":"https://api.github.com/repos/HailongWen/opencensus-java/issues{/number}","pulls_url":"https://api.github.com/repos/HailongWen/opencensus-java/pulls{/number}","milestones_url":"https://api.github.com/repos/HailongWen/opencensus-java/milestones{/number}","notifications_url":"https://api.github.com/repos/HailongWen/opencensus-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HailongWen/opencensus-java/labels{/name}","releases_url":"https://api.github.com/repos/HailongWen/opencensus-java/releases{/id}","deployments_url":"https://api.github.com/repos/HailongWen/opencensus-java/deployments","created_at":"2017-11-21T01:16:52Z","updated_at":"2018-03-15T01:04:14Z","pushed_at":"2018-03-15T06:38:28Z","git_url":"git://github.com/HailongWen/opencensus-java.git","ssh_url":"git@github.com:HailongWen/opencensus-java.git","clone_url":"https://github.com/HailongWen/opencensus-java.git","svn_url":"https://github.com/HailongWen/opencensus-java","homepage":"","size":3663,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"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":"master"}},"base":{"label":"census-instrumentation:master","ref":"master","sha":"e45afa14e204ef3800cf7c89ae91fc23e6ae49ef","user":{"login":"census-instrumentation","id":26944525,"avatar_url":"https://avatars0.githubusercontent.com/u/26944525?v=4","gravatar_id":"","url":"https://api.github.com/users/census-instrumentation","html_url":"https://github.com/census-instrumentation","followers_url":"https://api.github.com/users/census-instrumentation/followers","following_url":"https://api.github.com/users/census-instrumentation/following{/other_user}","gists_url":"https://api.github.com/users/census-instrumentation/gists{/gist_id}","starred_url":"https://api.github.com/users/census-instrumentation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/census-instrumentation/subscriptions","organizations_url":"https://api.github.com/users/census-instrumentation/orgs","repos_url":"https://api.github.com/users/census-instrumentation/repos","events_url":"https://api.github.com/users/census-instrumentation/events{/privacy}","received_events_url":"https://api.github.com/users/census-instrumentation/received_events","type":"Organization","site_admin":false},"repo":{"id":64431348,"name":"opencensus-java","full_name":"census-instrumentation/opencensus-java","owner":{"login":"census-instrumentation","id":26944525,"avatar_url":"https://avatars0.githubusercontent.com/u/26944525?v=4","gravatar_id":"","url":"https://api.github.com/users/census-instrumentation","html_url":"https://github.com/census-instrumentation","followers_url":"https://api.github.com/users/census-instrumentation/followers","following_url":"https://api.github.com/users/census-instrumentation/following{/other_user}","gists_url":"https://api.github.com/users/census-instrumentation/gists{/gist_id}","starred_url":"https://api.github.com/users/census-instrumentation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/census-instrumentation/subscriptions","organizations_url":"https://api.github.com/users/census-instrumentation/orgs","repos_url":"https://api.github.com/users/census-instrumentation/repos","events_url":"https://api.github.com/users/census-instrumentation/events{/privacy}","received_events_url":"https://api.github.com/users/census-instrumentation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/census-instrumentation/opencensus-java","description":"A stats collection and distributed tracing framework","fork":false,"url":"https://api.github.com/repos/census-instrumentation/opencensus-java","forks_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/forks","keys_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/teams","hooks_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/hooks","issue_events_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/events{/number}","events_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/events","assignees_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/assignees{/user}","branches_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/branches{/branch}","tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/tags","blobs_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/statuses/{sha}","languages_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/languages","stargazers_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/stargazers","contributors_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/contributors","subscribers_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/subscribers","subscription_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/subscription","commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/contents/{+path}","compare_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/merges","archive_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/downloads","issues_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues{/number}","pulls_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls{/number}","milestones_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/milestones{/number}","notifications_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/labels{/name}","releases_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/releases{/id}","deployments_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/deployments","created_at":"2016-07-28T22:10:03Z","updated_at":"2018-03-15T06:26:29Z","pushed_at":"2018-03-15T06:26:26Z","git_url":"git://github.com/census-instrumentation/opencensus-java.git","ssh_url":"git@github.com:census-instrumentation/opencensus-java.git","clone_url":"https://github.com/census-instrumentation/opencensus-java.git","svn_url":"https://github.com/census-instrumentation/opencensus-java","homepage":"","size":3458,"stargazers_count":321,"watchers_count":321,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"archived":false,"open_issues_count":59,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":71,"open_issues":59,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1060"},"html":{"href":"https://github.com/census-instrumentation/opencensus-java/pull/1060"},"issue":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1060"},"comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1060/comments"},"review_comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1060/comments"},"review_comment":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1060/commits"},"statuses":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/statuses/441c45a760d1ab4a11c23e6472046c8ab224b956"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":578,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"HailongWen"}}