Module: Appsignal::Hooks::SequelLogConnectionExtension Private
- Defined in:
- lib/appsignal/hooks/sequel.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#log_connection_yield(sql, conn, args = nil) ⇒ Object
private
Add query instrumentation.
Instance Method Details
#log_connection_yield(sql, conn, args = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Add query instrumentation
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/appsignal/hooks/sequel.rb', line 22 def log_connection_yield(sql, conn, args = nil) Appsignal.instrument( "sql.sequel", nil, sql, Appsignal::EventFormatter::SQL_BODY_FORMAT ) do super end end |