Sha256: ae7ed045dca9c2aef34f195d0f8650ac75cff66a1bc06bd5c8c55aa6985c382e

Contents?: true

Size: 986 Bytes

Versions: 7

Compression:

Stored size: 986 Bytes

Contents

# (c) Copyright IBM Corp. 2021
# (c) Copyright Instana Inc. 2016

require 'oj_check'

require "instana/base"
require "instana/config"
require "instana/agent"
require "instana/collector"
require "instana/secrets"
require "instana/tracer"
require "instana/tracing/processor"

require 'instana/activator'

::Instana.setup
::Instana.agent.setup
::Instana::Activator.start

# Register the metric collectors
unless RUBY_PLATFORM == 'java'.freeze
  require 'instana/collectors/gc'
end

require 'instana/collectors/memory'
require 'instana/collectors/thread'

# Require supported OpenTracing interfaces
require "opentracing"

# The Instana agent is now setup.  The only remaining
# task for a complete boot is to call
# `Instana.agent.start` in the thread of your choice.
# This can be in a simple `Thread.new` block or
# any other thread system you may use (e.g. actor
# threads).
#
# Note that `start` should only be called once per process.
#
# Thread.new do
#   ::Instana.agent.start
# end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
instana-1.195.4 lib/instana/setup.rb
instana-1.195.3 lib/instana/setup.rb
instana-1.195.2 lib/instana/setup.rb
instana-1.195.1 lib/instana/setup.rb
instana-1.195.0 lib/instana/setup.rb
instana-1.193.6 lib/instana/setup.rb
instana-1.193.5 lib/instana/setup.rb