# `Insider.Detectors.RestartRecurrence`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/lib/insider/detectors/restart_recurrence.ex#L1)

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.

# `output`

```elixir
@type output() ::
  {:incident, Insider.Finding.t()}
  | {:detector_error, Insider.Detectors.RestartRecurrence.Error.t()}
```

# `new`

```elixir
@spec new(keyword()) ::
  {:ok, Insider.Detectors.RestartRecurrence.State.t()}
  | {:error, :invalid_options}
```

# `observe`

```elixir
@spec observe(Insider.Detectors.RestartRecurrence.State.t(), term(), integer()) ::
  {Insider.Detectors.RestartRecurrence.State.t(), [output()]}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
