class NewRelic::Agent::Instrumentation::ActionViewEvent
This class holds state information between calls to ‘start` and `finish` for ActiveSupport events that we do not want to track as a transaction or segment.
Attributes
finishable[RW]
identifier[R]
name[R]
Public Class Methods
new(name, identifier)
click to toggle source
# File lib/new_relic/agent/instrumentation/action_view_subscriber.rb, line 95 def initialize(name, identifier) @name = name @identifier = identifier @finishable = nil end
Public Instance Methods
finish()
click to toggle source
# File lib/new_relic/agent/instrumentation/action_view_subscriber.rb, line 101 def finish @finishable&.finish end
notice_error(error)
click to toggle source
# File lib/new_relic/agent/instrumentation/action_view_subscriber.rb, line 105 def notice_error(error) @finishable&.notice_error(error) end