I’m trying to run
:etop.start after entering a remote iex session in production to troubleshoot high memory usage in my application, but it seems that I can’t include the tool with my release.
Trying to run etop gives me a
module :etop is not available error message and adding
:extra_applications gives me
** (Mix) Could not start application etop: could not find application file: etop.app when I start the app locally.
I have no trouble starting etop locally in an iex session though.
I have Erlang/OTP 23 and Elixir Elixir 1.10.4 in my machine, while in production I have a Docker image that runs with Erlang/OTP 22 and Elixir 1.10.3.