diff --git a/mod_statsdx/src/mod_stats2file.erl b/mod_statsdx/src/mod_stats2file.erl index a411ec2..87b4352 100644 --- a/mod_statsdx/src/mod_stats2file.erl +++ b/mod_statsdx/src/mod_stats2file.erl @@ -219,7 +219,6 @@ write_stats(I, node, Node, F, T) -> %fwttl(F, "plainusers", T), %fwttl(F, "sslusers", T), %fwttl(F, "tlsusers", T), - fwttl(F, "httppollusers", T), fwttl(F, "httpbindusers", T), fwttl(F, "s2sconnections", T), fwttl(F, "s2sservers", T), diff --git a/mod_statsdx/src/mod_statsdx.erl b/mod_statsdx/src/mod_statsdx.erl index 871b3d1..79621e9 100644 --- a/mod_statsdx/src/mod_statsdx.erl +++ b/mod_statsdx/src/mod_statsdx.erl @@ -485,8 +485,6 @@ get(_, ["registeredusers", Host]) -> ejabberd_auth:count_users(Host); get(_, ["onlineusers", title]) -> "Online users"; get(N, ["onlineusers"]) -> rpc:call(N, mnesia, table_info, [session, size]); get(_, ["onlineusers", Host]) -> length(ejabberd_sm:get_vh_session_list(Host)); -get(_, ["httppollusers", title]) -> "HTTP-Poll users (aprox)"; -get(N, ["httppollusers"]) -> rpc:call(N, mnesia, table_info, [http_poll, size]); get(_, ["httpbindusers", title]) -> "HTTP-Bind users (aprox)"; get(N, ["httpbindusers"]) -> rpc:call(N, mnesia, table_info, [http_bind, size]); @@ -976,7 +974,6 @@ list_elem(conntypes, full) -> {"c2s_tls", c2s_tls}, {"c2s_compressed", c2s_compressed}, {"c2s_compressed_tls", c2s_compressed_tls}, - {"http_poll", http_poll}, {"http_bind", http_bind}, {"websocket", websocket}, {"unknown", unknown} @@ -1320,7 +1317,6 @@ web_page_node(_, Node, [<<"statsdx">>], _Query, Lang) -> ?XAE(<<"table">>, [], [?XE(<<"tbody">>, [ do_stat(global, Lang, "onlineusers"), - do_stat(Node, Lang, "httppollusers"), do_stat(Node, Lang, "httpbindusers"), do_stat(Node, Lang, "s2sconnections"), do_stat(Node, Lang, "s2sservers")