Sha256: a1ba9d774b34c068c7ed99284f8eee5825f1af3460618a7f8b190492bac9c186

Contents?: true

Size: 603 Bytes

Versions: 11

Compression:

Stored size: 603 Bytes

Contents

require 'ddtrace/contrib/configuration/settings'
require 'ddtrace/contrib/active_record/utils'

module Datadog
  module Contrib
    module RestClient
      module Configuration
        # Unique settings for RestClient
        class Settings < Contrib::Configuration::Settings
          NAME = 'rest_client'.freeze

          option :service_name, default: NAME, depends_on: [:tracer] do |value|
            get_option(:tracer).set_service_info(value, NAME, Ext::AppTypes::DB)
            value
          end

          option :distributed_tracing, default: false
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ddtrace-0.16.1 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.15.0.internaltracinfeature1 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.16.0 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.2.disableprotocolversion4 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.15.0 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.2.withoutpriorityparsing1 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.2 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.1 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.15.0.beta1 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.0 lib/ddtrace/contrib/rest_client/configuration/settings.rb
ddtrace-0.14.0.rc1 lib/ddtrace/contrib/rest_client/configuration/settings.rb