From ed5409fb6a6fa7449a2b983094fb9e8ccc554c06 Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Fri, 12 Apr 2024 11:54:14 +0200 Subject: [PATCH] docs(trace): add emqx_ctl documentation for the new ruleid trace --- apps/emqx_management/src/emqx_mgmt_cli.erl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/emqx_management/src/emqx_mgmt_cli.erl b/apps/emqx_management/src/emqx_mgmt_cli.erl index ddbc60d5c..36013791c 100644 --- a/apps/emqx_management/src/emqx_mgmt_cli.erl +++ b/apps/emqx_management/src/emqx_mgmt_cli.erl @@ -512,7 +512,9 @@ trace(_) -> {"trace stop topic ", "Stop tracing for a topic on local node"}, {"trace start ip_address [] ", "Traces for a client ip on local node"}, - {"trace stop ip_address ", "Stop tracing for a client ip on local node"} + {"trace stop ip_address ", "Stop tracing for a client ip on local node"}, + {"trace start ruleid [] ", "Traces for a rule ID on local node"}, + {"trace stop ruleid ", "Stop tracing for a rule ID on local node"} ]). trace_on(Name, Type, Filter, Level, LogFile) -> @@ -583,6 +585,7 @@ traces(_) -> "and will end after seconds. The default value for is " ?DEFAULT_TRACE_DURATION " seconds."}, + {"traces start ruleid []", "Traces for a rule ID in cluster"}, {"traces stop ", "Stop trace in cluster"}, {"traces delete ", "Delete trace in cluster"} ]).