Class: ElasticAPM::Spies::SequelSpy Private
- Inherits:
-
Object
- Object
- ElasticAPM::Spies::SequelSpy
- Defined in:
- lib/elastic_apm/spies/sequel.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: Ext
Constant Summary collapse
- TYPE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'db'
- ACTION =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'query'
Class Method Summary collapse
- .summarizer ⇒ Object private
Instance Method Summary collapse
- #install ⇒ Object private
Class Method Details
.summarizer ⇒ 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.
30 31 32 |
# File 'lib/elastic_apm/spies/sequel.rb', line 30 def self.summarizer @summarizer ||= Sql::Signature::Summarizer.new end |
Instance Method Details
#install ⇒ 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.
87 88 89 90 91 |
# File 'lib/elastic_apm/spies/sequel.rb', line 87 def install require 'sequel/database/logging' ::Sequel::Database.prepend(Ext) end |