lib/ddtrace/contrib/rails/patcher.rb in ddtrace-0.10.0 vs lib/ddtrace/contrib/rails/patcher.rb in ddtrace-0.11.0.beta1

- old
+ new

@@ -4,28 +4,16 @@ # Patcher module Patcher include Base register_as :rails, auto_patch: true - option :enabled, default: true - option :auto_instrument, default: false - option :auto_instrument_redis, default: false - option :auto_instrument_grape, default: false - option :default_service, default: 'rails-app' - option :default_controller_service, default: 'rails-controller' - option :default_cache_service, default: 'rails-cache' - option :default_grape_service, default: 'grape' - option :default_database_service + option :service_name + option :controller_service + option :cache_service + option :database_service option :distributed_tracing_enabled, default: false - option :priority_sampling, default: false option :template_base_path, default: 'views/' option :tracer, default: Datadog.tracer - option :debug, default: false - option :trace_agent_hostname, default: Datadog::Writer::HOSTNAME - option :trace_agent_port, default: Datadog::Writer::PORT - option :env, default: nil - option :tags, default: {} - option :sidekiq_service, default: 'sidekiq' @patched = false class << self def patch