latelierco / vue-application-insights

MIT License
26 stars 9 forks source link

use operation id per page #15

Closed StefanSchoof closed 2 years ago

StefanSchoof commented 3 years ago

Currently application insights logs one session as one operation and every page with the operation name "/". This makes the Performance view in the application insights less helpful. With this change it will look like: grafik

This sets the same property as the official angular plugin: https://github.com/microsoft/ApplicationInsights-JS/blob/ae71ebf806da82e149b0af60f00d70b2c1d3e3f0/extensions/applicationinsights-angularplugin-js/src/AngularPlugin.ts#L83-L84

I am unsure if this is an breaking change. I see three options:

kvakulo commented 3 years ago

Thanks, just what we needed :+1: