lib/instana.rb in instana-1.199.6 vs lib/instana.rb in instana-1.200.0.pre1
- old
+ new
@@ -1,18 +1,16 @@
# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2016
-require 'concurrent'
-require 'sys-proctable'
+require 'instana/setup'
-require "instana/setup"
-
# Boot the instana agent background thread. If you wish to have greater
# control on the where and which thread this is run in, instead use
#
# gem "instana", :require => "instana/setup"
#
# ...and override ::Instana::Agent.spawn_background_thread to boot
# the thread of your choice.
#
+::Instana::Activator.start
::Instana.agent.spawn_background_thread