1 write to Status
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
34 references to Status
Aspire.Components.Common.Tests (1)
Aspire.Hosting (2)
HealthChecksSample (1)
Microsoft.Extensions.Diagnostics.HealthChecks (4)
DefaultHealthCheckService.cs (4)
235switch (entry.Status)
238HealthCheckEndHealthy(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description);
242HealthCheckEndDegraded(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception);
246HealthCheckEndUnhealthy(logger, registration.Name, entry.Status, duration.TotalMilliseconds, entry.Description, entry.Exception);
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (2)
Microsoft.Extensions.Diagnostics.HealthChecks.Common (3)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (21)
DefaultHealthCheckServiceTest.cs (21)
89Assert.Equal(HealthStatus.Degraded, actual.Value.Status);
98Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
111Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
143Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
152Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
191Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
297Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
304Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
311Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
353Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
377Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
401Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
427Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
432Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
481Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
524Assert.Equal(HealthStatus.Healthy, entry.Value.Status);
529Assert.Equal(HealthStatus.Healthy, entry.Value.Status);
555Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);
612Assert.Equal(HealthStatus.Degraded, actual.Value.Status);
617Assert.Equal(HealthStatus.Healthy, actual.Value.Status);
622Assert.Equal(HealthStatus.Unhealthy, actual.Value.Status);