{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vstest/pulls/comments/143389006","pull_request_review_id":67892787,"id":143389006,"diff_hunk":"@@ -17,7 +23,12 @@ public class NoOpMetricsPublisher : IMetricsPublisher\n         /// <param name=\"metrics\"></param>\n         public void PublishMetrics(string eventName, IDictionary<string, object> metrics)\n         {\n-            // No Operation\n+            // Log to Text File\n+            var logEnabled = Environment.GetEnvironmentVariable(\"VSTEST_LOGTELEMETRY\");\n+            if (!string.IsNullOrEmpty(logEnabled) && logEnabled.Equals(\"1\", StringComparison.Ordinal))\n+            {\n+                this.LogToFile(eventName, metrics, new FileHelper());","path":"src/vstest.console/Publisher/NoOpMetricsPublisher.cs","position":23,"original_position":23,"commit_id":"e6ff9c7443fd0e42f8d50850f25af06e03a40425","original_commit_id":"e6ff9c7443fd0e42f8d50850f25af06e03a40425","user":{"login":"harshjain2","id":13763032,"avatar_url":"https://avatars0.githubusercontent.com/u/13763032?v=4","gravatar_id":"","url":"https://api.github.com/users/harshjain2","html_url":"https://github.com/harshjain2","followers_url":"https://api.github.com/users/harshjain2/followers","following_url":"https://api.github.com/users/harshjain2/following{/other_user}","gists_url":"https://api.github.com/users/harshjain2/gists{/gist_id}","starred_url":"https://api.github.com/users/harshjain2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshjain2/subscriptions","organizations_url":"https://api.github.com/users/harshjain2/orgs","repos_url":"https://api.github.com/users/harshjain2/repos","events_url":"https://api.github.com/users/harshjain2/events{/privacy}","received_events_url":"https://api.github.com/users/harshjain2/received_events","type":"User","site_admin":false},"body":"Can we log the file in EqtTrace logs?","created_at":"2017-10-09T06:11:12Z","updated_at":"2017-10-09T06:11:13Z","html_url":"https://github.com/Microsoft/vstest/pull/1178#discussion_r143389006","pull_request_url":"https://api.github.com/repos/Microsoft/vstest/pulls/1178","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/comments/143389006"},"html":{"href":"https://github.com/Microsoft/vstest/pull/1178#discussion_r143389006"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/1178"}},"in_reply_to_id":143388662},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vstest/pulls/1178","id":145376891,"html_url":"https://github.com/Microsoft/vstest/pull/1178","diff_url":"https://github.com/Microsoft/vstest/pull/1178.diff","patch_url":"https://github.com/Microsoft/vstest/pull/1178.patch","issue_url":"https://api.github.com/repos/Microsoft/vstest/issues/1178","number":1178,"state":"open","locked":false,"title":"Removed dependency on VS Telemetry.","user":{"login":"harshjain2","id":13763032,"avatar_url":"https://avatars0.githubusercontent.com/u/13763032?v=4","gravatar_id":"","url":"https://api.github.com/users/harshjain2","html_url":"https://github.com/harshjain2","followers_url":"https://api.github.com/users/harshjain2/followers","following_url":"https://api.github.com/users/harshjain2/following{/other_user}","gists_url":"https://api.github.com/users/harshjain2/gists{/gist_id}","starred_url":"https://api.github.com/users/harshjain2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshjain2/subscriptions","organizations_url":"https://api.github.com/users/harshjain2/orgs","repos_url":"https://api.github.com/users/harshjain2/repos","events_url":"https://api.github.com/users/harshjain2/events{/privacy}","received_events_url":"https://api.github.com/users/harshjain2/received_events","type":"User","site_admin":false},"body":"Removed dependency on VS Telemetry.","created_at":"2017-10-09T05:36:54Z","updated_at":"2017-10-09T06:11:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e238659e1d99c1578fe333c2abcb8c36624601f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Faizan2304","id":19184362,"avatar_url":"https://avatars2.githubusercontent.com/u/19184362?v=4","gravatar_id":"","url":"https://api.github.com/users/Faizan2304","html_url":"https://github.com/Faizan2304","followers_url":"https://api.github.com/users/Faizan2304/followers","following_url":"https://api.github.com/users/Faizan2304/following{/other_user}","gists_url":"https://api.github.com/users/Faizan2304/gists{/gist_id}","starred_url":"https://api.github.com/users/Faizan2304/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Faizan2304/subscriptions","organizations_url":"https://api.github.com/users/Faizan2304/orgs","repos_url":"https://api.github.com/users/Faizan2304/repos","events_url":"https://api.github.com/users/Faizan2304/events{/privacy}","received_events_url":"https://api.github.com/users/Faizan2304/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vstest/pulls/1178/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vstest/pulls/1178/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vstest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vstest/issues/1178/comments","statuses_url":"https://api.github.com/repos/Microsoft/vstest/statuses/e6ff9c7443fd0e42f8d50850f25af06e03a40425","head":{"label":"harshjain2:removeVSTelemetry","ref":"removeVSTelemetry","sha":"e6ff9c7443fd0e42f8d50850f25af06e03a40425","user":{"login":"harshjain2","id":13763032,"avatar_url":"https://avatars0.githubusercontent.com/u/13763032?v=4","gravatar_id":"","url":"https://api.github.com/users/harshjain2","html_url":"https://github.com/harshjain2","followers_url":"https://api.github.com/users/harshjain2/followers","following_url":"https://api.github.com/users/harshjain2/following{/other_user}","gists_url":"https://api.github.com/users/harshjain2/gists{/gist_id}","starred_url":"https://api.github.com/users/harshjain2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshjain2/subscriptions","organizations_url":"https://api.github.com/users/harshjain2/orgs","repos_url":"https://api.github.com/users/harshjain2/repos","events_url":"https://api.github.com/users/harshjain2/events{/privacy}","received_events_url":"https://api.github.com/users/harshjain2/received_events","type":"User","site_admin":false},"repo":{"id":79492166,"name":"vstest","full_name":"harshjain2/vstest","owner":{"login":"harshjain2","id":13763032,"avatar_url":"https://avatars0.githubusercontent.com/u/13763032?v=4","gravatar_id":"","url":"https://api.github.com/users/harshjain2","html_url":"https://github.com/harshjain2","followers_url":"https://api.github.com/users/harshjain2/followers","following_url":"https://api.github.com/users/harshjain2/following{/other_user}","gists_url":"https://api.github.com/users/harshjain2/gists{/gist_id}","starred_url":"https://api.github.com/users/harshjain2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshjain2/subscriptions","organizations_url":"https://api.github.com/users/harshjain2/orgs","repos_url":"https://api.github.com/users/harshjain2/repos","events_url":"https://api.github.com/users/harshjain2/events{/privacy}","received_events_url":"https://api.github.com/users/harshjain2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harshjain2/vstest","description":"Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.","fork":true,"url":"https://api.github.com/repos/harshjain2/vstest","forks_url":"https://api.github.com/repos/harshjain2/vstest/forks","keys_url":"https://api.github.com/repos/harshjain2/vstest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harshjain2/vstest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harshjain2/vstest/teams","hooks_url":"https://api.github.com/repos/harshjain2/vstest/hooks","issue_events_url":"https://api.github.com/repos/harshjain2/vstest/issues/events{/number}","events_url":"https://api.github.com/repos/harshjain2/vstest/events","assignees_url":"https://api.github.com/repos/harshjain2/vstest/assignees{/user}","branches_url":"https://api.github.com/repos/harshjain2/vstest/branches{/branch}","tags_url":"https://api.github.com/repos/harshjain2/vstest/tags","blobs_url":"https://api.github.com/repos/harshjain2/vstest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harshjain2/vstest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harshjain2/vstest/git/refs{/sha}","trees_url":"https://api.github.com/repos/harshjain2/vstest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harshjain2/vstest/statuses/{sha}","languages_url":"https://api.github.com/repos/harshjain2/vstest/languages","stargazers_url":"https://api.github.com/repos/harshjain2/vstest/stargazers","contributors_url":"https://api.github.com/repos/harshjain2/vstest/contributors","subscribers_url":"https://api.github.com/repos/harshjain2/vstest/subscribers","subscription_url":"https://api.github.com/repos/harshjain2/vstest/subscription","commits_url":"https://api.github.com/repos/harshjain2/vstest/commits{/sha}","git_commits_url":"https://api.github.com/repos/harshjain2/vstest/git/commits{/sha}","comments_url":"https://api.github.com/repos/harshjain2/vstest/comments{/number}","issue_comment_url":"https://api.github.com/repos/harshjain2/vstest/issues/comments{/number}","contents_url":"https://api.github.com/repos/harshjain2/vstest/contents/{+path}","compare_url":"https://api.github.com/repos/harshjain2/vstest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harshjain2/vstest/merges","archive_url":"https://api.github.com/repos/harshjain2/vstest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harshjain2/vstest/downloads","issues_url":"https://api.github.com/repos/harshjain2/vstest/issues{/number}","pulls_url":"https://api.github.com/repos/harshjain2/vstest/pulls{/number}","milestones_url":"https://api.github.com/repos/harshjain2/vstest/milestones{/number}","notifications_url":"https://api.github.com/repos/harshjain2/vstest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harshjain2/vstest/labels{/name}","releases_url":"https://api.github.com/repos/harshjain2/vstest/releases{/id}","deployments_url":"https://api.github.com/repos/harshjain2/vstest/deployments","created_at":"2017-01-19T20:29:24Z","updated_at":"2017-01-19T20:29:28Z","pushed_at":"2017-10-09T05:36:49Z","git_url":"git://github.com/harshjain2/vstest.git","ssh_url":"git@github.com:harshjain2/vstest.git","clone_url":"https://github.com/harshjain2/vstest.git","svn_url":"https://github.com/harshjain2/vstest","homepage":"","size":8092,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"a96217c8112d319bb76be16212835ec1cc9bd3a3","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":62774726,"name":"vstest","full_name":"Microsoft/vstest","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vstest","description":"Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.","fork":false,"url":"https://api.github.com/repos/Microsoft/vstest","forks_url":"https://api.github.com/repos/Microsoft/vstest/forks","keys_url":"https://api.github.com/repos/Microsoft/vstest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vstest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vstest/teams","hooks_url":"https://api.github.com/repos/Microsoft/vstest/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vstest/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vstest/events","assignees_url":"https://api.github.com/repos/Microsoft/vstest/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vstest/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vstest/tags","blobs_url":"https://api.github.com/repos/Microsoft/vstest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vstest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vstest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vstest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vstest/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vstest/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vstest/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vstest/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vstest/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vstest/subscription","commits_url":"https://api.github.com/repos/Microsoft/vstest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vstest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vstest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vstest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vstest/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vstest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vstest/merges","archive_url":"https://api.github.com/repos/Microsoft/vstest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vstest/downloads","issues_url":"https://api.github.com/repos/Microsoft/vstest/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vstest/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vstest/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vstest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vstest/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vstest/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vstest/deployments","created_at":"2016-07-07T04:18:58Z","updated_at":"2017-09-28T11:29:03Z","pushed_at":"2017-10-09T05:50:38Z","git_url":"git://github.com/Microsoft/vstest.git","ssh_url":"git@github.com:Microsoft/vstest.git","clone_url":"https://github.com/Microsoft/vstest.git","svn_url":"https://github.com/Microsoft/vstest","homepage":"","size":7110,"stargazers_count":324,"watchers_count":324,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":178,"forks":68,"open_issues":178,"watchers":324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/1178"},"html":{"href":"https://github.com/Microsoft/vstest/pull/1178"},"issue":{"href":"https://api.github.com/repos/Microsoft/vstest/issues/1178"},"comments":{"href":"https://api.github.com/repos/Microsoft/vstest/issues/1178/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/1178/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vstest/pulls/1178/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vstest/statuses/e6ff9c7443fd0e42f8d50850f25af06e03a40425"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"harshjain2"}}