ExcursionResult
Running peak / trough excursion summary.
Constructors
ExcursionResult
Properties
currentRecovery
peak - lastValue; how far the latest observation sits below the all-time peak.
hasObservation
False until the first update has been recorded, mirroring com.eignex.kumulant.stat.event.RecencyResult.hasObservation.
Without it an untouched stat is indistinguishable from one that observed 0.0 at timestamp 0, because ExcursionStat.read reports all zeros for both - and ExcursionStat.merge then folded those in as real data, dragging the peak of an all-negative stream up to a value never observed. Defaults to true so a payload encoded before the field existed still decodes as real data.
maxExcursion
Largest peak_at_time - subsequent_trough observed across the stream.
peak
peakTimestampNanos
Timestamp (nanoseconds) at which peak was set.
trough
troughTimestampNanos
Timestamp of trough; equal to peakTimestampNanos if no post-peak observation exists.