1 write to Description
Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (1)
HealthReportEntry.cs (1)
44Description = description;
16 references to Description
Aspire.Hosting (2)
Health\ResourceHealthCheckService.cs (2)
110|| !StringComparers.HealthReportPropertyValue.Equals(checkReportSnapshot.Description, value.Description) 163var snapshot = new HealthReportSnapshot(key, entry.Status, entry.Description, entry.Exception?.ToString());
HealthChecksSample (1)
CustomWriterStartup.cs (1)
50new JProperty("description", pair.Value.Description),
Microsoft.Extensions.Diagnostics.HealthChecks (3)
DefaultHealthCheckService.cs (3)
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.Common (1)
TelemetryHealthCheckPublisher.cs (1)
72.Append(entry.Value.Description)
Microsoft.Extensions.Diagnostics.HealthChecks.Tests (9)
DefaultHealthCheckServiceTest.cs (9)
88Assert.Equal(DegradedMessage, actual.Value.Description); 97Assert.Equal(HealthyMessage, actual.Value.Description); 110Assert.Equal(UnhealthyMessage, actual.Value.Description); 142Assert.Equal(ExceptionMessage, actual.Value.Description); 151Assert.Equal("A timeout occurred while running check.", actual.Value.Description); 190Assert.Equal(HealthyMessage, actual.Value.Description); 296Assert.Equal(thrownException.Message, actual.Value.Description); 303Assert.Equal(faultedException.Message, actual.Value.Description); 310Assert.Null(actual.Value.Description);