fix: node stats api
This commit is contained in:
parent
d321cdbd47
commit
2088fe17cf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue