Sha256: 45335196219da2ba3d04c1f22ed69daa1532897849600fc34cda7a4816aafd8b

Contents?: true

Size: 422 Bytes

Versions: 13

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

# Railtie to include AutoInstrumentation in rails loading
class DatadogAutoInstrumentRailtie < Rails::Railtie
  # we want to load before config initializers so that any user supplied config
  # in config/initializers/datadog.rb will take precedence
  initializer 'datadog.start_tracer', before: :load_config_initializers do
    Datadog::Tracing::Contrib::AutoInstrument.patch_all!
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
datadog-2.9.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.8.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.7.1 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.7.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.6.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.5.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.4.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.3.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.2.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.1.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.0.0 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.0.0.beta2 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb
datadog-2.0.0.beta1 lib/datadog/tracing/contrib/rails/auto_instrument_railtie.rb