add appmon

This commit is contained in:
erylee 2013-10-31 17:36:40 +08:00
parent 3e3dfe3fa2
commit 1f1099e667
2 changed files with 7 additions and 1 deletions

View File

@ -13,6 +13,9 @@
syntax_tools, syntax_tools,
elog, elog,
compiler, compiler,
gs,
runtime_tools,
appmon,
{folsom, load}, {folsom, load},
emqtt emqtt
]}, ]},
@ -37,6 +40,9 @@
{app, goldrush, [{incl_cond, include}]}, {app, goldrush, [{incl_cond, include}]},
{app, lager, [{incl_cond, include}]}, {app, lager, [{incl_cond, include}]},
{app, elog, [{incl_cond, include}]}, {app, elog, [{incl_cond, include}]},
{app, gs, [{incl_cond, include}]},
{app, runtime_tools, [{incl_cond, include}]},
{app, appmon, [{incl_cond, include}]},
{app, syntax_tools, [{incl_cond, include}]}, {app, syntax_tools, [{incl_cond, include}]},
{app, folsom, [{incl_cond, include}]}, {app, folsom, [{incl_cond, include}]},
{app, emqtt, [{mod_cond, app}, {incl_cond, include}]} {app, emqtt, [{mod_cond, app}, {incl_cond, include}]}

View File

@ -79,7 +79,6 @@ match(Topic) when is_list(Topic) ->
lists:flatten([mnesia:dirty_read(topic, Name) || Name <- Names]). lists:flatten([mnesia:dirty_read(topic, Name) || Name <- Names]).
%TODO: this api is really ugly %TODO: this api is really ugly
down(Client) when is_pid(Client) -> down(Client) when is_pid(Client) ->
gen_server2:cast(?MODULE, {down, Client}). gen_server2:cast(?MODULE, {down, Client}).
@ -240,3 +239,4 @@ trie_delete_path([{NodeId, Word, _} | RestPath]) ->
throw({notfound, NodeId}) throw({notfound, NodeId})
end. end.