Sha256: 67e9f7ddb84738ac12d2e6e5fa4f63635e12cf5197538f48c144e201ca7e9510

Contents?: true

Size: 870 Bytes

Versions: 11

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

11 entries across 11 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.15.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.14.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.13.1 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.13.0 lib/new_relic/agent/monitors.rb
newrelic_rpm-6.12.0.367 lib/new_relic/agent/monitors.rb