lib/new_relic/agent/agent.rb in newrelic_rpm-3.6.4.122 vs lib/new_relic/agent/agent.rb in newrelic_rpm-3.6.5.130
- old
+ new
@@ -51,10 +51,11 @@
@last_harvest_time = Time.now
@obfuscator = lambda {|sql| NewRelic::Agent::Database.default_sql_obfuscator(sql) }
# FIXME: temporary work around for RUBY-839
+ # This should be handled with a configuration callback
if Agent.config[:monitor_mode]
@service = NewRelic::Agent::NewRelicService.new
end
end
@@ -90,9 +91,10 @@
# into pages
attr_reader :beacon_configuration
# cross application tracing ids and encoding
attr_reader :cross_process_id
attr_reader :cross_app_encoding_bytes
+ attr_reader :cross_app_monitor
# service for communicating with collector
attr_accessor :service
# Global events dispatcher. This will provides our primary mechanism
# for agent-wide events, such as finishing configuration, error notification
# and request before/after from Rack.