Table of Contents

Struct HealthAnalysisResult

Namespace
DotCompute.Abstractions.Health
Assembly
DotCompute.Abstractions.dll

Results of health trend analysis with failure predictions.

[SuppressMessage("Design", "CA1815:Override equals and operator equals on value types", Justification = "Data carrier struct, equality not required")]
public readonly struct HealthAnalysisResult
Inherited Members

Properties

AnalysisTimeRange

Gets the HLC timestamp range covered by this analysis.

public required HlcTimestampRange AnalysisTimeRange { get; init; }

Property Value

HlcTimestampRange

DetectedTrends

Gets detected health trends (e.g., "Temperature rising", "Memory pressure increasing").

public required IReadOnlyList<string> DetectedTrends { get; init; }

Property Value

IReadOnlyList<string>

FailureRiskScore

Gets the failure risk score (0.0 = no risk, 1.0 = imminent failure).

public double FailureRiskScore { get; init; }

Property Value

double

OverallStatus

Gets the overall health status based on trend analysis.

public required HealthStatus OverallStatus { get; init; }

Property Value

HealthStatus

Predictions

Gets failure predictions if risk score > 0.5.

public IReadOnlyList<FailurePrediction>? Predictions { get; init; }

Property Value

IReadOnlyList<FailurePrediction>

RecommendedInterval

Gets the predicted monitoring interval for the next period.

public required TimeSpan RecommendedInterval { get; init; }

Property Value

TimeSpan

SnapshotsAnalyzed

Gets the number of snapshots analyzed in this window.

public int SnapshotsAnalyzed { get; init; }

Property Value

int