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