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
Error
[JsonPropertyName("error")]
public string? Error { get; init; }
Property Value
LatencyMs
Measured latency in milliseconds (0 on error).
[JsonPropertyName("latencyMs")]
public double LatencyMs { get; init; }
Property Value
Result
Pass / fail / error.
[JsonPropertyName("result")]
public required ProbeResult Result { get; init; }
Property Value
TimestampUnixMs
Run timestamp, Unix epoch milliseconds (UTC). The ledger's clock.
[JsonPropertyName("t")]
public required long TimestampUnixMs { get; init; }
Property Value
Methods
Equals(ProbeOutcome?)
public bool Equals(ProbeOutcome? other)
Parameters
otherProbeOutcome
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ProbeOutcome?, ProbeOutcome?)
public static bool operator ==(ProbeOutcome? left, ProbeOutcome? right)
Parameters
leftProbeOutcomerightProbeOutcome
Returns
operator !=(ProbeOutcome?, ProbeOutcome?)
public static bool operator !=(ProbeOutcome? left, ProbeOutcome? right)
Parameters
leftProbeOutcomerightProbeOutcome