mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Added Application Insights Telemetry
This commit is contained in:
parent
33af7cf391
commit
0449c3a43f
5 changed files with 52 additions and 10 deletions
|
|
@ -57,6 +57,7 @@ public class Startup
|
|||
});
|
||||
|
||||
services.AddHealthChecks();
|
||||
services.AddApplicationInsightsTelemetry(Configuration);
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
|
|
@ -67,7 +68,6 @@ public class Startup
|
|||
app.UseDeveloperExceptionPage();
|
||||
}
|
||||
|
||||
|
||||
var enableSwagger = Configuration.GetValue<bool>("EnableSwagger");
|
||||
if (enableSwagger)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue