rpm_contrib 2.1.8 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ * Version 2.1.9
2
+ - Removed riak-client and ripple instrumentation in favor of
3
+ https://github.com/alinpopa/newrelic-riak
4
+
1
5
  * Version 2.1.8
2
6
  - Removed redis instrumenation in favor of https://github.com/evanphx/newrelic-redis
3
7
  - [FIX] adding check for aws-sdk (Tom Caspy)
data/README.md CHANGED
@@ -11,17 +11,34 @@ instrument indivdual libraries or frameworks. We see this as having a number of
11
11
  advantages for newrelic users. We will provide a list of recommended
12
12
  instrumentation projects.
13
13
 
14
- ### Removal of Redis Instrumenation
14
+ ### Request for Maintainers
15
+
16
+ If you're interested in maintaining instrumentation for a specific
17
+ library/framework, please let us know. We'd love to work with you and promote
18
+ your project. -The New Relic Ruby Agent Team
19
+
20
+ ## New Relic Ruby Agent Plugins (Seperate Projects)
21
+
22
+ Here is a list of instrumentation projects for various Ruby libraries:
23
+
24
+ #### Redis
15
25
 
16
26
  As of version 2.1.8 Redis instrumentation has been removed from rpm_contrib.
17
27
  Please use Evan Phoenix's `newrelic-redis` gem instead.
28
+
18
29
  https://github.com/evanphx/newrelic-redis
19
30
 
20
- ### Request for Maintainers
31
+ #### Faraday
21
32
 
22
- If you're interested in maintaining instrumentation for a specific
23
- library/framework, please let us know. We'd love to work with you and promote
24
- your project. -The New Relic Ruby Agent Team
33
+ Instrumentation for the HTTP client library Faraday is available at:
34
+
35
+ https://github.com/Viximo/newrelic-faraday
36
+
37
+ #### Riak-Client and Ripple
38
+
39
+ Riak client and ripple instrumenatation are available at:
40
+
41
+ https://github.com/alinpopa/newrelic-riak
25
42
 
26
43
 
27
44
  ## Getting Started
@@ -103,13 +120,13 @@ The gem will instrument both Curl::Easy and Curl::Multi - they should show up si
103
120
 
104
121
  You can disable it with `disable_curb` in your newrelic.yml file.
105
122
 
106
- ## Elastic Search
123
+ ### Elastic Search
107
124
 
108
125
  The gem will instrument ElasticSearch::Client. The metrics should show up in the UI
109
126
 
110
127
  You can disable it with `disable_elastic_search_instrumentation` in your newrelic.yml file.
111
128
 
112
- ## KyotoTycoon
129
+ ### KyotoTycoon
113
130
 
114
131
  The gem will instrument KyotoTycoon.
115
132
 
@@ -148,20 +165,6 @@ Redis instrumentation has been removed from rpm_contrib.
148
165
  Please use Evan Phoenix's `newrelic-redis` gem instead.
149
166
  https://github.com/evanphx/newrelic-redis
150
167
 
151
- ### Riak
152
-
153
- RiakClient is instrumented. Its opereations are recorded under Database in the
154
- the response time graph.
155
-
156
- To disable Riak instrumentation, set 'disable_riak_client' to true in your newrelic.yml file.
157
-
158
- ### Ripple
159
-
160
- Ripple is instrumented. Its opereations are recorded under Database in the
161
- the response time graph.
162
-
163
- To disable Riak instrumentation, set 'disable_ripple' to true in your newrelic.yml file.
164
-
165
168
  ### Sinatra view instrumentation
166
169
 
167
170
  This adds instrumentation to the `render` methods in Sinatra::Base
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpm_contrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.8
4
+ version: 2.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-03-19 00:00:00.000000000 Z
13
+ date: 2012-05-04 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: newrelic_rpm
17
- requirement: &70251204964480 !ruby/object:Gem::Requirement
17
+ requirement: &70323273326060 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70251204964480
25
+ version_requirements: *70323273326060
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: newrelic_rpm
28
- requirement: &70251204963860 !ruby/object:Gem::Requirement
28
+ requirement: &70323273325580 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 3.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70251204963860
36
+ version_requirements: *70323273325580
37
37
  description: ! 'Community contributed instrumentation for various frameworks based
38
38
  on
39
39
 
@@ -72,8 +72,6 @@ files:
72
72
  - lib/rpm_contrib/instrumentation/paperclip.rb
73
73
  - lib/rpm_contrib/instrumentation/picky.rb
74
74
  - lib/rpm_contrib/instrumentation/resque.rb
75
- - lib/rpm_contrib/instrumentation/riak_client.rb
76
- - lib/rpm_contrib/instrumentation/ripple.rb
77
75
  - lib/rpm_contrib/instrumentation/sinatra.rb
