Releases: erlanglab/erlangpl-ui
v0.2.0
Feature
Traffic view - new view showing message passing between nodes and processes within cluster.
Following example require
erlangpl
0.5 or above
You can generate messages between nodes by querying a distributed database Mnesia.
To setup a Mnesia cluster, start several Erlang nodes with unique names e.g. a@, b@, c@, etc. and start the database on all of them:
erl -name a@127.0.0.1
(a@127.0.0.1)1> mnesia:start().
Then create a test_table and configure it to be replicated on all nodes:
(a@127.0.0.1)2> mnesia:change_config(extra_db_nodes, ['b@127.0.0.1']).
(a@127.0.0.1)3> mnesia:change_config(extra_db_nodes, ['c@127.0.0.1']).
(a@127.0.0.1)4> mnesia:change_config(extra_db_nodes, ['d@127.0.0.1']).
(a@127.0.0.1)5> mnesia:create_table(test_table, []).
(a@127.0.0.1)6> [mnesia:add_table_copy(test_table, Node, ram_copies) || Node <- nodes()].
Videos from the following experiments were posted on YouTube
[begin mnesia:transaction(fun() -> mnesia:write({test_table, Key, "value"}) end), timer:sleep(10) end || Key <- lists:seq(1,2000)].
[begin mnesia:sync_dirty(fun() -> mnesia:write({test_table, Key, "value"}) end), timer:sleep(10) end || Key <- lists:seq(1,2000)].
[begin mnesia:dirty_write({test_table, Key, "value"}), timer:sleep(10) end || Key <- lists:seq(1,2000)].
Fixes
- Fixed issue with Elm watch in nested directories (#3)
- Fixed history and state sync
- Fixed sup-tree crash after one of OTP applications death
- Fixed minor typos
v0.1.0
Highlights for 0.1.0
Replaces old UI with React/Elm based Single Page Application. New look, new quality, new functionality.
This version ships with two basic plugins:
epl-dashboard
Display basic informations about system and overview of current resources usage, processed, etc.
epl-sup-tree
Supervision tree. Interactive graph showing every OTP application inside. You can click on every process and get basic info about it.
Elm support
We believe in functional programming and we believe in Elm. That's why we support Elm as part of our pipeline. This release contains one Elm view - /about
. It's simple, static view but has http
request to erlangpl
to get current version. Noting fancy, but good start to have more Elm within our codebase.