Sha256: 307e09e5fc6bece8bd19220effb857430d854b6d77b9d8861649577768c3657d

Contents?: true

Size: 898 Bytes

Versions: 4

Compression:

Stored size: 898 Bytes

Contents

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/instrumentation"

::Instana.setup
::Instana.agent.setup

# 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

4 entries across 4 versions & 1 rubygems

Version Path
instana-1.193.2 lib/instana/setup.rb
instana-1.192.1 lib/instana/setup.rb
instana-1.192.0 lib/instana/setup.rb
instana-1.13.0 lib/instana/setup.rb