I implemented the application insights in my angular 2 application. In that I am tracking logged users, page views, custom events, exceptions and dependency calls.
When I observe the telemetry data in azure, it shows page views, events, exceptions, users and dependency Ajax calls. But the dependency Ajax calls will monitor node modules dependencies along with my Rest API calls what I wrote code in my application.
Please see the below image for more information about Ajax calls in node modules classes.
And also I am able to see the browserLinkSignalR dependency Ajax calls in azure application insights resource.
Please see the below image for more information about browserLinkSignalR Ajax calls.
This is the code I wrote in app.component.ts for initialization
this._appInsightsService.Init({
instrumentationKey: 'XXXXXXXXXXXXXXXXXXXXXXXX', // Required field
// enableDebug: false,
maxAjaxCallsPerView: 50,
//disableAjaxTracking: true
//samplingPercentage:10,
//disableTelemetry: true
});
How can I monitor only code related dependencies Ajax calls not a node modules dependencies and browserLinkSignalR Ajax calls?