File tree Expand file tree Collapse file tree 4 files changed +19
-4
lines changed
Expand file tree Collapse file tree 4 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "sonarlint.connectedMode.project" : {
3+ "connectionId" : " pathfinderhonormanager" ,
4+ "projectKey" : " PathfinderHonorManager_PathfinderHonorManagerAPI"
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
2626 logging . AddConsole ( ) ;
2727 logging . AddDebug ( ) ;
2828 logging . AddAzureWebAppDiagnostics ( ) ;
29+ logging . AddApplicationInsights ( ) ;
2930 } )
3031 . ConfigureServices ( services =>
3132 services . Configure < AzureFileLoggerOptions > ( options =>
Original file line number Diff line number Diff line change @@ -56,7 +56,14 @@ public void ConfigureServices(IServiceCollection services)
5656
5757 if ( ! Environment . IsDevelopment ( ) )
5858 {
59- services . AddApplicationInsightsTelemetry ( ) ;
59+ services . AddApplicationInsightsTelemetry ( options =>
60+ {
61+ options . EnableAdaptiveSampling = false ;
62+ options . EnableQuickPulseMetricStream = true ;
63+ options . EnablePerformanceCounterCollectionModule = true ;
64+ options . EnableDependencyTrackingTelemetryModule = true ;
65+ options . EnableRequestTrackingTelemetryModule = true ;
66+ } ) ;
6067 }
6168
6269 services . AddAuthorization ( options =>
Original file line number Diff line number Diff line change 55 },
66 "Logging" : {
77 "LogLevel" : {
8- "Default" : " Warning " ,
9- "Microsoft" : " Error " ,
8+ "Default" : " Information " ,
9+ "Microsoft" : " Information " ,
1010 "Microsoft.Hosting.Lifetime" : " Information" ,
11- "Microsoft.EntityFrameworkCore.Database" : " Warning"
11+ "Microsoft.EntityFrameworkCore.Database" : " Information" ,
12+ "PathfinderHonorManager" : " Information"
1213 }
1314 },
1415 "AllowedHosts" : " *" ,
You can’t perform that action at this time.
0 commit comments