feat: add stop after render and after render trace to sqlserver action
This commit is contained in:
parent
03e3ac19a9
commit
a0b2357abb
|
@ -413,6 +413,9 @@ do_query(
|
||||||
%% only insert sql statement for single query and batch query
|
%% only insert sql statement for single query and batch query
|
||||||
case apply_template(QueryTuple, Templates) of
|
case apply_template(QueryTuple, Templates) of
|
||||||
{?ACTION_SEND_MESSAGE, SQL} ->
|
{?ACTION_SEND_MESSAGE, SQL} ->
|
||||||
|
emqx_trace:rendered_action_template(ChannelId, #{
|
||||||
|
sql => SQL
|
||||||
|
}),
|
||||||
Result = ecpool:pick_and_do(
|
Result = ecpool:pick_and_do(
|
||||||
PoolName,
|
PoolName,
|
||||||
{?MODULE, worker_do_insert, [SQL, State]},
|
{?MODULE, worker_do_insert, [SQL, State]},
|
||||||
|
|
Loading…
Reference in New Issue