What do you use as alternatives to :observer.start in heroku-like environments?

564 views
Skip to first unread message

Joakim K

unread,
Sep 5, 2015, 5:29:12 PM9/5/15
to elixir-lang-talk
In environment where you can not connect a console process to a web process using distributed erlang, what do you usually do?

I guess a web version of :observer.start would solve a lot of this, but haven't seen anything like that yet. Does it exist?

Lance Halvorsen

unread,
Sep 5, 2015, 5:39:20 PM9/5/15
to elixir-l...@googlegroups.com
Eric created a proof of concept application along these lines a few months ago. You might want to have a look.

.L

On Sat, Sep 5, 2015 at 2:29 PM, Joakim K <tre...@gmail.com> wrote:
In environment where you can not connect a console process to a web process using distributed erlang, what do you usually do?

I guess a web version of :observer.start would solve a lot of this, but haven't seen anything like that yet. Does it exist?

--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/4441c1f4-f267-4632-b22c-db7c529f4cc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joakim K

unread,
Sep 5, 2015, 5:47:35 PM9/5/15
to elixir-lang-talk
That looks interesting.

I googled around a bit more and found https://github.com/freecnpro/ObserverWeb. No commits for a few months, but it looks nice.

Uniaika

unread,
Sep 6, 2015, 4:34:19 AM9/6/15
to elixir-l...@googlegroups.com
My technique only applies when I do run the VM on a server of mine that
is connected to my VPN. Then I connect the Nodes together, and
Node.spawns :observer.start on the distant node.
When it comes to "heroku-like services" and such… Well, I simply don't
use them, because it's not as flexible as a dedicated server or even a
virtual machine.
(Of course it's extremely unsafe to connect two Nodes over the clearnet.)

Robert Virding

unread,
Sep 6, 2015, 6:03:24 AM9/6/15
to elixir-lang-talk, uni...@crypto-keupone.eu
Observer just uses the predefined and documented standard interface for introspecting the erlang system. There are a number of "text-based" libraries which allow you to do this from the shell, for example 'redbug' or the more recent 'recon'. What I find interesting is that the interface is quite small but very powerful and you can use it without having to recompile any of your code. Which is why you can use observer, redbug, recon, ... like you do.

Robert



Juan Facorro

unread,
Sep 16, 2015, 10:43:29 AM9/16/15
to elixir-lang-talk
What about https://github.com/ferd/recon? The book http://www.erlang-in-anger.com/ is a great reference as well.
Reply all
Reply to author
Forward
0 new messages