78
76
  - lib/rpm_contrib/instrumentation/thinking_sphinx.rb
79
77
  - lib/rpm_contrib/instrumentation/typhoeus.rb
@@ -106,9 +104,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
104
  - - ! '>='
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
- segments:
110
- - 0
111
- hash: 1487779751657344136
112
107
  required_rubygems_version: !ruby/object:Gem::Requirement
113
108
  none: false
114
109
  requirements:
@@ -1,48 +0,0 @@
1
- DependencyDetection.defer do
2
- @name = :riak_client
3
-
4
- depends_on do
5
- defined?(::Riak) and not NewRelic::Control.instance['disable_riak_client']
6
- end
7
-
8
- executes do
9
- NewRelic::Agent.logger.debug 'Installing Riak client instrumentation'
10
- end
11
-
12
- executes do
13
- backend_tracers = proc do
14
- add_method_tracer :ping, 'Database/Riak/ping'
15
-
16
- add_method_tracer :list_buckets, 'Database/Riak/list_buckets'
17
- add_method_tracer :get_bucket_props, 'Database/Riak/get_bucket_props'
18
- add_method_tracer :set_bucket_props, 'Database/Riak/set_bucket_props'
19
-
20
- add_method_tracer :mapred, 'Database/Riak/mapred'
21
-
22
- add_method_tracer :list_keys, 'Database/Riak/list_keys'
23
- add_method_tracer :fetch_object, 'Database/Riak/fetch_object'
24
- add_method_tracer :reload_object, 'Database/Riak/reload_object'
25
- add_method_tracer :store_object, 'Database/Riak/store_object'
26
- add_method_tracer :delete_object, 'Database/Riak/delete_object'
27
- end
28
-
29
- ::Riak::Client::BeefcakeProtobuffsBackend.class_eval &backend_tracers
30
- ::Riak::Client::BeefcakeProtobuffsBackend.class_eval do
31
- add_method_tracer :server_info, 'Database/Riak/server_info'
32
- add_method_tracer :get_client_id, 'Database/Riak/get_client_id'
33
- add_method_tracer :set_client_id, 'Database/Riak/set_client_id'
34
- end
35
- ::Riak::Client::HTTPBackend.class_eval &backend_tracers
36
- ::Riak::Client::HTTPBackend.class_eval do
37
- add_method_tracer :stats, 'Database/Riak/stats'
38
- add_method_tracer :link_walk, 'Database/Riak/link_walk'
39
- add_method_tracer :get_index, 'Database/Riak/get_index'
40
- add_method_tracer :search, 'Database/Riak/search'
41
- add_method_tracer :update_search_index, 'Database/Riak/update_search_index'
42
- end
43
-
44
- ::Riak::RObject.class_eval do
45
- add_method_tracer :serialize, 'Database/Riak/serialize'
46
- end
47
- end
48
- end
@@ -1,37 +0,0 @@
1
- DependencyDetection.defer do
2
- @name = :ripple
3
-
4
- depends_on do
5
- defined?(::Ripple) and not
6
- NewRelic::Control.instance['disable_ripple']
7
- end
8
-
9
- executes do
10
- NewRelic::Agent.logger.debug 'Installing Ripple instrumentation'
11
- end
12
-
13
- executes do
14
- ::Ripple::Callbacks::InstanceMethods.class_eval do
15
- add_method_tracer :valid?, 'Database/Riak/Ripple/valid?'
16
- end
17
-
18
- ::Ripple::Document::Persistence::ClassMethods.class_eval do
19
- add_method_tracer :create, 'Database/Riak/Ripple/create'
20
- add_method_tracer :destroy_all, 'Database/Riak/Ripple/destroy_all'
21
- end
22
-
23
- ::Ripple::Document::Persistence::InstanceMethods.class_eval do
24
- add_method_tracer :really_save, 'Database/Riak/Ripple/really_save'
25
- add_method_tracer :reload, 'Database/Riak/Ripple/reload'
26
- add_method_tracer :delete, 'Database/Riak/Ripple/delete'
27
- add_method_tracer :destroy, 'Database/Riak/Ripple/destroy'
28
- add_method_tracer :update_attribute, 'Database/Riak/Ripple/update_attribute'
29
- add_method_tracer :update_attributes, 'Database/Riak/Ripple/update_attributes'
30
- end
31
-
32
- ::Ripple::Document::Finders::ClassMethods.class_eval do
33
- add_method_tracer :find, 'Database/Riak/Ripple/find'
34
- add_method_tracer :list, 'Database/Riak/Ripple/list'
35
- end
36
- end
37
- end