You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This provides configurable health check reporting based on the current system resource utilization. See `Microsoft.Extensions.Diagnostics.ResourceMonitoring` for details on how resources are measured. See the [health checks](https://learn.microsoft.com/aspnet/core/host-and-deploy/health-checks) documentation for general usage guidance.
4
4
5
5
## Install the package
6
6
@@ -18,6 +18,50 @@ Or directly in the C# project file:
18
18
</ItemGroup>
19
19
```
20
20
21
+
## Usage Example
22
+
23
+
The health check services can be registered and configured using any of the following API:
`CpuThresholds` and `MemoryThresholds`'s percentages default to `null` and will not be reported as degraded or unhealthy unless configured. The `SamplingWindow` defaults to 5 seconds.
0 commit comments