microsoft/vscode-extension-telemetry

Please improve setup instructions regarding peer dependencies

jayu opened this issue · 2 comments

jayu commented

I've tried to setup version 0.8.0, then 0.7.7 and then 0.6.2 and encountered a problem with two dependencies.

I bundle my extension with Webpack, and these two deps were missing after installing @vscode/extension-telemetry

  • applicationinsights-native-metrics (peer dep of @vscode/extension-telemetry)
  • @azure/functions-core (dep of applicationinsights)

I've disabled resolving those deps in webpack config and I've managed to make the integration with Azure Applications Insights work.

But now I'm not sure

  • Can I release my extension and don't worry about those missing packages breaking something
  • Why the reporting works without those packages

Similar to #150

jayu commented

Ah this is a duplicate, I didn't search for similar issue. I will close this one