{"action":"created","comment":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/comments/245142407","pull_request_review_id":189194069,"id":245142407,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTE0MjQwNw==","diff_hunk":"@@ -41,6 +41,27 @@ public void ExporterThrownExceptionWarning(string ex)\n             this.WriteEvent(1, ex);\n         }\n \n+        [Event(2, Message = \"{0} should be an ASCII string with a length greater than 0 and not exceeding {1} characters.\", Level = EventLevel.Warning)]\n+        public void InvalidCharactersInElement(string element)\n+        {\n+            this.WriteEvent(2, element, Constants.MaxResourceTypeNameLength);\n+        }\n+\n+        [NonEvent]\n+        public void SecurityExceptionWarning(Exception ex)\n+        {\n+            if (Log.IsEnabled(EventLevel.Warning, EventKeywords.All))\n+            {\n+                this.SecurityExceptionWarning(ToInvariantString(ex));\n+            }\n+        }\n+\n+        [Event(3, Message = \"Main library failed with security exception: {0}\")]","path":"src/OpenCensus/Implementation/OpenCensusEventSource.cs","position":19,"original_position":19,"commit_id":"5662582fe99a864534aa104cbc24daef257655d5","original_commit_id":"5662582fe99a864534aa104cbc24daef257655d5","user":{"login":"SergeyKanzhelev","id":9950081,"node_id":"MDQ6VXNlcjk5NTAwODE=","avatar_url":"https://avatars2.githubusercontent.com/u/9950081?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeyKanzhelev","html_url":"https://github.com/SergeyKanzhelev","followers_url":"https://api.github.com/users/SergeyKanzhelev/followers","following_url":"https://api.github.com/users/SergeyKanzhelev/following{/other_user}","gists_url":"https://api.github.com/users/SergeyKanzhelev/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyKanzhelev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyKanzhelev/subscriptions","organizations_url":"https://api.github.com/users/SergeyKanzhelev/orgs","repos_url":"https://api.github.com/users/SergeyKanzhelev/repos","events_url":"https://api.github.com/users/SergeyKanzhelev/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyKanzhelev/received_events","type":"User","site_admin":false},"body":"Please specify severity","created_at":"2019-01-03T21:42:32Z","updated_at":"2019-01-03T21:44:21Z","html_url":"https://github.com/census-instrumentation/opencensus-csharp/pull/81#discussion_r245142407","pull_request_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/comments/245142407"},"html":{"href":"https://github.com/census-instrumentation/opencensus-csharp/pull/81#discussion_r245142407"},"pull_request":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81","id":240083930,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwMDgzOTMw","html_url":"https://github.com/census-instrumentation/opencensus-csharp/pull/81","diff_url":"https://github.com/census-instrumentation/opencensus-csharp/pull/81.diff","patch_url":"https://github.com/census-instrumentation/opencensus-csharp/pull/81.patch","issue_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/81","number":81,"state":"open","locked":false,"title":"Adding Resource API - v0","user":{"login":"simonz130","id":32641282,"node_id":"MDQ6VXNlcjMyNjQxMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/32641282?v=4","gravatar_id":"","url":"https://api.github.com/users/simonz130","html_url":"https://github.com/simonz130","followers_url":"https://api.github.com/users/simonz130/followers","following_url":"https://api.github.com/users/simonz130/following{/other_user}","gists_url":"https://api.github.com/users/simonz130/gists{/gist_id}","starred_url":"https://api.github.com/users/simonz130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonz130/subscriptions","organizations_url":"https://api.github.com/users/simonz130/orgs","repos_url":"https://api.github.com/users/simonz130/repos","events_url":"https://api.github.com/users/simonz130/events{/privacy}","received_events_url":"https://api.github.com/users/simonz130/received_events","type":"User","site_admin":false},"body":"- Added IResource definition based on\r\nhttps://github.com/census-instrumentation/opencensus-proto/blob/master/src/opencensus/proto/resource/v1/resource.proto\r\n- Added abstract class that implements IResource. Currently it's a scheleton for adding custom resources.\r\nThis is needed so that the library can identify the resource for which telemetry is collected.","created_at":"2018-12-20T08:09:59Z","updated_at":"2019-01-03T21:44:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"468a0de74da86ecf4f8aeb8780a92be5ceb8f7bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81/commits","review_comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81/comments","review_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/81/comments","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/statuses/5662582fe99a864534aa104cbc24daef257655d5","head":{"label":"simonz130:AddResource","ref":"AddResource","sha":"5662582fe99a864534aa104cbc24daef257655d5","user":{"login":"simonz130","id":32641282,"node_id":"MDQ6VXNlcjMyNjQxMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/32641282?v=4","gravatar_id":"","url":"https://api.github.com/users/simonz130","html_url":"https://github.com/simonz130","followers_url":"https://api.github.com/users/simonz130/followers","following_url":"https://api.github.com/users/simonz130/following{/other_user}","gists_url":"https://api.github.com/users/simonz130/gists{/gist_id}","starred_url":"https://api.github.com/users/simonz130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonz130/subscriptions","organizations_url":"https://api.github.com/users/simonz130/orgs","repos_url":"https://api.github.com/users/simonz130/repos","events_url":"https://api.github.com/users/simonz130/events{/privacy}","received_events_url":"https://api.github.com/users/simonz130/received_events","type":"User","site_admin":false},"repo":{"id":142915445,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI5MTU0NDU=","name":"opencensus-csharp","full_name":"simonz130/opencensus-csharp","private":false,"owner":{"login":"simonz130","id":32641282,"node_id":"MDQ6VXNlcjMyNjQxMjgy","avatar_url":"https://avatars0.githubusercontent.com/u/32641282?v=4","gravatar_id":"","url":"https://api.github.com/users/simonz130","html_url":"https://github.com/simonz130","followers_url":"https://api.github.com/users/simonz130/followers","following_url":"https://api.github.com/users/simonz130/following{/other_user}","gists_url":"https://api.github.com/users/simonz130/gists{/gist_id}","starred_url":"https://api.github.com/users/simonz130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonz130/subscriptions","organizations_url":"https://api.github.com/users/simonz130/orgs","repos_url":"https://api.github.com/users/simonz130/repos","events_url":"https://api.github.com/users/simonz130/events{/privacy}","received_events_url":"https://api.github.com/users/simonz130/received_events","type":"User","site_admin":false},"html_url":"https://github.com/simonz130/opencensus-csharp","description":"Distributed tracing and stats collecting framework","fork":true,"url":"https://api.github.com/repos/simonz130/opencensus-csharp","forks_url":"https://api.github.com/repos/simonz130/opencensus-csharp/forks","keys_url":"https://api.github.com/repos/simonz130/opencensus-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonz130/opencensus-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonz130/opencensus-csharp/teams","hooks_url":"https://api.github.com/repos/simonz130/opencensus-csharp/hooks","issue_events_url":"https://api.github.com/repos/simonz130/opencensus-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/simonz130/opencensus-csharp/events","assignees_url":"https://api.github.com/repos/simonz130/opencensus-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/simonz130/opencensus-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/simonz130/opencensus-csharp/tags","blobs_url":"https://api.github.com/repos/simonz130/opencensus-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonz130/opencensus-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonz130/opencensus-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonz130/opencensus-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonz130/opencensus-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/simonz130/opencensus-csharp/languages","stargazers_url":"https://api.github.com/repos/simonz130/opencensus-csharp/stargazers","contributors_url":"https://api.github.com/repos/simonz130/opencensus-csharp/contributors","subscribers_url":"https://api.github.com/repos/simonz130/opencensus-csharp/subscribers","subscription_url":"https://api.github.com/repos/simonz130/opencensus-csharp/subscription","commits_url":"https://api.github.com/repos/simonz130/opencensus-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonz130/opencensus-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonz130/opencensus-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonz130/opencensus-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonz130/opencensus-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/simonz130/opencensus-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonz130/opencensus-csharp/merges","archive_url":"https://api.github.com/repos/simonz130/opencensus-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonz130/opencensus-csharp/downloads","issues_url":"https://api.github.com/repos/simonz130/opencensus-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/simonz130/opencensus-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/simonz130/opencensus-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/simonz130/opencensus-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonz130/opencensus-csharp/labels{/name}","releases_url":"https://api.github.com/repos/simonz130/opencensus-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/simonz130/opencensus-csharp/deployments","created_at":"2018-07-30T18:49:36Z","updated_at":"2018-12-19T23:31:31Z","pushed_at":"2019-01-03T18:55:30Z","git_url":"git://github.com/simonz130/opencensus-csharp.git","ssh_url":"git@github.com:simonz130/opencensus-csharp.git","clone_url":"https://github.com/simonz130/opencensus-csharp.git","svn_url":"https://github.com/simonz130/opencensus-csharp","homepage":"https://opencensus.io","size":985,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"census-instrumentation:develop","ref":"develop","sha":"d2b4b35e73986f2e70f9fe17b94a2e06e799e386","user":{"login":"census-instrumentation","id":26944525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTQ0NTI1","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":114239673,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQyMzk2NzM=","name":"opencensus-csharp","full_name":"census-instrumentation/opencensus-csharp","private":false,"owner":{"login":"census-instrumentation","id":26944525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2OTQ0NTI1","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},"html_url":"https://github.com/census-instrumentation/opencensus-csharp","description":"Distributed tracing and stats collecting framework","fork":false,"url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp","forks_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/forks","keys_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/teams","hooks_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/hooks","issue_events_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/events{/number}","events_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/events","assignees_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/assignees{/user}","branches_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/branches{/branch}","tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/tags","blobs_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/languages","stargazers_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/stargazers","contributors_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/contributors","subscribers_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/subscribers","subscription_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/subscription","commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/contents/{+path}","compare_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/merges","archive_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/downloads","issues_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues{/number}","pulls_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/labels{/name}","releases_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/releases{/id}","deployments_url":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/deployments","created_at":"2017-12-14T10:58:28Z","updated_at":"2019-01-03T21:36:23Z","pushed_at":"2019-01-03T21:36:25Z","git_url":"git://github.com/census-instrumentation/opencensus-csharp.git","ssh_url":"git@github.com:census-instrumentation/opencensus-csharp.git","clone_url":"https://github.com/census-instrumentation/opencensus-csharp.git","svn_url":"https://github.com/census-instrumentation/opencensus-csharp","homepage":"https://opencensus.io","size":1043,"stargazers_count":52,"watchers_count":52,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":11,"open_issues":23,"watchers":52,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81"},"html":{"href":"https://github.com/census-instrumentation/opencensus-csharp/pull/81"},"issue":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/81"},"comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/census-instrumentation/opencensus-csharp/statuses/5662582fe99a864534aa104cbc24daef257655d5"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"SergeyKanzhelev"}}