Table of Contents

Class MemoryHealthCheck

Namespace
WorkflowForge.Extensions.Observability.HealthChecks
Assembly
WorkflowForge.Extensions.Observability.HealthChecks.dll

Built-in health check for monitoring memory usage.

public sealed class MemoryHealthCheck : IHealthCheck
Inheritance
MemoryHealthCheck
Implements
Inherited Members

Properties

Description

Gets the description of what this health check validates.

public string Description { get; }

Property Value

string

Name

Gets the name of the health check.

public string Name { get; }

Property Value

string

Methods

CheckHealthAsync(CancellationToken)

Executes the health check asynchronously.

public Task<HealthCheckResult> CheckHealthAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<HealthCheckResult>

A task representing the health check result.