FIX: exec_params needs instrumentation

the method no longer routes to "exec" or "async_exec" in latest PG so we
need to explicitly intercept
This commit is contained in:
Sam 2018-12-10 14:28:10 +11:00
parent 7f361a546e
commit 955cdad649

View File

@ -18,7 +18,7 @@ class Middleware::RequestTracker
unless @patched_instrumentation
MethodProfiler.patch(PG::Connection, [
:exec, :async_exec, :exec_prepared, :send_query_prepared, :query
:exec, :async_exec, :exec_prepared, :send_query_prepared, :query, :exec_params
], :sql)
MethodProfiler.patch(Redis::Client, [