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

Included in:
Events::PerformAction
Defined in:
lib/datadog/tracing/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



40
41
42
43
# File 'lib/datadog/tracing/contrib/action_cable/event.rb', line 40

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