Commit 5b9f339b by jimabramson

fix 2 broken newrelic method instrumentations

parent 67a6d6f7
...@@ -299,7 +299,7 @@ helpers do ...@@ -299,7 +299,7 @@ helpers do
add_method_tracer :thread add_method_tracer :thread
add_method_tracer :comment add_method_tracer :comment
add_method_tracer :flag_as_abuse 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 :author_contents_only
add_method_tracer :handle_threads_query add_method_tracer :handle_threads_query
......
...@@ -309,7 +309,9 @@ private ...@@ -309,7 +309,9 @@ private
subscriptions.delete_all subscriptions.delete_all
end end
include ::NewRelic::Agent::MethodTracer class << self
add_method_tracer :perform_search include ::NewRelic::Agent::MethodTracer
add_method_tracer :perform_search, 'Custom/perform_search'
end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment