Module: Datadog::Contrib::ActiveSupport::Notifications::Subscriber

Defined in:
lib/ddtrace/contrib/active_support/notifications/subscriber.rb

Overview

For classes that listen to ActiveSupport::Notification events. Creates subscriptions that are wrapped with tracing.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



11
12
13
# File 'lib/ddtrace/contrib/active_support/notifications/subscriber.rb', line 11

def self.included(base)
  base.send(:extend, ClassMethods)
end