Sha256: ddcacf258846aa753b1118eccc132728bbd791e3c9a5cb36399485203af6a847

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

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

::Instana.setup

require "instana/collectors"
require "instana/instrumentation"

::Instana.agent.setup

# 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

2 entries across 2 versions & 1 rubygems

Version Path
instana-1.0.2 lib/instana/setup.rb
instana-1.0.1 lib/instana/setup.rb