View Source ErrorTracker.Integrations.Oban (ErrorTracker v0.1.2)

Integration with Oban.

How to use it

It is a plug and play integration: as long as you have Oban installed the ErrorTracker will receive and store the errors as they are reported.

How it works

It works using Oban's Telemetry events, so you don't need to modify anything on your application.

Default context

By default we store some context for you on errors generated in an Oban process:

  • job.id: the unique ID of the job.

  • job.worker: the name of the worker module.

  • job.queue: the name of the queue in which the job was inserted.

  • job.args: the arguments of the job being executed.

  • job.priority: the priority of the job.

  • job.attempt: the number of attempts performed for the job.

Summary

Functions

Attaches to Oban's Telemetry events if the library is detected.

Functions

Attaches to Oban's Telemetry events if the library is detected.

This function is usually called internally during the startup process so you don't have to.