Module: Datadog::Contrib::ActionCable::RootContextEvent

Included in:
Events::PerformAction
Defined in:
lib/ddtrace/contrib/action_cable/event.rb

Overview

Defines behavior for the first event of a thread execution.

This event is not expected to be nested with other event, but to start a fresh tracing context.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



36
37
38
39
# File 'lib/ddtrace/contrib/action_cable/event.rb', line 36

def self.included(base)
  base.send(:include, ActiveSupport::Notifications::Event)
  base.send(:extend, ClassMethods)
end