Class: Karafka::Instrumentation::Vendors::Appsignal::Base
- Inherits:
-
Object
- Object
- Karafka::Instrumentation::Vendors::Appsignal::Base
- Extended by:
- Forwardable
- Includes:
- Core::Configurable
- Defined in:
- lib/karafka/instrumentation/vendors/appsignal/base.rb
Overview
Base for all the instrumentation listeners
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(&block) ⇒ Base
constructor
A new instance of Base.
- #setup ⇒ Object
Constructor Details
#initialize(&block) ⇒ Base
16 17 18 19 |
# File 'lib/karafka/instrumentation/vendors/appsignal/base.rb', line 16 def initialize(&block) configure setup(&block) if block end |
Instance Method Details
#setup ⇒ Object
Note:
We define this alias to be consistent with ‘Karafka#setup`
22 23 24 |
# File 'lib/karafka/instrumentation/vendors/appsignal/base.rb', line 22 def setup(&) configure(&) end |