Class: AppMap::Rails::ActionHandler::HTTPServerRequest
- Inherits:
-
Object
- Object
- AppMap::Rails::ActionHandler::HTTPServerRequest
- Includes:
- ContextKey
- Defined in:
- lib/appmap/rails/action_handler.rb
Defined Under Namespace
Classes: Call
Instance Method Summary collapse
-
#call(_, started, finished, _, payload) ⇒ Object
(name, started, finished, unique_id, payload).
Methods included from ContextKey
Instance Method Details
#call(_, started, finished, _, payload) ⇒ Object
(name, started, finished, unique_id, payload)
49 50 51 52 53 |
# File 'lib/appmap/rails/action_handler.rb', line 49 def call(_, started, finished, _, payload) # (name, started, finished, unique_id, payload) event = Call.new(__FILE__, __LINE__, payload) Thread.current[context_key] = Context.new(event.id, Time.now) AppMap.tracing.record_event(event) end |