File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
- using Microsoft . ApplicationInsights . Extensibility ;
2
1
using Microsoft . AspNetCore . Authentication . JwtBearer ;
3
2
using Microsoft . IdentityModel . Tokens ;
4
3
using Serilog ;
76
75
// new Uri("https://wms-webui-configurations.vault.azure.net/"),
77
76
// new DefaultAzureCredential());
78
77
79
- builder . Host . UseSerilog ( ( context , configuration ) => configuration
80
- . MinimumLevel . Debug ( )
81
- . WriteTo . ApplicationInsights (
82
- new TelemetryConfiguration
83
- {
84
- InstrumentationKey = "99999930-e6b4-46ed-95cb-73ef51449b94" ,
85
- ConnectionString = "InstrumentationKey=99999930-e6b4-46ed-95cb-73ef51449b94;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/;ApplicationId=8837aba4-c7d2-4e4b-a012-01a48d5216ba"
86
- } ,
87
- TelemetryConverter . Traces ) ) ;
78
+ // builder.Host.UseSerilog((context, configuration) => configuration
79
+ // .MinimumLevel.Debug()
80
+ // .WriteTo.ApplicationInsights(
81
+ // new TelemetryConfiguration
82
+ // {
83
+ // InstrumentationKey = "99999930-e6b4-46ed-95cb-73ef51449b94",
84
+ // ConnectionString = "InstrumentationKey=99999930-e6b4-46ed-95cb-73ef51449b94;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/;ApplicationId=8837aba4-c7d2-4e4b-a012-01a48d5216ba"
85
+ // },
86
+ // TelemetryConverter.Traces));
88
87
}
89
88
90
89
app . UseHttpsRedirection ( ) ;
You can’t perform that action at this time.
0 commit comments