Sha256: 859ee40532e555f42accacc86ab82cef31825120c70b5efda0fa56317588443f

Contents?: true

Size: 480 Bytes

Versions: 10

Compression:

Stored size: 480 Bytes

Contents

require 'datadog/demo_env'
require 'ddtrace'

Datadog.configure do |c|
  c.diagnostics.debug = true if Datadog::DemoEnv.feature?('debug')
  c.analytics_enabled = true if Datadog::DemoEnv.feature?('analytics')
  c.runtime_metrics.enabled = true if Datadog::DemoEnv.feature?('runtime_metrics')

  if Datadog::DemoEnv.feature?('pprof_to_file')
    # Reconfigure transport to write pprof to file
    c.profiling.exporter.transport = Datadog::DemoEnv.profiler_file_transport
  end
end

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/ruby/app/datadog.rb
ddtrace-0.51.1 integration/apps/rspec/app/datadog.rb
ddtrace-0.51.0 integration/apps/rspec/app/datadog.rb
ddtrace-0.51.0 integration/apps/ruby/app/datadog.rb
ddtrace-0.50.0 integration/apps/ruby/app/datadog.rb
ddtrace-0.50.0 integration/apps/rspec/app/datadog.rb
ddtrace-0.49.0 integration/apps/ruby/app/datadog.rb
ddtrace-0.48.0 integration/apps/ruby/app/datadog.rb
ddtrace-0.47.0 integration/apps/ruby/app/datadog.rb
ddtrace-0.46.0 integration/apps/ruby/app/datadog.rb