newrelic_rpm 2.13.5.beta2 → 2.13.5.beta3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of newrelic_rpm might be problematic. Click here for more details.

@@ -0,0 +1,93 @@
1
+
2
+ # NewRelic instrumentation for ActiveRecord
3
+ if defined?(ActiveRecord) && defined?(ActiveRecord::Base) && !NewRelic::Control.instance['skip_ar_instrumentation']
4
+
5
+ module NewRelic
6
+ module Agent
7
+ module Instrumentation
8
+ module ActiveRecordInstrumentation
9
+
10
+ def self.included(instrumented_class)
11
+ instrumented_class.class_eval do
12
+ alias_method :log_without_newrelic_instrumentation, :log
13
+ alias_method :log, :log_with_newrelic_instrumentation
14
+ protected :log
15
+ end
16
+ end
17
+
18
+ def log_with_newrelic_instrumentation(sql, name, &block)
19
+
20
+ return log_without_newrelic_instrumentation(sql, name, &block) unless NewRelic::Agent.is_execution_traced?
21
+
22
+ # Capture db config if we are going to try to get the explain plans
23
+ if (defined?(ActiveRecord::ConnectionAdapters::MysqlAdapter) && self.is_a?(ActiveRecord::ConnectionAdapters::MysqlAdapter)) ||
24
+ (defined?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) && self.is_a?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter))
25
+ supported_config = @config
26
+ end
27
+ if name && (parts = name.split " ") && parts.size == 2
28
+ model = parts.first
29
+ operation = parts.last.downcase
30
+ metric_name = case operation
31
+ when 'load' then 'find'
32
+ when 'indexes', 'columns' then nil # fall back to DirectSQL
33
+ when 'destroy', 'find', 'save', 'create' then operation
34
+ when 'update' then 'save'
35
+ else
36
+ if model == 'Join'
37
+ operation
38
+ end
39
+ end
40
+ metric = "ActiveRecord/#{model}/#{metric_name}" if metric_name
41
+ end
42
+
43
+ if metric.nil?
44
+ metric = NewRelic::Agent::Instrumentation::MetricFrame.database_metric_name
45
+ if metric.nil?
46
+ if sql =~ /^(select|update|insert|delete|show)/i
47
+ # Could not determine the model/operation so let's find a better
48
+ # metric. If it doesn't match the regex, it's probably a show
49
+ # command or some DDL which we'll ignore.
50
+ metric = "Database/SQL/#{$1.downcase}"
51
+ else
52
+ metric = "Database/SQL/other"
53
+ end
54
+ end
55
+ end
56
+
57
+ if !metric
58
+ log_without_newrelic_instrumentation(sql, name, &block)
59
+ else
60
+ metrics = [metric, "ActiveRecord/all"]
61
+ metrics << "ActiveRecord/#{metric_name}" if metric_name
62
+ self.class.trace_execution_scoped(metrics) do
63
+ t0 = Time.now
64
+ begin
65
+ log_without_newrelic_instrumentation(sql, name, &block)
66
+ ensure
67
+ NewRelic::Agent.instance.transaction_sampler.notice_sql(sql, supported_config, (Time.now - t0).to_f)
68
+ end
69
+ end
70
+ end
71
+ end
72
+
73
+ end
74
+
75
+ Rails.configuration.after_initialize do
76
+ ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do
77
+ include ::NewRelic::Agent::Instrumentation::ActiveRecordInstrumentation
78
+ end
79
+ end
80
+
81
+ # This instrumentation will add an extra scope to the transaction traces
82
+ # which will show the code surrounding the query, inside the model find_by_sql
83
+ # method.
84
+ ActiveRecord::Base.class_eval do
85
+ class << self
86
+ add_method_tracer :find_by_sql, 'ActiveRecord/#{self.name}/find_by_sql', :metric => false
87
+ add_method_tracer :transaction, 'ActiveRecord/#{self.name}/transaction', :metric => false
88
+ end
89
+ end unless NewRelic::Control.instance['disable_activerecord_instrumentation']
90
+ end
91
+ end
92
+ end
93
+ end
@@ -6,7 +6,7 @@ module NewRelic
6
6
  begin
7
7
  log.debug "Processing instrumentation file '#{file}'"
8
8
  require file.to_s
