Class ProbeOutcome

Namespace
Kuestenlogik.Bowire.Monitoring
Assembly
Kuestenlogik.Bowire.Monitoring.dll

One row in a probe's outcome ledger — the durable record of a single run. Serialised one-per-line into <probe>.jsonl; the last row is the source of truth for restart resume + transition detection (Decision 2).

public sealed record ProbeOutcome : IEquatable<ProbeOutcome>
Inheritance
ProbeOutcome
Implements
Inherited Members

Constructors

ProbeOutcome()

public ProbeOutcome()

Properties

Assertions

Per-assertion verdicts (empty on error).

[JsonPropertyName("assertions")]
public IReadOnlyList<ProbeAssertionVerdict> Assertions { get; init; }

Property Value

IReadOnlyList<ProbeAssertionVerdict>

Error

Error detail when Result is Error.

[JsonPropertyName("error")]
public string? Error { get; init; }

Property Value

string

LatencyMs

Measured latency in milliseconds (0 on error).

[JsonPropertyName("latencyMs")]
public double LatencyMs { get; init; }

Property Value

double

Result

Pass / fail / error.

[JsonPropertyName("result")]
public required ProbeResult Result { get; init; }

Property Value

ProbeResult

TimestampUnixMs

Run timestamp, Unix epoch milliseconds (UTC). The ledger's clock.

[JsonPropertyName("t")]
public required long TimestampUnixMs { get; init; }

Property Value

long

Methods

Equals(ProbeOutcome?)

public bool Equals(ProbeOutcome? other)

Parameters

other ProbeOutcome

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ProbeOutcome?, ProbeOutcome?)

public static bool operator ==(ProbeOutcome? left, ProbeOutcome? right)

Parameters

left ProbeOutcome
right ProbeOutcome

Returns

bool

operator !=(ProbeOutcome?, ProbeOutcome?)

public static bool operator !=(ProbeOutcome? left, ProbeOutcome? right)

Parameters

left ProbeOutcome
right ProbeOutcome

Returns

bool