Sha256: 658799c38d8272a4279733f2740e03e33d43294490f7faea704351705892224e
Contents?: true
Size: 946 Bytes
Versions: 4
Compression:
Stored size: 946 Bytes
Contents
# typed: false require 'datadog/tracing/contrib/configuration/settings' require 'datadog/ci/contrib/rspec/ext' module Datadog module CI module Contrib module RSpec module Configuration # Custom settings for the RSpec integration # TODO: mark as `@public_api` when GA class Settings < Datadog::Tracing::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_without_fallback || 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 end
Version data entries
4 entries across 4 versions & 1 rubygems