{"repo":"microsoft/vscode-extension-telemetry","free":true,"listed":false,"github":"https://github.com/microsoft/vscode-extension-telemetry","clone":"git clone https://github.com/microsoft/vscode-extension-telemetry.git","description":"Node module to help VS Code extensions send telemetry using application insights","language":"TypeScript","stars":165,"topics":["nodejs","vscode","telemetry"],"license":null,"category":"analytics","readme_excerpt":"@vscode/extension-telemetry This module provides a consistent way for extensions to report telemetry over Application Insights. The module respects the user's decision about whether or not to send telemetry data. See telemetry extension guidelines for more information on using telemetry in your extension. Follow guide to set up Application Insights in Azure and get your connection string. Don't worry about hardcoding it, it is not sensitive. Install With npm: npm install @vscode/extension-telemetry With yarn: yarn add @vscode/extension-telemetry Usage Setup Sending Events Use this method for sending general events to App Insights. Sending Errors as Events Use this method for sending error telemetry as traditional events to App Insights. Note: To filter out sensitive properties (e.g., stack traces), use replacementOptions in the constructor rather than passing properties to drop as a parameter. Advanced Features (v1.5.0+) Custom Endpoints and Configuration Route telemetry to non-Azure endpoints (e.g., GitHub telemetry) and configure common properties and static tags: When to use constructor options: - ✅ All values are known at reporter construction time - ✅ Values don't change during the reporter's lifetime - ✅ This is the recommended approach for most use cases Per-Event Tag Overrides For dynamic tags that change per event (e.g., user tracking IDs from authentication tokens): Tag Merging Priority (lowest to highest): 1. Constructor tagOverrides (static, set at initialization)","default_branch":null,"files":null,"tree":[],"storefront":"/r/microsoft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/microsoft/vscode-extension-telemetry/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}