Module: Profiler::Instrumentation::ActiveJobInstrumentation
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/profiler/instrumentation/active_job_instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#deserialize(job_data) ⇒ Object
32 33 34 35 |
# File 'lib/profiler/instrumentation/active_job_instrumentation.rb', line 32 def deserialize(job_data) super self.profiler_parent_token = job_data["profiler_parent_token"] end |
#serialize ⇒ Object
28 29 30 |
# File 'lib/profiler/instrumentation/active_job_instrumentation.rb', line 28 def serialize super.merge("profiler_parent_token" => profiler_parent_token) end |