200sOnly / Meter

A vuejs plugin to collect browsing related telemetry using Microsoft's application insights.
MIT License
3 stars 2 forks source link

applicationinsights-js is depricated new version is applicationinsights-web #16

Open Simonl9l opened 3 years ago

Simonl9l commented 3 years ago

I seem to be getting a failed to load resource https://dc.services.visualstudio.com/v2/track error.

Apparently given some google searches tis is related to the deprecated applicationinsights-js.

The new repo is here

Is there any intent to update the dependency ?

Thanks!

200sOnly commented 3 years ago

Just to clarify, did you include the instrumentation key in your main.js file?

On Mon, Nov 30, 2020 at 11:12 PM Simonl9l notifications@github.com wrote:

I seem to be getting a failed to load resource https://dc.services.visualstudio.com/v2/track error.

Apparently given some google searches tis is related to the deprecated applicationinsights-js.

The new repo is here https://github.com/Microsoft/ApplicationInsights-JS

Is there any intent to update the dependency ?

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/200sOnly/Meter/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWYYXVWBYKXDWAG3L7LXVDSSR3KVANCNFSM4UIQEQVQ .

Simonl9l commented 3 years ago

This code has been running fine for over 12 months...

code is thus:

Vue.use(Meter, {
  id: process.env.VUE_APP_APPLICATION_INSIGHTS_KEY,
  applicationName: `${process.env.VUE_APP_APPLICATION_INSIGHTS_NAME}`,
  router,
  trackingConfiguration
});

The key in the .env file is validated as correct.