newrelic-aws 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -9,7 +9,7 @@ and S3 functionality plus a little bit of SQS and Simple Email Service. Pull req
9
9
 
10
10
  Add this line to your application's Gemfile:
11
11
 
12
- gem 'newrelic_aws'
12
+ gem 'newrelic-aws'
13
13
 
14
14
  And then execute:
15
15
 
@@ -17,7 +17,7 @@ And then execute:
17
17
 
18
18
  Or install it yourself with:
19
19
 
20
- $ gem install newrelic_aws
20
+ $ gem install newrelic-aws
21
21
 
22
22
  If you're having trouble with NewRelic attepmting to instrument the old `AWS::S3` [gem](https://github.com/marcel/aws-s3)
23
23
  (the one not created by Amazon that is mostly unmaintained) you may want to add `disable_aws-s3: true` to your `newrelic.yml`
@@ -17,12 +17,14 @@ DependencyDetection.defer do
17
17
  # We instrument a few AWS::Core::Client methods so we aren't blind to calls that aren't
18
18
  # yet specifically instrumented at a higher level.
19
19
  AWS::Core::Client.class_eval do
20
+ include NewRelic::Agent::MethodTracer
20
21
  add_method_tracer :client_request
21
22
  add_method_tracer :make_async_request
22
23
  add_method_tracer :make_sync_request
23
24
  end
24
25
 
25
26
  AWS::S3::Bucket.class_eval do
27
+ include NewRelic::Agent::MethodTracer
26
28
  add_method_tracer :clear!
27
29
  add_method_tracer :delete
28
30
  add_method_tracer :delete!
@@ -31,13 +33,18 @@ DependencyDetection.defer do
31
33
  end
32
34
 
33
35
  AWS::S3::S3Object.class_eval do
36
+ include NewRelic::Agent::MethodTracer
34
37
  add_method_tracer :read
35
38
  add_method_tracer :write
36
39
  add_method_tracer :delete
37
40
  add_method_tracer :head
41
+
42
+ add_method_tracer :url_for
43
+ add_method_tracer :public_url
38
44
  end
39
45
 
40
46
  AWS::SQS::Queue.class_eval do
47
+ include NewRelic::Agent::MethodTracer
41
48
  add_method_tracer :batch_delete
42
49
  add_method_tracer :batch_send
43
50
  add_method_tracer :exists?
@@ -47,6 +54,7 @@ DependencyDetection.defer do
47
54
  end
48
55
 
49
56
  AWS::SimpleEmailService.class_eval do
57
+ include NewRelic::Agent::MethodTracer
50
58
  add_method_tracer :send_email
51
59
  add_method_tracer :send_raw_email
52
60
  end
@@ -1,3 +1,3 @@
1
1
  module NewrelicAWS
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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: 2013-10-19 00:00:00.000000000 Z
12
+ date: 2014-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: newrelic_rpm