vscode-viva icon indicating copy to clipboard operation
vscode-viva copied to clipboard

Telemetry support for SPFx Toolkit. Closes #570

Open Saurabh7019 opened this issue 2 months ago β€’ 1 comments

🎯 Aim

This PR adds telemetry support for SPFx Toolkit to help us understand how the extension is used and improve its features.

πŸ“· Result

App Insights portal-azure

CSV report image

βœ… What was done

  • [] Proper way of handling the AI connection string
  • [] AI capabilities such as chat participants and LM tools
  • [] Usage of vscode.open actions
  • [X] Created a centralized telemetry service
  • [X] Extension lifecycle tracking - Activation, Deactivation
  • [X] Authentication actions tracking - Login/Logout
  • [X] Usage of actions from the Actions view
  • [X] Usage of actions from the Tasks view
  • [X] App management actions including adding app catalog, managing tenant-wide extensions, and managing SPFx apps
  • [X] Support to disable telemetry through VS Code settings
  • [X] Updated documentation

βœ… How to test

  • Set up application insights and get your AI connection string
  • Search for key 'aiConnectionString' in package.json and replace the value
  • Run the PR locally and click on below actions:
vscode-viva-about-telemetry

πŸ”— Related issue

Closes: #570

Saurabh7019 avatar Nov 17 '25 15:11 Saurabh7019

uuuu looks interesting.... I will try to give it a check/review next week unless someone is quicker than me🀩

Adam-it avatar Nov 17 '25 19:11 Adam-it