It says in the Oban documentation that a [:oban, :engine, :discard_job, :start | :stop | :exception]
is emitted by the Oban library,
I attach an event handler
[
"oban-job-discard-handler",
[:oban, :engine, :discard_job, :exception],
&handle_job_discard/4,
%{}
]
|> Enum.each(fn [handler_id, event_name, function, config] ->
:telemetry.attach(handler_id, event_name, function, config)
end)
But it seems like that event is never emitted by Oban, am I missing something? Any help would be much appreciated