lib/instana/setup.rb in instana-1.0.2 vs lib/instana/setup.rb in instana-1.0.3
- old
+ new
@@ -1,16 +1,19 @@
require "instana/base"
require "instana/config"
require "instana/agent"
+require "instana/collector"
require "instana/tracer"
require "instana/tracing/processor"
-
-::Instana.setup
-
-require "instana/collectors"
require "instana/instrumentation"
+::Instana.setup
::Instana.agent.setup
+
+# Register the metric collectors
+require 'instana/collectors/gc'
+require 'instana/collectors/memory'
+require 'instana/collectors/thread'
# Require supported OpenTracing interfaces
require "opentracing"
# The Instana agent is now setup. The only remaining