simondotm / beeb-vsc

Visual Studio Code Extension to support code development for BBC Micro
https://marketplace.visualstudio.com/items?itemName=simondotm.beeb-vsc
MIT License
14 stars 3 forks source link

Add telemetry #93

Closed simondotm closed 8 months ago

simondotm commented 8 months ago

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 and onDidChangeTelemetryEnabled

simondotm commented 8 months ago

Some telemetry example code here: https://github.com/microsoft/vscode-extension-samples/blob/d7dd9da34a9849396719408716d468512b5e5abb/telemetry-sample/src/extension.ts

simondotm commented 8 months ago

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.