Closed simondotm closed 8 months ago
Some telemetry example code here: https://github.com/microsoft/vscode-extension-samples/blob/d7dd9da34a9849396719408716d468512b5e5abb/telemetry-sample/src/extension.ts
Abandoning new relic. It's not supported in Electron, and free tier is very basic. Google Analytics also fairly useless in an electron app it seems. So will have to be Application Insights. Hopefully it wont cost much with such little traffic.
Would be nice to have some telemetry in the extension to get an idea of general usage, platforms and performance. VSCode has a built in telemetry logging API, but that is linked to Azure Application insights, which I've used before but is a 100lb gorilla. https://code.visualstudio.com/api/extension-guides/telemetry
So will probably use new relic for this instead. We have to check user permissions for
isTelemetryEnabled
andonDidChangeTelemetryEnabled