You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
Enable AI by using AddApplicationInsightsTelemetry(). (Do not pass ikey as argument)
Start app (with or without VS Debugger), and put load.
Actual Behavior
Ikey is not read, and hency no telemetry sent.
Expected Behavior
Ikey should be read from appsettings.json
Version Info
SDK Version : 2.2
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VS
OS : Windows
Hosting Info (IIS/Azure WebApps/ etc) : Self
If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps
VS->New WebApp .net core
Add the following to appsettings.json
{
"Logging": {
"IncludeScopes": false,
"Debug": {
"LogLevel": {
"Default": "Warning"
}
},
"Console": {
"LogLevel": {
"Default": "Warning"
}
}
},
"ApplicationInsights": {
"InstrumentationKey": "11111111-2222-3333-4444-555555555555"
}
}
Enable AI by using AddApplicationInsightsTelemetry(). (Do not pass ikey as argument)
Start app (with or without VS Debugger), and put load.
Actual Behavior
Expected Behavior
Ikey should be read from appsettings.json
Version Info
SDK Version : 2.2
.NET Version :
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VS
OS : Windows
Hosting Info (IIS/Azure WebApps/ etc) : Self