Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Why do you include Application Insights by default ? #81
[ ] Enhancement
[ ] Bug
Please specify what version of the library you are using: [1.2.4]
Hello team !
We developped a SPFx webpart for one of our customers. Sometimes the component fails to load. This customer uses a third party product on his SharePoint tenant that uses AppInsights. Our component and this product sometines have conflicts because of that.
I was surprised because we do not use AppInisghts, but I found that you do. Can you explain me why you need this and what informations do you track please ?
Can you explain more about the issues you are facing / errors which occur while loading the component?
We indeed have application insights in place to track the usage of the controls. This way we know which versions of controls are in use, and which ones are used the most. We filter out all unnecessary data. So only component events are sent, no other usage.
If you want, you can check out the filter we have in place here: https://github.com/SharePoint/sp-dev-fx-controls-react/blob/master/src/common/appInsights/index.ts
@Tinathnath just to let you know we are going to change the whole telemetry. Apparently, Application Insights doesn't fully support multi-key / multi-account yet. So we are changing it so that other solutions like yours can leverage Application Insights without any issues.
@Tinathnath just wanted to let you know that in the latest release we removed Application Insights from the package. We now use our own tracking module and shared the code of our projects here to have full transparency of how and what gets tracked, which is basically only the controls and versions that are used.
This change would allow you to make use of Application Insights in your own projects without any conflicts from us anymore.
Feel free to test it out in the latest beta. More information about testing a beta version can be found here: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/