Capture trace of app-db before and after a change

This commit is contained in:
Daniel Compton 2018-01-12 10:33:18 +13:00
parent 5db97d1dd1
commit 8da17fb016
1 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,8 @@
(trace/with-trace {:operation event-id
:op-type kind
:tags {:event event-v}}
(interceptor/execute event-v interceptors)))))))
(trace/merge-trace! {:tags {:app-db-before @app-db}})
(interceptor/execute event-v interceptors)
(trace/merge-trace! {:tags {:app-db-after @app-db}})))))))