9
- rescue => e
9
+ rescue Exception => e
10
10
  log.error "Error loading instrumentation file '#{file}': #{e}"
11
11
  log.debug e.backtrace.join("\n")
12
12
  end
@@ -4,7 +4,7 @@ module NewRelic
4
4
  MAJOR = 2
5
5
  MINOR = 13
6
6
  TINY = 5
7
- BUILD = 'beta2' #'0' # Set to nil for a release, 'beta1', 'alpha', etc for prerelease builds
7
+ BUILD = 'beta3' #'0' # Set to nil for a release, 'beta1', 'alpha', etc for prerelease builds
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
10
10
 
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{newrelic_rpm}
8
- s.version = "2.13.5.beta2"
8
+ s.version = "2.13.5.beta3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bill Kayser", "Justin George"]
12
- s.date = %q{2011-03-02}
12
+ s.date = %q{2011-03-03}
13
13
  s.description = %q{New Relic RPM is a Ruby performance management system, developed by
14
14
  New Relic, Inc (http://www.newrelic.com). RPM provides you with deep
15
15
  information about the performance of your Ruby on Rails or Merb
@@ -21,225 +21,226 @@ http://github.com/newrelic/rpm/tree/master.
21
21
  s.executables = ["mongrel_rpm", "newrelic", "newrelic_cmd"]
22
22
  s.extra_rdoc_files = [
23
23
  "CHANGELOG",
24
- "LICENSE",
25
- "README.rdoc",
26
- "newrelic.yml"
24
+ "LICENSE",
25
+ "README.rdoc",
26
+ "newrelic.yml"
27
27
  ]
28
28
  s.files = [
29
29
  "CHANGELOG",
30
- "LICENSE",
31
- "README.rdoc",
32
- "bin/mongrel_rpm",
33
- "bin/newrelic",
34
- "bin/newrelic_cmd",
35
- "cert/cacert.pem",
36
- "install.rb",
37
- "lib/conditional_vendored_metric_parser.rb",
38
- "lib/new_relic/agent.rb",
39
- "lib/new_relic/agent/agent.rb",
40
- "lib/new_relic/agent/busy_calculator.rb",
41
- "lib/new_relic/agent/chained_call.rb",
42
- "lib/new_relic/agent/error_collector.rb",
43
- "lib/new_relic/agent/instrumentation/active_merchant.rb",
44
- "lib/new_relic/agent/instrumentation/active_record_instrumentation.rb",
45
- "lib/new_relic/agent/instrumentation/acts_as_solr.rb",
46
- "lib/new_relic/agent/instrumentation/authlogic.rb",
47
- "lib/new_relic/agent/instrumentation/controller_instrumentation.rb",
48
- "lib/new_relic/agent/instrumentation/data_mapper.rb",
49
- "lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb",
50
- "lib/new_relic/agent/instrumentation/memcache.rb",
51
- "lib/new_relic/agent/instrumentation/merb/controller.rb",
52
- "lib/new_relic/agent/instrumentation/merb/errors.rb",
53
- "lib/new_relic/agent/instrumentation/metric_frame.rb",
54
- "lib/new_relic/agent/instrumentation/net.rb",
55
- "lib/new_relic/agent/instrumentation/passenger_instrumentation.rb",
56
- "lib/new_relic/agent/instrumentation/queue_time.rb",
57
- "lib/new_relic/agent/instrumentation/rack.rb",
58
- "lib/new_relic/agent/instrumentation/rails/action_controller.rb",
59
- "lib/new_relic/agent/instrumentation/rails/action_web_service.rb",
60
- "lib/new_relic/agent/instrumentation/rails/errors.rb",
61
- "lib/new_relic/agent/instrumentation/rails3/action_controller.rb",
62
- "lib/new_relic/agent/instrumentation/rails3/errors.rb",
63
- "lib/new_relic/agent/instrumentation/sequel.rb",
64
- "lib/new_relic/agent/instrumentation/sinatra.rb",
65
- "lib/new_relic/agent/instrumentation/sunspot.rb",
66
- "lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb",
67
- "lib/new_relic/agent/method_tracer.rb",
68
- "lib/new_relic/agent/sampler.rb",
69
- "lib/new_relic/agent/samplers/cpu_sampler.rb",
70
- "lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb",
71
- "lib/new_relic/agent/samplers/memory_sampler.rb",
72
- "lib/new_relic/agent/samplers/object_sampler.rb",
73
- "lib/new_relic/agent/shim_agent.rb",
74
- "lib/new_relic/agent/stats_engine.rb",
75
- "lib/new_relic/agent/stats_engine/metric_stats.rb",
76
- "lib/new_relic/agent/stats_engine/samplers.rb",
77
- "lib/new_relic/agent/stats_engine/transactions.rb",
78
- "lib/new_relic/agent/transaction_sampler.rb",
79
- "lib/new_relic/agent/worker_loop.rb",
80
- "lib/new_relic/collection_helper.rb",
81
- "lib/new_relic/command.rb",
82
- "lib/new_relic/commands/deployments.rb",
83
- "lib/new_relic/commands/install.rb",
84
- "lib/new_relic/control.rb",
85
- "lib/new_relic/control/configuration.rb",
86
- "lib/new_relic/control/frameworks/external.rb",
87
- "lib/new_relic/control/frameworks/merb.rb",
88
- "lib/new_relic/control/frameworks/rails.rb",
89
- "lib/new_relic/control/frameworks/rails3.rb",
90
- "lib/new_relic/control/frameworks/ruby.rb",
91
- "lib/new_relic/control/frameworks/sinatra.rb",
92
- "lib/new_relic/control/instrumentation.rb",
93
- "lib/new_relic/control/logging_methods.rb",
94
- "lib/new_relic/control/profiling.rb",
95
- "lib/new_relic/control/server_methods.rb",
96
- "lib/new_relic/delayed_job_injection.rb",
97
- "lib/new_relic/histogram.rb",
98
- "lib/new_relic/local_environment.rb",
99
- "lib/new_relic/merbtasks.rb",
100
- "lib/new_relic/metric_data.rb",
101
- "lib/new_relic/metric_spec.rb",
102
- "lib/new_relic/metrics.rb",
103
- "lib/new_relic/noticed_error.rb",
104
- "lib/new_relic/rack/developer_mode.rb",
105
- "lib/new_relic/rack/metric_app.rb",
106
- "lib/new_relic/rack/mongrel_rpm.ru",
107
- "lib/new_relic/rack/newrelic.yml",
108
- "lib/new_relic/rack_app.rb",
109
- "lib/new_relic/recipes.rb",
110
- "lib/new_relic/stats.rb",
111
- "lib/new_relic/timer_lib.rb",
112
- "lib/new_relic/transaction_analysis.rb",
113
- "lib/new_relic/transaction_sample.rb",
114
- "lib/new_relic/url_rule.rb",
115
- "lib/new_relic/version.rb",
116
- "lib/newrelic_rpm.rb",
117
- "lib/tasks/all.rb",
118
- "lib/tasks/install.rake",
119
- "lib/tasks/tests.rake",
120
- "newrelic.yml",
121
- "newrelic_rpm.gemspec",
122
- "recipes/newrelic.rb",
123
- "test/active_record_fixtures.rb",
124
- "test/config/newrelic.yml",
125
- "test/config/test_control.rb",
126
- "test/new_relic/agent/active_record_instrumentation_test.rb",
127
- "test/new_relic/agent/add_method_tracer_test.rb",
128
- "test/new_relic/agent/agent_connect_test.rb",
129
- "test/new_relic/agent/agent_controller_test.rb",
130
- "test/new_relic/agent/agent_start_test.rb",
131
- "test/new_relic/agent/agent_start_worker_thread_test.rb",
132
- "test/new_relic/agent/agent_test_controller.rb",
133
- "test/new_relic/agent/apdex_from_server_test.rb",
134
- "test/new_relic/agent/busy_calculator_test.rb",
135
- "test/new_relic/agent/collection_helper_test.rb",
136
- "test/new_relic/agent/error_collector_notice_error_test.rb",
137
- "test/new_relic/agent/error_collector_test.rb",
138
- "test/new_relic/agent/memcache_instrumentation_test.rb",
139
- "test/new_relic/agent/method_tracer_test.rb",
140
- "test/new_relic/agent/method_tracer_trace_execution_scoped_test.rb",
141
- "test/new_relic/agent/metric_data_test.rb",
142
- "test/new_relic/agent/metric_frame_test.rb",
143
- "test/new_relic/agent/mock_scope_listener.rb",
144
- "test/new_relic/agent/net_instrumentation_test.rb",
145
- "test/new_relic/agent/queue_time_test.rb",
146
- "test/new_relic/agent/rpm_agent_test.rb",
147
- "test/new_relic/agent/stats_engine/metric_stats_test.rb",
148
- "test/new_relic/agent/stats_engine/samplers_test.rb",
149
- "test/new_relic/agent/stats_engine/stats_engine_test.rb",
150
- "test/new_relic/agent/task_instrumentation_test.rb",
151
- "test/new_relic/agent/testable_agent.rb",
152
- "test/new_relic/agent/transaction_sample_builder_test.rb",
153
- "test/new_relic/agent/transaction_sample_subtest_test.rb",
154
- "test/new_relic/agent/transaction_sample_test.rb",
155
- "test/new_relic/agent/transaction_sampler_test.rb",
156
- "test/new_relic/agent/worker_loop_test.rb",
157
- "test/new_relic/control_test.rb",
158
- "test/new_relic/deployments_api_test.rb",
159
- "test/new_relic/environment_test.rb",
160
- "test/new_relic/metric_spec_test.rb",
161
- "test/new_relic/rack/episodes_test.rb",
162
- "test/new_relic/shim_agent_test.rb",
163
- "test/new_relic/stats_test.rb",
164
- "test/new_relic/version_number_test.rb",
165
- "test/test_contexts.rb",
166
- "test/test_helper.rb",
167
- "ui/helpers/developer_mode_helper.rb",
168
- "ui/helpers/google_pie_chart.rb",
169
- "ui/views/layouts/newrelic_default.rhtml",
170
- "ui/views/newrelic/_explain_plans.rhtml",
171
- "ui/views/newrelic/_sample.rhtml",
172
- "ui/views/newrelic/_segment.rhtml",
173
- "ui/views/newrelic/_segment_limit_message.rhtml",
174
- "ui/views/newrelic/_segment_row.rhtml",
175
- "ui/views/newrelic/_show_sample_detail.rhtml",
176
- "ui/views/newrelic/_show_sample_sql.rhtml",
177
- "ui/views/newrelic/_show_sample_summary.rhtml",
178
- "ui/views/newrelic/_sql_row.rhtml",
179
- "ui/views/newrelic/_stack_trace.rhtml",
180
- "ui/views/newrelic/_table.rhtml",
181
- "ui/views/newrelic/explain_sql.rhtml",
182
- "ui/views/newrelic/file/images/arrow-close.png",
183
- "ui/views/newrelic/file/images/arrow-open.png",
184
- "ui/views/newrelic/file/images/blue_bar.gif",
185
- "ui/views/newrelic/file/images/file_icon.png",
186
- "ui/views/newrelic/file/images/gray_bar.gif",
187
- "ui/views/newrelic/file/images/new-relic-rpm-desktop.gif",
188
- "ui/views/newrelic/file/images/new_relic_rpm_desktop.gif",
189
- "ui/views/newrelic/file/images/textmate.png",
190
- "ui/views/newrelic/file/javascript/jquery-1.4.2.js",
191
- "ui/views/newrelic/file/javascript/transaction_sample.js",
192
- "ui/views/newrelic/file/stylesheets/style.css",
193
- "ui/views/newrelic/index.rhtml",
194
- "ui/views/newrelic/sample_not_found.rhtml",
195
- "ui/views/newrelic/show_sample.rhtml",
196
- "ui/views/newrelic/show_source.rhtml",
197
- "ui/views/newrelic/threads.rhtml",
198
- "vendor/gems/metric_parser-0.1.0.pre1/LICENSE",
199
- "vendor/gems/metric_parser-0.1.0.pre1/README",
200
- "vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb",
201
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb",
202
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb",
203
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb",
204
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb",
205
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb",
206
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb",
207
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb",
208
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb",
209
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb",
210
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb",
211
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb",
212
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb",
213
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb",
214
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb",
215
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb",
216
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb",
217
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb",
218
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb",
219
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb",
220
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb",
221
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb",
222
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb",
223
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb",
224
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb",
225
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb",
226
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb",
227
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb",
228
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb",
229
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb",
230
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb",
231
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb",
232
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb",
233
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb",
234
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb",
235
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb",
236
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb",
237
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb",
238
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb",
239
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb",
240
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb",
241
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb",
242
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb"
30
+ "LICENSE",
31
+ "README.rdoc",
32
+ "bin/mongrel_rpm",
33
+ "bin/newrelic",
34
+ "bin/newrelic_cmd",
35
+ "cert/cacert.pem",
36
+ "install.rb",
37
+ "lib/conditional_vendored_metric_parser.rb",
38
+ "lib/new_relic/agent.rb",
39
+ "lib/new_relic/agent/agent.rb",
40
+ "lib/new_relic/agent/busy_calculator.rb",
41
+ "lib/new_relic/agent/chained_call.rb",
42
+ "lib/new_relic/agent/error_collector.rb",
43
+ "lib/new_relic/agent/instrumentation/active_merchant.rb",
44
+ "lib/new_relic/agent/instrumentation/acts_as_solr.rb",
45
+ "lib/new_relic/agent/instrumentation/authlogic.rb",
46
+ "lib/new_relic/agent/instrumentation/controller_instrumentation.rb",
47
+ "lib/new_relic/agent/instrumentation/data_mapper.rb",
48
+ "lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb",
49
+ "lib/new_relic/agent/instrumentation/memcache.rb",
50
+ "lib/new_relic/agent/instrumentation/merb/controller.rb",
51
+ "lib/new_relic/agent/instrumentation/merb/errors.rb",
52
+ "lib/new_relic/agent/instrumentation/metric_frame.rb",
53
+ "lib/new_relic/agent/instrumentation/net.rb",
54
+ "lib/new_relic/agent/instrumentation/passenger_instrumentation.rb",
55
+ "lib/new_relic/agent/instrumentation/queue_time.rb",
56
+ "lib/new_relic/agent/instrumentation/rack.rb",
57
+ "lib/new_relic/agent/instrumentation/rails/action_controller.rb",
58
+ "lib/new_relic/agent/instrumentation/rails/action_web_service.rb",
59
+ "lib/new_relic/agent/instrumentation/rails/active_record_instrumentation.rb",
60
+ "lib/new_relic/agent/instrumentation/rails/errors.rb",
61
+ "lib/new_relic/agent/instrumentation/rails3/action_controller.rb",
62
+ "lib/new_relic/agent/instrumentation/rails3/active_record_instrumentation.rb",
63
+ "lib/new_relic/agent/instrumentation/rails3/errors.rb",
64
+ "lib/new_relic/agent/instrumentation/sequel.rb",
65
+ "lib/new_relic/agent/instrumentation/sinatra.rb",
66
+ "lib/new_relic/agent/instrumentation/sunspot.rb",
67
+ "lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb",
68
+ "lib/new_relic/agent/method_tracer.rb",
69
+ "lib/new_relic/agent/sampler.rb",
70
+ "lib/new_relic/agent/samplers/cpu_sampler.rb",
71
+ "lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb",
72
+ "lib/new_relic/agent/samplers/memory_sampler.rb",
73
+ "lib/new_relic/agent/samplers/object_sampler.rb",
74
+ "lib/new_relic/agent/shim_agent.rb",
75
+ "lib/new_relic/agent/stats_engine.rb",
76
+ "lib/new_relic/agent/stats_engine/metric_stats.rb",
77
+ "lib/new_relic/agent/stats_engine/samplers.rb",
78
+ "lib/new_relic/agent/stats_engine/transactions.rb",
79
+ "lib/new_relic/agent/transaction_sampler.rb",
80
+ "lib/new_relic/agent/worker_loop.rb",
81
+ "lib/new_relic/collection_helper.rb",
82
+ "lib/new_relic/command.rb",
83
+ "lib/new_relic/commands/deployments.rb",
84
+ "lib/new_relic/commands/install.rb",
85
+ "lib/new_relic/control.rb",
86
+ "lib/new_relic/control/configuration.rb",
87
+ "lib/new_relic/control/frameworks/external.rb",
88
+ "lib/new_relic/control/frameworks/merb.rb",
89
+ "lib/new_relic/control/frameworks/rails.rb",
90
+ "lib/new_relic/control/frameworks/rails3.rb",
91
+ "lib/new_relic/control/frameworks/ruby.rb",
92
+ "lib/new_relic/control/frameworks/sinatra.rb",
93
+ "lib/new_relic/control/instrumentation.rb",
94
+ "lib/new_relic/control/logging_methods.rb",
95
+ "lib/new_relic/control/profiling.rb",
96
+ "lib/new_relic/control/server_methods.rb",
97
+ "lib/new_relic/delayed_job_injection.rb",
98
+ "lib/new_relic/histogram.rb",
99
+ "lib/new_relic/local_environment.rb",
100
+ "lib/new_relic/merbtasks.rb",
101
+ "lib/new_relic/metric_data.rb",
102
+ "lib/new_relic/metric_spec.rb",
103
+ "lib/new_relic/metrics.rb",
104
+ "lib/new_relic/noticed_error.rb",
105
+ "lib/new_relic/rack/developer_mode.rb",
106
+ "lib/new_relic/rack/metric_app.rb",
107
+ "lib/new_relic/rack/mongrel_rpm.ru",
108
+ "lib/new_relic/rack/newrelic.yml",
109
+ "lib/new_relic/rack_app.rb",
110
+ "lib/new_relic/recipes.rb",
111
+ "lib/new_relic/stats.rb",
112
+ "lib/new_relic/timer_lib.rb",
113
+ "lib/new_relic/transaction_analysis.rb",
114
+ "lib/new_relic/transaction_sample.rb",
115
+ "lib/new_relic/url_rule.rb",
116
+ "lib/new_relic/version.rb",
117
+ "lib/newrelic_rpm.rb",
118
+ "lib/tasks/all.rb",
119
+ "lib/tasks/install.rake",
120
+ "lib/tasks/tests.rake",
121
+ "newrelic.yml",
122
+ "newrelic_rpm.gemspec",
123
+ "recipes/newrelic.rb",
124
+ "test/active_record_fixtures.rb",
125
+ "test/config/newrelic.yml",
126
+ "test/config/test_control.rb",
127
+ "test/new_relic/agent/active_record_instrumentation_test.rb",
128
+ "test/new_relic/agent/add_method_tracer_test.rb",
129
+ "test/new_relic/agent/agent_connect_test.rb",
130
+ "test/new_relic/agent/agent_controller_test.rb",
131
+ "test/new_relic/agent/agent_start_test.rb",
132
+ "test/new_relic/agent/agent_start_worker_thread_test.rb",
133
+ "test/new_relic/agent/agent_test_controller.rb",
134
+ "test/new_relic/agent/apdex_from_server_test.rb",
135
+ "test/new_relic/agent/busy_calculator_test.rb",
136
+ "test/new_relic/agent/collection_helper_test.rb",
137
+ "test/new_relic/agent/error_collector_notice_error_test.rb",
138
+ "test/new_relic/agent/error_collector_test.rb",
139
+ "test/new_relic/agent/memcache_instrumentation_test.rb",
140
+ "test/new_relic/agent/method_tracer_test.rb",
141
+ "test/new_relic/agent/method_tracer_trace_execution_scoped_test.rb",
142
+ "test/new_relic/agent/metric_data_test.rb",
143
+ "test/new_relic/agent/metric_frame_test.rb",
144
+ "test/new_relic/agent/mock_scope_listener.rb",
145
+ "test/new_relic/agent/net_instrumentation_test.rb",
146
+ "test/new_relic/agent/queue_time_test.rb",
147
+ "test/new_relic/agent/rpm_agent_test.rb",
148
+ "test/new_relic/agent/stats_engine/metric_stats_test.rb",
149
+ "test/new_relic/agent/stats_engine/samplers_test.rb",
150
+ "test/new_relic/agent/stats_engine/stats_engine_test.rb",
151
+ "test/new_relic/agent/task_instrumentation_test.rb",
152
+ "test/new_relic/agent/testable_agent.rb",
153
+ "test/new_relic/agent/transaction_sample_builder_test.rb",
154
+ "test/new_relic/agent/transaction_sample_subtest_test.rb",
155
+ "test/new_relic/agent/transaction_sample_test.rb",
156
+ "test/new_relic/agent/transaction_sampler_test.rb",
157
+ "test/new_relic/agent/worker_loop_test.rb",
158
+ "test/new_relic/control_test.rb",
159
+ "test/new_relic/deployments_api_test.rb",
160
+ "test/new_relic/environment_test.rb",
161
+ "test/new_relic/metric_spec_test.rb",
162
+ "test/new_relic/rack/episodes_test.rb",
163
+ "test/new_relic/shim_agent_test.rb",
164
+ "test/new_relic/stats_test.rb",
165
+ "test/new_relic/version_number_test.rb",
166
+ "test/test_contexts.rb",
167
+ "test/test_helper.rb",
168
+ "ui/helpers/developer_mode_helper.rb",
169
+ "ui/helpers/google_pie_chart.rb",
170
+ "ui/views/layouts/newrelic_default.rhtml",
171
+ "ui/views/newrelic/_explain_plans.rhtml",
172
+ "ui/views/newrelic/_sample.rhtml",
173
+ "ui/views/newrelic/_segment.rhtml",
174
+ "ui/views/newrelic/_segment_limit_message.rhtml",
175
+ "ui/views/newrelic/_segment_row.rhtml",
176
+ "ui/views/newrelic/_show_sample_detail.rhtml",
177
+ "ui/views/newrelic/_show_sample_sql.rhtml",
178
+ "ui/views/newrelic/_show_sample_summary.rhtml",
179
+ "ui/views/newrelic/_sql_row.rhtml",
180
+ "ui/views/newrelic/_stack_trace.rhtml",
181
+ "ui/views/newrelic/_table.rhtml",
182
+ "ui/views/newrelic/explain_sql.rhtml",
183
+ "ui/views/newrelic/file/images/arrow-close.png",
184
+ "ui/views/newrelic/file/images/arrow-open.png",
185
+ "ui/views/newrelic/file/images/blue_bar.gif",
186
+ "ui/views/newrelic/file/images/file_icon.png",
187
+ "ui/views/newrelic/file/images/gray_bar.gif",
188
+ "ui/views/newrelic/file/images/new-relic-rpm-desktop.gif",
189
+ "ui/views/newrelic/file/images/new_relic_rpm_desktop.gif",
190
+ "ui/views/newrelic/file/images/textmate.png",
191
+ "ui/views/newrelic/file/javascript/jquery-1.4.2.js",
192
+ "ui/views/newrelic/file/javascript/transaction_sample.js",
193
+ "ui/views/newrelic/file/stylesheets/style.css",
194
+ "ui/views/newrelic/index.rhtml",
195
+ "ui/views/newrelic/sample_not_found.rhtml",
196
+ "ui/views/newrelic/show_sample.rhtml",
197
+ "ui/views/newrelic/show_source.rhtml",
198
+ "ui/views/newrelic/threads.rhtml",
199
+ "vendor/gems/metric_parser-0.1.0.pre1/LICENSE",
200
+ "vendor/gems/metric_parser-0.1.0.pre1/README",
201
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb",
202
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb",
203
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb",
204
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb",
205
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb",
206
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb",
207
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb",
208
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb",
209
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb",
210
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb",
211
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb",
212
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb",
213
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb",
214
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb",
215
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb",
216
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb",
217
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb",
218
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb",
219
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb",
220
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb",
221
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb",
222
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb",
223
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb",
224
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb",
225
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb",
226
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb",
227
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb",
228
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb",
229
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb",
230
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb",
231
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb",
232
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb",
233
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb",
234
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb",
235
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb",
236
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb",
237
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb",
238
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb",
239
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb",
240
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb",
241
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb",
242
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb",
243
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb"
243
244
  ]
244
245
  s.homepage = %q{http://www.github.com/newrelic/rpm}
245
246
  s.post_install_message = %q{
@@ -268,9 +269,9 @@ Notice: Developer Mode now supports only Rails 2.3+ - refer to README
268
269
  for instructions for previous versions
269
270
 
270
271
  }
271
- s.rdoc_options = ["--charset=UTF-8", "--line-numbers", "--inline-source", "--title", "New Relic Ruby Performance Monitoring Agent"]
272
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Performance Monitoring Agent"]
272
273
  s.require_paths = ["lib"]
273
- s.rubygems_version = %q{1.5.2}
274
+ s.rubygems_version = %q{1.5.0}
274
275
  s.summary = %q{New Relic Ruby Performance Monitoring Agent}
275
276
 
276
277
  if s.respond_to? :specification_version then