lib/contrast/agent.rb in contrast-agent-6.7.0 vs lib/contrast/agent.rb in contrast-agent-6.8.0
- old
+ new
@@ -40,13 +40,10 @@
require 'contrast/utils/thread_tracker'
# Framework support
require 'contrast/framework/manager'
-# Communication to SR
-require 'contrast/api/communication'
-
require 'contrast/agent/thread_watcher'
module Contrast
# Top namespace of the Agent section. Holds tracking contexts that will be
# accessed throughout the Agent.
@@ -64,15 +61,10 @@
# @return [nil, Contrast::Utils::HeapDumpUtil]
def self.heapdump_util
thread_watcher.heapdump_util
end
- # @return [nil, Contrast::Api::Communication::MessagingQueue]
- def self.messaging_queue
- thread_watcher.messaging_queue
- end
-
# @return [nil, Contrast::Agent::Telemetry::Base]
def self.telemetry_queue
thread_watcher.telemetry_queue
end
@@ -85,17 +77,14 @@
@_thread_watcher ||= Contrast::Agent::ThreadWatcher.new
end
end
end
-require 'contrast/api'
-
require 'contrast/utils/resource_loader'
require 'contrast/utils/duck_utils'
require 'contrast/agent/tracepoint_hook'
require 'contrast/agent/at_exit_hook'
-# communication with contrast service
require 'contrast/agent/exclusion_matcher'
# threads that handle contrast scope
require 'contrast/agent/thread'