I've enabled .NET Health Checks
on my app. I give the check a name and add a message depending on the outcome of the check. The below example shows a check called Test Health Check
and the message Server Is Healthy!
if a healthy result is returned. When I access the api endpoint I just see Healthy
. Where do I see greater detail about the check?
.AddCheck("Test Health Check", () => HealthCheckResult.Healthy("Server Is Healthy!"))
This youtube video from @Fildor was helpful.
Here's what I did:
In Program.cs I added:
I then created a
HealthCheckExtensions
class:A
HealthInfo
class:A
HealthResult
class: