fix 2 broken newrelic method instrumentations
This commit is contained in:
Родитель
67a6d6f72a
Коммит
5b9f339b62
|
@ -299,7 +299,7 @@ helpers do
|
|||
add_method_tracer :thread
|
||||
add_method_tracer :comment
|
||||
add_method_tracer :flag_as_abuse
|
||||
add_method_tracer :unflag_as_abuse
|
||||
add_method_tracer :un_flag_as_abuse
|
||||
add_method_tracer :author_contents_only
|
||||
add_method_tracer :handle_threads_query
|
||||
|
||||
|
|
|
@ -309,7 +309,9 @@ private
|
|||
subscriptions.delete_all
|
||||
end
|
||||
|
||||
include ::NewRelic::Agent::MethodTracer
|
||||
add_method_tracer :perform_search
|
||||
class << self
|
||||
include ::NewRelic::Agent::MethodTracer
|
||||
add_method_tracer :perform_search, 'Custom/perform_search'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче