I am creating a angular app and trying to add appinsights to the angular app. The config is set as follows:
private config: Microsoft.ApplicationInsights.IConfig = {
instrumentationKey: environment.appInsights.instrumentationKey,
disableCorrelationHeaders: false,
enableDebug : true,
verboseLogging : true
}
and app insights is initialized as follows in a angular service.
if (!AppInsights.config) {
AppInsights.downloadAndSetup(this.config);
}
But I am not seeing dependency calls having the following headers 'Request-Id' 'Request-Context'
Was anyone successful in getting this to work?