Sha256: 105d2784fd3ddfffe522cd03922d492a80180c093e395e7b2e8ab6db2af859ff

Contents?: true

Size: 492 Bytes

Versions: 7

Compression:

Stored size: 492 Bytes

Contents

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

module OpenTracing
  class << self
    # Text format for #inject and #extract
    FORMAT_TEXT_MAP = 1

    # Binary format for #inject and #extract
    FORMAT_BINARY = 2

    # Ruby Specific format to handle how Rack changes environment variables.
    FORMAT_RACK = 3

    attr_accessor :global_tracer

    def method_missing(method_name, *args, &block)
      @global_tracer.send(method_name, *args, &block)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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