fix: node stats api

This commit is contained in:
DDDHuang 2021-08-19 16:45:38 +08:00
parent d321cdbd47
commit 2088fe17cf
1 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ node_stats_api() ->
example => node()}], example => node()}],
responses => #{ responses => #{
<<"400">> => emqx_mgmt_util:response_error_schema(<<"Node error">>, ['SOURCE_ERROR']), <<"400">> => emqx_mgmt_util:response_error_schema(<<"Node error">>, ['SOURCE_ERROR']),
<<"200">> => emqx_mgmt_util:response_schema(<<"Get EMQ X Node Stats">>, stats)}}}, <<"200">> => emqx_mgmt_util:response_schema(<<"Get EMQ X Node Stats">>, stat)}}},
{"/nodes/:node_name/stats", Metadata, node_metrics}. {"/nodes/:node_name/stats", Metadata, node_stats}.
%%%============================================================================================== %%%==============================================================================================
%% parameters trans %% parameters trans