-
Notifications
You must be signed in to change notification settings - Fork 324
Provide telemetry.json and document what's collected on the website #4424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We used to have our own flag for enabling analytics, but VS Code requested that we switch to using their flag. My understanding was that they wanted a single opt-in for the whole of VS Code (which you should get the first time you run Code) instead of extensions all popping up their own consent notifications. The discussion was offline, but there is some info about how extensions handle this here:
VS Code updated the telemetry settings to be more explicit that this includes extensions: I'm not sure what is best to do here. We could add our own prompt for Dart, but I feel this is not what VS Code wants. @isidorn do you have any advice here? I certainly don't want to appear to collect data without consent - but if it's not clear from VS Code's prompt that it's enabling for extensions maybe we should? @aitor-gomila I agree it should be much clearer what is collected (probably a page on dartcode.org and clear links from the readme/etc.). In the meantime you can see anything that's collected in Dart-Code/src/extension/analytics.ts Lines 108 to 145 in 5e550c1
|
My bad!!! Oh my god. I wanted to create this issue in the vscode repo :p I didn't EVEN know the dart extension collected any telemetry, so that is something to improve on, both your side but mostly VSCode. |
@DanTup I suggest to keep the current behavior and keep this issue open to collect more user feedback. Thanks |
Ah, maybe that makes a little more sense :-) I think it's fair to say it should be clearer for this extension in particular though. I do also have an open issue (#4377) to switch to VS Code's new telemetry classes. Perhaps VS Code could record what's being sent through that and make it accessible to the user. That way a user could see all data sent by all extensions (as long as they adopted these APIs) which I think would be nice and transparent. |
Can I work on #4377? (Looking to get experience on VSCode's extension API for a personal project - a compatibility layer like coc.nvim so other IDEs can use VSCode extensions) :) |
@aitor-gomila absolutely! There's info in https://github.com/Dart-Code/Dart-Code/blob/master/CONTRIBUTING.md about how to set up to run/dev the extension (it's mostly just clone, Feel free to ping me there if you get stuck or have any questions. Thanks! |
It appears there's a flag that lets users see which telemetry is being sent. Still, without reading the docs or the --help menu, most people won't see this option, as there's not even a "consent to telemetry" dialog. This is not your problem, this is about VSCode, just wanted to mention it :) |
Yes, I think it will. @lramos15 can confirm. |
You would have to manually generate your own. The new API will allow users to see live flowing telemetry via the |
Oh, I see. From the description I thought it meant VS Code would log all telemetry it is sending in that session, but actually it's just a file describing what's collected. It sounds like the Extension Telemetry output channel noted above is more like what I was expecting, thanks! |
@aitor-gomila since we already have #4377 about adopting the new APIs, I'm going to rename this issue back to be for providing a |
Okay! Afterwards, I want to work on a visual tool that lets you see what data is collected visually. But I need to work on this PR first. |
The extension now includes telemetry.json and there's a page on the website containing info derived from that file (and some additional notes on opting out, etc.): |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.Users currently sometimes know there is telemetry, but they do not know which kind of telemetry.
Describe the solution you'd likeA clear message saying VSCode uses telemetry, what is sent, a consent button and a do not consent button. An optional panel in the titlebar showing the user what information is being sent, when and how.
E.G: a panel in the Help titlebar button, that when clicked, opens a pane, with a table, showing all the requests and what exactly they send, and how much requests have been sent the last week.
Describe alternatives you've consideredShow the user a summary of all the information they've sent, put together.
Additional contextI understand why telemetry can be useful for something as big as VSCode, but I believe there's 2 keys here missing: consent and clarification.
EDIT: use vscode's built-in telemetry API.
The text was updated successfully, but these errors were encountered: