I have been for trying to make observer work for ages now without success. So in my search for alternatives, I found a hex package called observer_cli.
It is a library that once executed gives you all the information of the app like observer does, but via a CLI. This means I can put it in the production machine and see it live, without any pesky ssh tunnels nor anything. Like
htop but for BEAM.
There are actually 2 problems:
- This seems to require
iexto run (all the examples use it) but the production machine does not have elixir, only erlang.
- It is a library and needs to be inside a project.
How do I turn
observer_cli into a standalone executable that I can run in machine containing only erlang?
I have seen they have a escriptize but I don’t know what that means, nor do I understand the instructions (rebar3?)
Would appreciate some help.