Sha256: 0f0ae812b6925fb3e0e8a6de52ecb94ea8f0f44276d49285c6160c8a7f4a9b04

Contents?: true

Size: 870 Bytes

Versions: 7

Compression:

Stored size: 870 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.

require_relative 'monitors/inbound_request_monitor'

require_relative 'monitors/synthetics_monitor'

require_relative 'monitors/cross_app_monitor'
require_relative 'monitors/distributed_tracing_monitor'

module NewRelic
  module Agent
    class Monitors
      attr_reader :cross_app_monitor
      attr_reader :synthetics_monitor
      attr_reader :distributed_tracing_monitor

      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
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-8.9.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.8.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.7.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.6.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.5.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.4.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/monitors.rb