pull/3528/head
tidusjar 5 years ago
parent 69ead4f841
commit 118cff60af

@ -60,7 +60,7 @@
<ItemGroup>
<PackageReference Include="AspNetCore.HealthChecks.MySql" Version="3.0.0" />
<PackageReference Include="AspNetCore.HealthChecks.Sqlite" Version="3.0.0" />
<PackageReference Include="AspNetCore.HealthChecks.UI" Version="3.0.9" />
<PackageReference Include="AspNetCore.HealthChecks.UI" Version="3.0.11" />
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="3.0.2" />
<PackageReference Include="AutoMapper" Version="6.1.1" />
<PackageReference Include="CommandLineParser" Version="2.6.0" />

@ -80,11 +80,10 @@ namespace Ombi
var hcBuilder = services.AddHealthChecks();
hcBuilder.AddOmbiHealthChecks();
services.ConfigureDatabases(hcBuilder);
// Need to wait until https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/410 is resolved
services.AddHealthChecksUI(setupSettings: setup =>
{
setup.AddHealthCheckEndpoint("Ombi", "/health");
});
//services.AddHealthChecksUI(setupSettings: setup =>
//{
// setup.AddHealthCheckEndpoint("Ombi", "/health");
//});
services.AddMemoryCache();
services.AddJwtAuthentication(Configuration);

@ -4,7 +4,9 @@
"LogLevel": {
"Default": "Trace",
"System": "Trace",
"Microsoft": "Warning"
"Microsoft": "Warning",
"System.Net.Http.HttpClient.health-checks": "Information",
"HealthChecks": "Information"
}
}
}

@ -5,7 +5,9 @@
"Default": "Information",
"System": "Information",
"Microsoft": "None",
"Hangfire": "None"
"Hangfire": "None",
"System.Net.Http.HttpClient.health-checks": "Warning",
"HealthChecks": "Warning"
}
},
"ApplicationSettings": {

Loading…
Cancel
Save