4 references to AddCheck
HealthChecksSample (2)
GCInfoHealthCheck.cs (1)
25
builder.
AddCheck
<GCInfoHealthCheck>(name, failureStatus ?? HealthStatus.Degraded, tags);
LivenessProbeStartup.cs (1)
16
.
AddCheck
<SlowDependencyHealthCheck>("Slow", failureStatus: null, tags: new[] { "ready", });
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (2)
DependencyInjection\HealthChecksBuilderTest.cs (2)
47
services.AddHealthChecks().
AddCheck
<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });
70
services.AddHealthChecks().
AddCheck
<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });