Obanalyze provides real-time monitoring for Oban
within Phoenix.LiveDashboard
,
delivering a user-friendly interface to manage background jobs seamlessly.
- Job Management: Retry, cancel, or delete jobs directly from the dashboard.
- Filtering: Filter jobs based on worker name or job arguments to quickly find what you're looking for.
- Database Compatibility: Fully compatible with SQLite, PostgreSQL or any database that Oban uses.
The package can be installed by adding obanalyze
to your list of dependencies in mix.exs
:
def deps do
[
{:obanalyze, "~> 1.3"}
]
end
Configure your application to include Obanalyze in Phoenix.LiveDashboard
.
Update your router configuration as follows:
# lib/my_app_web/router.ex
live_dashboard "/dashboard",
additional_pages: [
obanalyze: Obanalyze.dashboard()
],
on_mount: [
Obanalyze.hooks()
]
After installation and setup, navigate to your Phoenix.LiveDashboard
at the specified
route (e.g., /dev/dashboard
). You will see the new Obanalyze
tab, which provides
a complete overview of your background jobs.
- evilmarty/oban_live_dashboard: Inspired this project; a simplistic approach to Oban job monitoring.
- Oban Web: Official advanced dashboard offering extensive features, directly from the creators of Oban.