Struct CausalFailureAnalysis
- Namespace
- DotCompute.Abstractions.Health
- Assembly
- DotCompute.Abstractions.dll
Causal analysis of failures using HLC happened-before relationships.
[SuppressMessage("Design", "CA1815:Override equals and operator equals on value types", Justification = "Data carrier struct, equality not required")]
public readonly struct CausalFailureAnalysis
- Inherited Members
Properties
CausalChainLength
Gets the causal chain length (number of failures in the happened-before sequence).
public int CausalChainLength { get; init; }
Property Value
PrecedingFailures
Gets the failures that happened-before the target failure (potential causes). Ordered by HLC timestamp (earliest first).
public required IReadOnlyList<TimestampedHealthSnapshot> PrecedingFailures { get; init; }
Property Value
PropagationTime
Gets the time span from root cause to target failure.
public TimeSpan PropagationTime { get; init; }
Property Value
RootCause
Gets the root cause failure (earliest in the causal chain).
public TimestampedHealthSnapshot? RootCause { get; init; }
Property Value
Summary
Gets human-readable causal analysis summary.
public required string Summary { get; init; }
Property Value
TargetFailureTime
Gets the failure timestamp being analyzed.
public required HlcTimestamp TargetFailureTime { get; init; }