Sha256: e7de66aa734770099909056ffcea0f2f3f8b04198e6912bef774ab8630733ca8
Contents?: true
Size: 776 Bytes
Versions: 4
Compression:
Stored size: 776 Bytes
Contents
require 'ddtrace/contrib/configuration/settings' require 'ddtrace/contrib/rspec/ext' module Datadog module Contrib module RSpec module Configuration # Custom settings for the RSpec 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 do |o| o.default { Datadog.configuration.service || Ext::SERVICE_NAME } o.lazy end option :operation_name do |o| o.default { ENV.key?(Ext::ENV_OPERATION_NAME) ? ENV[Ext::ENV_OPERATION_NAME] : Ext::OPERATION_NAME } o.lazy end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems