# `Parapet.SLO.Oban`
[🔗](https://github.com/szTheory/parapet/blob/v1.0.0/lib/parapet/slo/oban.ex#L1)

Provides an out-of-the-box SLO definition for Oban job processing.

> #### Experimental {: .warning}
>
> This module is **experimental** in v1.x. Its API may change in a minor release with a
> single-version notice in CHANGELOG.md. See
> [Stability & Deprecation Policy](stability.html) for details.

# `register`

Registers the Oban SLO with the Parapet.SLO registry.

## Options

  * `:objective` - The target objective percentage (default: `99.9`).
  * `:good_events` - PromQL string for good events.
    (default: `"sum(rate(parapet_oban_job_duration_milliseconds_count{state="success"}[5m]))"`)
  * `:total_events` - PromQL string for total events.
    (default: `"sum(rate(parapet_oban_job_duration_milliseconds_count[5m]))"`)
  * `:runbook` - URL to the runbook for this SLO. (default: `"https://example.com/runbooks/oban-slo"`)

---

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