question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make telemetry Data opt-in

See original GitHub issue
  • VSCode Version: 1.22.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Start VS Code 1.22.1 for the first time
  2. Now a notification pops up that tells me, that telemetry data is collected and I can opt-out

Does this issue occur when all extensions are disabled?: Yes

  1. I am not sure about this but I don’t think collecting telemtry data by default will conform to the General Data Protection Regulation of the EU that becomes effective in May 2018. It would be better to disable it per default and tell the user to enable it if he want’s to share data with you.

  2. When I checked the privacy policy linked in the notification popup (https://privacy.microsoft.com/en-us/privacystatement) I can’t find anything about the data collected by vs code. This is a very important information. This can be a big showstopper for using vscode in some companies, wen data is sent and nobody knows what data this is.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:79
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

29reactions
furticommented, Apr 23, 2018

@kieferrm thank you for your answer. Maybe the opt-out is a correct implementation of GDPR. I’m not a lawyer 😄 But forcing people to scan your code for comments, and furthermore to learn how your code is structured and how it works, is definitely not transparent at all.

For example I did a quick search for GDPR in your code and randomly selected a file (workspaceStats.ts:342)

                          /* __GDPR__
				"workspce.tags" : {
					"${include}": [
						"${WorkspaceTags}"
					]
				}
			*/
			this.telemetryService.publicLog('workspce.tags', tags);

I don’t even know what workspace tags are. So I have to invest half an hour, an hour, maybe two to fully understand what data is sent in this case. The search for GDPR found 60 occurences in your code. So I have to invest about a week to fully understand what data is sent by your application. And for the next version i will have to do the same. Maybe there is something new or something changed.

And the people who decide such things in a company mostly don’t code at all. So it isn’t even possible for them to understand the data sent by the application by scanning the code.

At least an human readable version of the data collected by you should be available.

22reactions
kieferrmcommented, Apr 19, 2018

@furti thanks for bringing this up. As you can imagine GDPR is a big deal for a company like Microsoft. All products have been working with legal counsel to achieve compliance. Our current understanding is that our notification is a correct implementation of GDPR. All of our code that sends telemetry is Open Source right here in this repo and it is annotated with which events and properties we send. Look for __GDPR__ comments in our code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Program Management/Programs/Telemetry/Improve Opt-in
The issue with Telemetry data lies in the sample population. Because Telemetry is opt-in, the sample population is not random and therefore needs...
Read more >
Telemetry - Visual Studio Code
Telemetry · Types of telemetry data · Disable telemetry reporting · Extensions and telemetry · Output channel for telemetry events · Viewing all...
Read more >
Configure Windows diagnostic data in your organization
Use this article to make informed decisions about how you can configure Windows diagnostic data in your organization.
Read more >
Workshop: All your telemetry data from any source in one place
Register on www.wearedevelopers.com/live for the full experience. There will be required actions before the workshop (like setting up a free ...
Read more >
An Essential Guide to OpenTelemetry - Logz.io
Every journey in Observability begins with instrumenting an application to emit telemetry data – primarily logs, metrics and traces – from each service...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found