Class: Mnemosyne::Probes::ActionView::RenderPartial::Probe
- Inherits:
-
Mnemosyne::Probe
- Object
- Mnemosyne::Probe
- Mnemosyne::Probes::ActionView::RenderPartial::Probe
- Defined in:
- lib/mnemosyne/probes/action_view/render_partial.rb
Instance Method Summary collapse
Methods inherited from Mnemosyne::Probe
#install, #setup, subscribe, subscriptions
Methods included from Logging
Instance Method Details
#call(trace, _name, start, finish, _id, payload) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/mnemosyne/probes/action_view/render_partial.rb', line 10 def call(trace, _name, start, finish, _id, payload) start = ::Mnemosyne::Clock.to_tick(start) finish = ::Mnemosyne::Clock.to_tick(finish) span = ::Mnemosyne::Span.new 'view.render.template.rails', start: start, finish: finish, meta: payload trace << span end |