{"action":"created","comment":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/comments/182895490","pull_request_review_id":113790548,"id":182895490,"diff_hunk":"@@ -0,0 +1,50 @@\n+/*\n+ * Copyright 2018, OpenCensus Authors\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package io.opencensus.contrib.monitoredresource.util;\n+\n+/**\n+ * {@link LabelKey} represents the associated property of a {@link MonitoredResource}.\n+ *\n+ * @since 0.13\n+ */\n+public enum LabelKey {\n+  GcpClusterName(\"cluster_name\"),","path":"contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/LabelKey.java","position":25,"original_position":25,"commit_id":"8748ed31b74f1153a6f6aeacaf8094148eccb60e","original_commit_id":"c522ea05b1c660de606144b979bec3a3f0aea924","user":{"login":"songy23","id":10536136,"avatar_url":"https://avatars3.githubusercontent.com/u/10536136?v=4","gravatar_id":"","url":"https://api.github.com/users/songy23","html_url":"https://github.com/songy23","followers_url":"https://api.github.com/users/songy23/followers","following_url":"https://api.github.com/users/songy23/following{/other_user}","gists_url":"https://api.github.com/users/songy23/gists{/gist_id}","starred_url":"https://api.github.com/users/songy23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songy23/subscriptions","organizations_url":"https://api.github.com/users/songy23/orgs","repos_url":"https://api.github.com/users/songy23/repos","events_url":"https://api.github.com/users/songy23/events{/privacy}","received_events_url":"https://api.github.com/users/songy23/received_events","type":"User","site_admin":false},"body":"I created https://github.com/census-instrumentation/opencensus-specs/issues/105, we can discuss if we want to have prefixes for all properties. For now I'll keep these names consistent with specs.","created_at":"2018-04-19T21:53:11Z","updated_at":"2018-04-19T21:53:12Z","html_url":"https://github.com/census-instrumentation/opencensus-java/pull/1135#discussion_r182895490","pull_request_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/comments/182895490"},"html":{"href":"https://github.com/census-instrumentation/opencensus-java/pull/1135#discussion_r182895490"},"pull_request":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135"}},"in_reply_to_id":182868643},"pull_request":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135","id":182013713,"html_url":"https://github.com/census-instrumentation/opencensus-java/pull/1135","diff_url":"https://github.com/census-instrumentation/opencensus-java/pull/1135.diff","patch_url":"https://github.com/census-instrumentation/opencensus-java/pull/1135.patch","issue_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1135","number":1135,"state":"open","locked":false,"title":"Move monitored resource detection utils to a separate artifact.","user":{"login":"songy23","id":10536136,"avatar_url":"https://avatars3.githubusercontent.com/u/10536136?v=4","gravatar_id":"","url":"https://api.github.com/users/songy23","html_url":"https://github.com/songy23","followers_url":"https://api.github.com/users/songy23/followers","following_url":"https://api.github.com/users/songy23/following{/other_user}","gists_url":"https://api.github.com/users/songy23/gists{/gist_id}","starred_url":"https://api.github.com/users/songy23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songy23/subscriptions","organizations_url":"https://api.github.com/users/songy23/orgs","repos_url":"https://api.github.com/users/songy23/repos","events_url":"https://api.github.com/users/songy23/events{/privacy}","received_events_url":"https://api.github.com/users/songy23/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/census-instrumentation/opencensus-java/issues/1130.","created_at":"2018-04-16T23:23:02Z","updated_at":"2018-04-19T21:53:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5bfd6554bdecc4de61b852b6777064e8dd22a15","assignee":{"login":"bogdandrutu","id":1373887,"avatar_url":"https://avatars0.githubusercontent.com/u/1373887?v=4","gravatar_id":"","url":"https://api.github.com/users/bogdandrutu","html_url":"https://github.com/bogdandrutu","followers_url":"https://api.github.com/users/bogdandrutu/followers","following_url":"https://api.github.com/users/bogdandrutu/following{/other_user}","gists_url":"https://api.github.com/users/bogdandrutu/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdandrutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdandrutu/subscriptions","organizations_url":"https://api.github.com/users/bogdandrutu/orgs","repos_url":"https://api.github.com/users/bogdandrutu/repos","events_url":"https://api.github.com/users/bogdandrutu/events{/privacy}","received_events_url":"https://api.github.com/users/bogdandrutu/received_events","type":"User","site_admin":false},"assignees":[{"login":"bogdandrutu","id":1373887,"avatar_url":"https://avatars0.githubusercontent.com/u/1373887?v=4","gravatar_id":"","url":"https://api.github.com/users/bogdandrutu","html_url":"https://github.com/bogdandrutu","followers_url":"https://api.github.com/users/bogdandrutu/followers","following_url":"https://api.github.com/users/bogdandrutu/following{/other_user}","gists_url":"https://api.github.com/users/bogdandrutu/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdandrutu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdandrutu/subscriptions","organizations_url":"https://api.github.com/users/bogdandrutu/orgs","repos_url":"https://api.github.com/users/bogdandrutu/repos","events_url":"https://api.github.com/users/bogdandrutu/events{/privacy}","received_events_url":"https://api.github.com/users/bogdandrutu/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":616301408,"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false},{"id":678369455,"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/labels/exporters","name":"exporters","color":"c2e0c6","default":false},{"id":566180202,"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/labels/stats","name":"stats","color":"9919ff","default":false}],"milestone":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-java/milestones/16","html_url":"https://github.com/census-instrumentation/opencensus-java/milestone/16","labels_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/milestones/16/labels","id":3134143,"number":16,"title":"Release 0.13.0","description":"","creator":{"login":"songy23","id":10536136,"avatar_url":"https://avatars3.githubusercontent.com/u/10536136?v=4","gravatar_id":"","url":"https://api.github.com/users/songy23","html_url":"https://github.com/songy23","followers_url":"https://api.github.com/users/songy23/followers","following_url":"https://api.github.com/users/songy23/following{/other_user}","gists_url":"https://api.github.com/users/songy23/gists{/gist_id}","starred_url":"https://api.github.com/users/songy23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songy23/subscriptions","organizations_url":"https://api.github.com/users/songy23/orgs","repos_url":"https://api.github.com/users/songy23/repos","events_url":"https://api.github.com/users/songy23/events{/privacy}","received_events_url":"https://api.github.com/users/songy23/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":15,"state":"open","created_at":"2018-02-21T18:28:34Z","updated_at":"2018-04-16T23:23:02Z","due_on":"2018-04-10T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135/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/1135/comments","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-java/statuses/8748ed31b74f1153a6f6aeacaf8094148eccb60e","head":{"label":"songy23:monitored-resource-utils","ref":"monitored-resource-utils","sha":"8748ed31b74f1153a6f6aeacaf8094148eccb60e","user":{"login":"songy23","id":10536136,"avatar_url":"https://avatars3.githubusercontent.com/u/10536136?v=4","gravatar_id":"","url":"https://api.github.com/users/songy23","html_url":"https://github.com/songy23","followers_url":"https://api.github.com/users/songy23/followers","following_url":"https://api.github.com/users/songy23/following{/other_user}","gists_url":"https://api.github.com/users/songy23/gists{/gist_id}","starred_url":"https://api.github.com/users/songy23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songy23/subscriptions","organizations_url":"https://api.github.com/users/songy23/orgs","repos_url":"https://api.github.com/users/songy23/repos","events_url":"https://api.github.com/users/songy23/events{/privacy}","received_events_url":"https://api.github.com/users/songy23/received_events","type":"User","site_admin":false},"repo":{"id":83500104,"name":"instrumentation-java","full_name":"songy23/instrumentation-java","owner":{"login":"songy23","id":10536136,"avatar_url":"https://avatars3.githubusercontent.com/u/10536136?v=4","gravatar_id":"","url":"https://api.github.com/users/songy23","html_url":"https://github.com/songy23","followers_url":"https://api.github.com/users/songy23/followers","following_url":"https://api.github.com/users/songy23/following{/other_user}","gists_url":"https://api.github.com/users/songy23/gists{/gist_id}","starred_url":"https://api.github.com/users/songy23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/songy23/subscriptions","organizations_url":"https://api.github.com/users/songy23/orgs","repos_url":"https://api.github.com/users/songy23/repos","events_url":"https://api.github.com/users/songy23/events{/privacy}","received_events_url":"https://api.github.com/users/songy23/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/songy23/instrumentation-java","description":"A stats collection framework","fork":true,"url":"https://api.github.com/repos/songy23/instrumentation-java","forks_url":"https://api.github.com/repos/songy23/instrumentation-java/forks","keys_url":"https://api.github.com/repos/songy23/instrumentation-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/songy23/instrumentation-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/songy23/instrumentation-java/teams","hooks_url":"https://api.github.com/repos/songy23/instrumentation-java/hooks","issue_events_url":"https://api.github.com/repos/songy23/instrumentation-java/issues/events{/number}","events_url":"https://api.github.com/repos/songy23/instrumentation-java/events","assignees_url":"https://api.github.com/repos/songy23/instrumentation-java/assignees{/user}","branches_url":"https://api.github.com/repos/songy23/instrumentation-java/branches{/branch}","tags_url":"https://api.github.com/repos/songy23/instrumentation-java/tags","blobs_url":"https://api.github.com/repos/songy23/instrumentation-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/songy23/instrumentation-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/songy23/instrumentation-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/songy23/instrumentation-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/songy23/instrumentation-java/statuses/{sha}","languages_url":"https://api.github.com/repos/songy23/instrumentation-java/languages","stargazers_url":"https://api.github.com/repos/songy23/instrumentation-java/stargazers","contributors_url":"https://api.github.com/repos/songy23/instrumentation-java/contributors","subscribers_url":"https://api.github.com/repos/songy23/instrumentation-java/subscribers","subscription_url":"https://api.github.com/repos/songy23/instrumentation-java/subscription","commits_url":"https://api.github.com/repos/songy23/instrumentation-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/songy23/instrumentation-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/songy23/instrumentation-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/songy23/instrumentation-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/songy23/instrumentation-java/contents/{+path}","compare_url":"https://api.github.com/repos/songy23/instrumentation-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/songy23/instrumentation-java/merges","archive_url":"https://api.github.com/repos/songy23/instrumentation-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/songy23/instrumentation-java/downloads","issues_url":"https://api.github.com/repos/songy23/instrumentation-java/issues{/number}","pulls_url":"https://api.github.com/repos/songy23/instrumentation-java/pulls{/number}","milestones_url":"https://api.github.com/repos/songy23/instrumentation-java/milestones{/number}","notifications_url":"https://api.github.com/repos/songy23/instrumentation-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/songy23/instrumentation-java/labels{/name}","releases_url":"https://api.github.com/repos/songy23/instrumentation-java/releases{/id}","deployments_url":"https://api.github.com/repos/songy23/instrumentation-java/deployments","created_at":"2017-03-01T02:03:46Z","updated_at":"2017-03-01T02:03:48Z","pushed_at":"2018-04-19T20:53:17Z","git_url":"git://github.com/songy23/instrumentation-java.git","ssh_url":"git@github.com:songy23/instrumentation-java.git","clone_url":"https://github.com/songy23/instrumentation-java.git","svn_url":"https://github.com/songy23/instrumentation-java","homepage":"","size":4635,"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":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"census-instrumentation:master","ref":"master","sha":"8ff7ff9abec6b7abe95391fb450d99866c6a2c3a","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-04-19T18:43:39Z","pushed_at":"2018-04-19T20:53:19Z","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":4544,"stargazers_count":351,"watchers_count":351,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"archived":false,"open_issues_count":62,"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":82,"open_issues":62,"watchers":351,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135"},"html":{"href":"https://github.com/census-instrumentation/opencensus-java/pull/1135"},"issue":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1135"},"comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/pulls/1135/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/1135/commits"},"statuses":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-java/statuses/8748ed31b74f1153a6f6aeacaf8094148eccb60e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"songy23"}}