oban.job.stop
An Oban job finished without an error.
Fields
12| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: oban.job.stop. |
id | integer | Oban job database ID. |
worker | string | Worker module name. |
queue | string | Queue the job ran on. |
state | string | Final job state, e.g. "success", "cancelled", "discard". |
attempt | integer | Attempt number (1-based). |
prefix | string | Oban database prefix (schema). |
tags | array<string> | Tags assigned to the job. |
args | object | Job arguments map. |
args.* | any | Additional caller-defined keys. |
duration | number | Job execution duration in microseconds. |
request_id | string | Request ID propagated from the originating request via Oban job metadata, or a newly generated ID for background jobs. |
Example
{ "event_type": "oban.job.stop", "id": 123456, "worker": "MyApp.Workers.WelcomeEmail", "queue": "default", "state": "success", "attempt": 1, "prefix": "public", "tags": [ "mailer" ], "args": { "user_id": 42 }, "duration": 350000, "request_id": "f2a9c81d4e6b3a7f0c5d9e2b8a4f6c1d"}