Skip to content

oban.job.stop

View Markdown

An Oban job finished without an error.

Source Oban Category Jobs Fields 12 honeybadger-elixir

Fields

12
FieldTypeDescription
event_typestringAllowed value: oban.job.stop.
idintegerOban job database ID.
workerstringWorker module name.
queuestringQueue the job ran on.
statestringFinal job state, e.g. "success", "cancelled", "discard".
attemptintegerAttempt number (1-based).
prefixstringOban database prefix (schema).
tagsarray<string>Tags assigned to the job.
argsobjectJob arguments map.
args.*anyAdditional caller-defined keys.
durationnumberJob execution duration in microseconds.
request_idstringRequest 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"
}