Class GarbageCollectorHealthCheck
- Namespace
- WorkflowForge.Extensions.Observability.HealthChecks
- Assembly
- WorkflowForge.Extensions.Observability.HealthChecks.dll
Built-in health check for monitoring garbage collection performance.
public sealed class GarbageCollectorHealthCheck : IHealthCheck
- Inheritance
-
GarbageCollectorHealthCheck
- Implements
- Inherited Members
Properties
Description
Gets the description of what this health check validates.
public string Description { get; }
Property Value
Name
Gets the name of the health check.
public string Name { get; }
Property Value
Methods
CheckHealthAsync(CancellationToken)
Executes the health check asynchronously.
public Task<HealthCheckResult> CheckHealthAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<HealthCheckResult>
A task representing the health check result.