Sha256: 93d9474d56484c40129e2541f26c30fde2ab84d3441ce42c2996871b6fd1effb

Contents?: true

Size: 551 Bytes

Versions: 5

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

require_relative '../../configuration/settings'
require_relative '../ext'

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ddtrace-1.12.1 lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-1.12.0 lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-1.11.1 lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-1.11.0 lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb
ddtrace-1.11.0.beta1 lib/datadog/tracing/contrib/concurrent_ruby/configuration/settings.rb