net-http-instrumentation 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/net-http-instrumentation/version.rb +1 -1
- data/lib/net/http/instrumentation/newrelic_rpm.rb +4 -0
- data/test/app.rb +1 -1
- metadata +2 -2
data/.gitignore
CHANGED
@@ -16,4 +16,8 @@ end
|
|
16
16
|
Net::HTTPResponse.class_eval do
|
17
17
|
include NewRelic::Agent::MethodTracer
|
18
18
|
add_method_tracer :read_body, 'Custom/Net/Http/HTTPResponse/read_body', :metric => false
|
19
|
+
class << self
|
20
|
+
include NewRelic::Agent::MethodTracer
|
21
|
+
add_method_tracer :read_new, 'Custom/Net/Http/HTTPResponse/read_new', :metric => false
|
22
|
+
end
|
19
23
|
end
|
data/test/app.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-http-instrumentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Provide some instrumentation for Net::HTTP
|
15
15
|
email:
|