Real-time Monitoring for Oban
with Phoenix.LiveDashboard
.
The package can be installed by adding obanalyze
to your list of dependencies in mix.exs
:
def deps do
[
{:obanalyze, "~> 1.0"}
]
end
Update the live_dashboard
configuration in your router.
# lib/my_app_web/router.ex
live_dashboard "/dashboard",
additional_pages: [
obanalyze: Obanalyze.dashboard()
]
Go to your Phoenix.LiveDashboard
and you should see the Obanalyze
tab.
- evilmarty/oban_live_dashboard where I took my inspiration from. You should check it out if you want a simple way to observe your Oban jobs.