Class: WaterDrop::Instrumentation::Monitor
- Inherits:
-
Karafka::Core::Monitoring::Monitor
- Object
- Karafka::Core::Monitoring::Monitor
- WaterDrop::Instrumentation::Monitor
- Defined in:
- lib/waterdrop/instrumentation/monitor.rb
Overview
WaterDrop instrumentation monitor that we use to publish events By default uses our internal notifications bus but can be used with ActiveSupport::Notifications
as well
Instance Method Summary collapse
-
#initialize(notifications_bus = WaterDrop::Instrumentation::Notifications.new, namespace = nil) ⇒ Monitor
constructor
A new instance of Monitor.
Constructor Details
#initialize(notifications_bus = WaterDrop::Instrumentation::Notifications.new, namespace = nil) ⇒ Monitor
Returns a new instance of Monitor.
12 13 14 15 16 17 |
# File 'lib/waterdrop/instrumentation/monitor.rb', line 12 def initialize( notifications_bus = WaterDrop::Instrumentation::Notifications.new, namespace = nil ) super(notifications_bus, namespace) end |