Utilize the new telemetry API
Note: This breaks the .d.ts
file in that it removes some extension specific information from the constructor in favor of just supplying the key.
This module will now directly consume the VS Code telemetry API announced with the release of 1.75.0. This API should vastly improve the telemetry experience.
New Features
- Automatic error handling logged to your
sendTelemetryException
function. - A shared
Extension Telemetry
output channel that allows you to see and debug the flow of telemetry in product when log level is set to trace - PII cleaning which is automatically updated with the version of VS Code
- Support for the new
Error
telemetry level rather than a simple on off switch.