Commit c309a7de by Robert Raposa Committed by GitHub

Merge pull request #189 from edx/robrap/update-newrelic

update newrelic
parents 6a443e79 3eb01ff1
...@@ -90,7 +90,7 @@ GEM ...@@ -90,7 +90,7 @@ GEM
rake rake
multi_json (1.11.2) multi_json (1.11.2)
netrc (0.10.3) netrc (0.10.3)
newrelic_rpm (3.15.0.314) newrelic_rpm (3.16.0.318)
nokogiri (1.6.8) nokogiri (1.6.8)
mini_portile2 (~> 2.1.0) mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7) pkg-config (~> 1.1.7)
......
require 'new_relic/agent/method_tracer'
module ThreadUtils module ThreadUtils
def self.get_endorsed(threads) def self.get_endorsed(threads)
...@@ -39,9 +41,10 @@ module ThreadUtils ...@@ -39,9 +41,10 @@ module ThreadUtils
read_states read_states
end end
extend self class << self
include ::NewRelic::Agent::MethodTracer include ::NewRelic::Agent::MethodTracer
add_method_tracer :get_read_states add_method_tracer :get_read_states
add_method_tracer :get_endorsed add_method_tracer :get_endorsed
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