Exclude a default tab/page from Phoenix LiveDashboard

Currently the “tabs” in my LiveDashboard instance are: Home, OS Data, Metrics, Request Logger, Applications, Processed, Ports, Sockets, ETS and Ecto stats, respectively.

I don’t use Ecto in my app, so I want to remove the Ecto stats tab in the LiveDashboard. How can I do this?

1 Like

Check the docs for the live_dashboard option, I think you can set ecto_repos or something like that to false.

The Ecto stats guide, mentions :

If you want to disable the “Ecto Stats” option altogether, set ecto_repos: []

While this works for Ecto Stats, is there a more generic way for disabling a page? Or while I have to disable each tab’s feature independently?

Each independently.

1 Like