Sha256: 6e8970ec0b83df9da1140a973c40697c91a16743d5f881b227312d1a4411b076

Contents?: true

Size: 856 Bytes

Versions: 3

Compression:

Stored size: 856 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/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

3 entries across 3 versions & 1 rubygems

Version Path
newrelic_rpm-6.11.0.365 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.10.0.364 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.9.0.363 lib/new_relic/agent/monitors.rb