Sha256: 3a8ae9c107dc0e2e0ac3412ee88588f2abace84a00b828355b62bb23a8a8468a
Contents?: true
Size: 572 Bytes
Versions: 7
Compression:
Stored size: 572 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?('tracing') c.use :rack, service_name: 'acme-rack' end 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
7 entries across 7 versions & 1 rubygems