Open KrzysFR opened 1 year ago
Looking at https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-7.0#distribute-a-health-check-library it is possible to write a health check for ASP.NET Core that comes as a library.
We should add a FoundationDBHealthCheck class that implements IHealthCheck.
FoundationDBHealthCheck
IHealthCheck
This class could either be redistributed via its own assembly/package, OR could be part of the already existing FoundationDB.Client.DependencyInjection assembly ?
FoundationDB.Client.DependencyInjection
The health check is included as part of the Aspire component work, see #127
Looking at https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-7.0#distribute-a-health-check-library it is possible to write a health check for ASP.NET Core that comes as a library.
We should add a
FoundationDBHealthCheck
class that implementsIHealthCheck
.This class could either be redistributed via its own assembly/package, OR could be part of the already existing
FoundationDB.Client.DependencyInjection
assembly ?