Module: Instana::Instrumentation::ActionCableConnection

Defined in:
lib/instana/instrumentation/action_cable.rb

Instance Method Summary collapse

Instance Method Details

#instana_trace_contextObject



7
8
9
# File 'lib/instana/instrumentation/action_cable.rb', line 7

def instana_trace_context
  @instana_trace_context
end

#processObject



11
12
13
14
# File 'lib/instana/instrumentation/action_cable.rb', line 11

def process
  @instana_trace_context ||= ::Instana.tracer.tracing? ? ::Instana.tracer.current_span.context : {}
  super
end