Sha256: a447bf3ad1f00941b1501e13d23ffbf3b7010cccacc1ac4d744dfe24f95962ea
Contents?: true
Size: 878 Bytes
Versions: 3
Compression:
Stored size: 878 Bytes
Contents
require 'datadog/ci/ext/settings' module Datadog module CI module Configuration # Adds CI behavior to Datadog trace settings module Settings def self.extended(base) base = base.singleton_class unless base.is_a?(Class) add_settings!(base) end def self.add_settings!(base) base.class_eval do settings :ci_mode do option :enabled do |o| o.default { env_to_bool(Datadog::CI::Ext::Settings::ENV_MODE_ENABLED, false) } o.lazy end option :context_flush do |o| o.default { nil } o.lazy end option :writer_options do |o| o.default { {} } o.lazy end end end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/datadog/ci/configuration/settings.rb |
ddtrace-0.51.0 | lib/datadog/ci/configuration/settings.rb |
ddtrace-0.50.0 | lib/datadog/ci/configuration/settings.rb |