Detects repeated abnormal supervisor child terminations without owning a process.
The detector is a bounded streaming reducer. Callers supply their trusted receipt time in microseconds; an event's source-local ordering field is never interpreted as elapsed time.
Summary
Types
@type output() :: {:incident, Insider.Finding.t()} | {:detector_error, Insider.Detectors.RestartRecurrence.Error.t()}
Functions
@spec new(keyword()) :: {:ok, Insider.Detectors.RestartRecurrence.State.t()} | {:error, :invalid_options}
@spec observe(Insider.Detectors.RestartRecurrence.State.t(), term(), integer()) :: {Insider.Detectors.RestartRecurrence.State.t(), [output()]}