lib/datadog/ci/configuration/settings.rb in datadog-ci-1.7.0 vs lib/datadog/ci/configuration/settings.rb in datadog-ci-1.8.0
- old
+ new
@@ -115,9 +115,15 @@
o.type :bool
o.env CI::Ext::Settings::ENV_RETRY_NEW_TESTS_ENABLED
o.default true
end
+ # internal only
+ option :discard_traces do |o|
+ o.type :bool
+ o.default false
+ end
+
define_method(:instrument) do |integration_name, options = {}, &block|
return unless enabled
integration = fetch_integration(integration_name)
integration.configure(options, &block)