Class: NewRelic::Agent::Monitors
- Inherits:
-
Object
- Object
- NewRelic::Agent::Monitors
- Defined in:
- lib/new_relic/agent/monitors.rb
Instance Attribute Summary collapse
- #cross_app_monitor ⇒ Object readonly
- #distributed_tracing_monitor ⇒ Object readonly
- #synthetics_monitor ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(events) ⇒ Monitors
constructor
A new instance of Monitors.
Constructor Details
#initialize(events) ⇒ Monitors
Returns a new instance of Monitors.
19 20 21 22 23 |
# File 'lib/new_relic/agent/monitors.rb', line 19 def initialize(events) @synthetics_monitor = NewRelic::Agent::SyntheticsMonitor.new(events) @cross_app_monitor = NewRelic::Agent::DistributedTracing::CrossAppMonitor.new(events) @distributed_tracing_monitor = NewRelic::Agent::DistributedTracing::Monitor.new(events) end |
Instance Attribute Details
#cross_app_monitor ⇒ Object (readonly)
15 16 17 |
# File 'lib/new_relic/agent/monitors.rb', line 15 def cross_app_monitor @cross_app_monitor end |
#distributed_tracing_monitor ⇒ Object (readonly)
17 18 19 |
# File 'lib/new_relic/agent/monitors.rb', line 17 def distributed_tracing_monitor @distributed_tracing_monitor end |
#synthetics_monitor ⇒ Object (readonly)
16 17 18 |
# File 'lib/new_relic/agent/monitors.rb', line 16 def synthetics_monitor @synthetics_monitor end |