Module: Datadog::Tracing::Contrib::Sequel::Dataset::InstanceMethods
- Defined in:
- lib/datadog/tracing/contrib/sequel/dataset.rb
Overview
Instance methods for instrumenting Sequel::Dataset
Instance Method Summary collapse
- #execute(sql, options = ::Sequel::OPTS, &block) ⇒ Object
- #execute_ddl(sql, options = ::Sequel::OPTS, &block) ⇒ Object
- #execute_dui(sql, options = ::Sequel::OPTS, &block) ⇒ Object
- #execute_insert(sql, options = ::Sequel::OPTS, &block) ⇒ Object
Instance Method Details
#execute(sql, options = ::Sequel::OPTS, &block) ⇒ Object
20 21 22 |
# File 'lib/datadog/tracing/contrib/sequel/dataset.rb', line 20 def execute(sql, = ::Sequel::OPTS, &block) trace_execute(proc { super(sql, , &block) }, sql, , &block) end |
#execute_ddl(sql, options = ::Sequel::OPTS, &block) ⇒ Object
24 25 26 |
# File 'lib/datadog/tracing/contrib/sequel/dataset.rb', line 24 def execute_ddl(sql, = ::Sequel::OPTS, &block) trace_execute(proc { super(sql, , &block) }, sql, , &block) end |
#execute_dui(sql, options = ::Sequel::OPTS, &block) ⇒ Object
28 29 30 |
# File 'lib/datadog/tracing/contrib/sequel/dataset.rb', line 28 def execute_dui(sql, = ::Sequel::OPTS, &block) trace_execute(proc { super(sql, , &block) }, sql, , &block) end |
#execute_insert(sql, options = ::Sequel::OPTS, &block) ⇒ Object
32 33 34 |
# File 'lib/datadog/tracing/contrib/sequel/dataset.rb', line 32 def execute_insert(sql, = ::Sequel::OPTS, &block) trace_execute(proc { super(sql, , &block) }, sql, , &block) end |