4 references to AddCheck
HealthChecksSample (2)
GCInfoHealthCheck.cs (1)
25builder.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)
47services.AddHealthChecks().AddCheck<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", }); 70services.AddHealthChecks().AddCheck<TestHealthCheck>("test", failureStatus: HealthStatus.Degraded, tags: new[] { "tag", });