Sha256: 693772362ae23a63fb7716b3a986e3730ed9adf1d36d68ddcb3d5bcbd0627f92

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 Bytes

Contents

# typed: false
require 'ddtrace/contrib/configuration/settings'
require 'ddtrace/contrib/concurrent_ruby/ext'

module Datadog
  module Contrib
    module ConcurrentRuby
      module Configuration
        # Custom settings for the ConcurrentRuby integration
        class Settings < Contrib::Configuration::Settings
          option :enabled do |o|
            o.default { env_to_bool(Ext::ENV_ENABLED, true) }
            o.lazy
          end

          option :service_name, default: Ext::SERVICE_NAME
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-0.54.2 lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-0.54.1 lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-0.54.0 lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-0.53.0 lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-0.52.0 lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb