Skip to content
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

Implement analytics on file opening events in VS Code #6981

Closed
loujaybee opened this issue Nov 30, 2021 · 8 comments
Closed

Implement analytics on file opening events in VS Code #6981

loujaybee opened this issue Nov 30, 2021 · 8 comments
Assignees
Labels
aspect: analytics Anything related to analytics aspect: growth Issues relating to product growth initiatives editor: code (browser) team: IDE

Comments

@loujaybee
Copy link
Member

loujaybee commented Nov 30, 2021

As part of onboarding, we need events that define when a user has achieved recognition of the "read-only" aspects of Gitpod. A reasonable heuristic at this point would be to see if the user has interacted with the directory structure and/or the file system. This ticket is to instrument these events within VSCode to see when a user has opened a workspace and explored the internal file structures.

This metric is a candidate for an "end" point of the user onboarding funnel. However, #6896, would be a stronger metric for the onboarding funnel, however, this metric would be useful as a fallback for #6896 if we find that tracking commits prove to be challenging.

@loujaybee loujaybee added aspect: analytics Anything related to analytics aspect: growth Issues relating to product growth initiatives team: IDE editor: code (browser) labels Nov 30, 2021
@loujaybee
Copy link
Member Author

@akosyakov will update here with some more thoughts/notes on a technical solution.

@loujaybee
Copy link
Member Author

/assign

@loujaybee
Copy link
Member Author

Relates to: gitpod-io/openvscode-server#257

@jeanp413
Copy link
Member

From vscode telemetry:

  • event name activityBarAction logs viewlet Id and whether it is shown or hidden
  • event name workbenchActionExecuted logs command id (workbench.files.openFile, workbench.action.files.save) and context (explorer, keybinding)
  • event name editorOpened logs mime type, scheme, file extension
  • event name fileGet logs mime type and file extension
  • event name filePUT logs mime type and file extension

@loujaybee
Copy link
Member Author

loujaybee commented Dec 15, 2021

Hey @jeanp413! Looks like we are thinking pretty much the the same thing [1]. The events you suggest are (almost exactly) the same ones I suggested on the telemetry PR. But... I didn't manage to initiate/see the editorOpened event. I think those events you suggested make sense, let's go ahead with those, and convert them into analytics requests [1]

We'll need to find a mechanism to throttle / debounce the very frequent events though, like fileGet/filePut

@loujaybee
Copy link
Member Author

loujaybee commented Dec 21, 2021

Let's consider this ticket done, when it's deployed, etc, and let's see where the other file events might be relevant in relation to the other epic: #7326

@akosyakov
Copy link
Member

@loujaybee next VS Code stable release will be only in Feb, if you need it early please ask @jeanp413 to cherry pick changes into release branch and do a proper release.

@jeanp413 jeanp413 moved this to In Progress in 🚀 IDE Team Dec 22, 2021
@akosyakov
Copy link
Member

I'm cloing it, but keep in awaitting deployment since it is not in stable.

@loujaybee loujaybee moved this from Done to In Progress in 🚀 IDE Team Jan 10, 2022
@jeanp413 jeanp413 moved this from In Progress to Done in 🚀 IDE Team Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aspect: analytics Anything related to analytics aspect: growth Issues relating to product growth initiatives editor: code (browser) team: IDE
Projects
Status: Done
Development

No branches or pull requests

3 participants