newrelic_rpm 3.5.1.beta1 → 3.5.1.14.beta

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,21 @@
1
+ Gemfile.lock
2
+ newrelic_rpm.gemspec
3
+ .DS\_Store
4
+ .svn/
5
+ *~
6
+ *.rbc
7
+ pkg/
8
+ *.gem
9
+ !rails
10
+ Manifest*
11
+ .idea/
12
+ tmp/
13
+ TAGS
14
+ tags
15
+ *.swp
16
+ *.swo
17
+
18
+ /log/
19
+ /lerg/
20
+ gems/newrelic_rpm.gemspec
21
+ gems/newrelic_rpm*.tar.gz
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>New Relic Agent</name>
4
+ <comment></comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>com.aptana.ide.core.unifiedBuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ <buildCommand>
14
+ <name>org.rubypeople.rdt.core.rubybuilder</name>
15
+ <arguments>
16
+ </arguments>
17
+ </buildCommand>
18
+ </buildSpec>
19
+ <natures>
20
+ <nature>com.aptana.ruby.core.rubynature</nature>
21
+ <nature>org.rubypeople.rdt.core.rubynature</nature>
22
+ </natures>
23
+ </projectDescription>
data/CHANGELOG CHANGED
@@ -16,6 +16,8 @@
16
16
 
17
17
  * End user queue time was not being properly reported, works properly now.
18
18
 
19
+ * Server-side configuration for ignoring errors was not being heeded by agent.
20
+
19
21
  * Better handling of a thread safety issue.
20
22
 
21
23
  Some issues may remain, which we are working to address, but they should be gracefully handled
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source :rubygems
2
+
3
+ group :development do
4
+ gem 'rake', '>= 0.9.2.2'
5
+ gem 'mocha'
6
+ gem 'shoulda'
7
+ gem 'sdoc-helpers'
8
+ gem 'rdoc', '>= 2.4.2'
9
+ gem 'rdiscount'
10
+ end
@@ -0,0 +1,15 @@
1
+
2
+ PLEASE NOTE:
3
+
4
+ Developer Mode is now a Rack middleware.
5
+
6
+ Developer Mode is no longer available in Rails 2.1 and earlier.
7
+ However, starting in version 2.12 you can use Developer Mode in any
8
+ Rack based framework, in addition to Rails. To install developer mode
9
+ in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
10
+ your middleware stack.
11
+
12
+ If you are using JRuby, we recommend using at least version 1.4 or
13
+ later because of issues with the implementation of the timeout library.
14
+
15
+ Refer to the README.md file for more information.
@@ -0,0 +1,27 @@
1
+ require 'rubygems'
2
+ require "#{File.dirname(__FILE__)}/lib/new_relic/version.rb"
3
+ require 'rake/testtask'
4
+
5
+ require "#{File.dirname(__FILE__)}/lib/tasks/all.rb"
6
+
7
+ task :test => Rake::Task['test:newrelic']
8
+
9
+ task :default => :test
10
+
11
+ desc 'Generate gemspec [ build_number, stage ]'
12
+ task :gemspec, [ :build_number, :stage ] do |t, args|
13
+ require 'erb'
14
+ version = NewRelic::VERSION::STRING.split('.')[0..2]
15
+ version << args.build_number.to_s if args.build_number
16
+ version << args.stage.to_s if args.stage
17
+
18
+ version_string = version.join('.')
19
+ gem_version = Gem::VERSION
20
+ date = Time.now.strftime('%Y-%m-%d')
21
+ files = `git ls-files`.split + ['newrelic_rpm.gemspec']
22
+
23
+ template = ERB.new(File.read('newrelic_rpm.gemspec.erb'))
24
+ File.open('newrelic_rpm.gemspec', 'w') do |gemspec|
25
+ gemspec.write(template.result(binding))
26
+ end
27
+ end
@@ -0,0 +1,290 @@
1
+ digraph AgentEnabled {
2
+ node[color=green]
3
+ "[agent_enabled]"
4
+ "[developer_mode]"
5
+ "[monitor_mode]"
6
+ "[slow_sql.explain_threshold]"
7
+ "[slow_sql.stack_trace_threshold]"
8
+ "[slow_sql.explain_enabled]"
9
+ "[slow_sql.enabled]"
10
+ "[slow_sql.record_sql]"
11
+ "[transaction_tracer.limit_segments]"
12
+ "[transaction_tracer.stack_trace_threshold]"
13
+ "[transaction_tracer.explain_threshold]"
14
+ "[transaction_tracer.explain_enabled]"
15
+ "[transaction_tracer.transaction_threshold]"
16
+ "[transaction_tracer.record_sql]"
17
+ "[transaction_tracer.random_sample]"
18
+ "[transaction_tracer.enabled]"
19
+ "[error_collector.capture_source]"
20
+ "[error_collector.enabled]"
21
+ "[error_collector.ignore_errors]"
22
+ "[browser_monitoring.auto_instrument]"
23
+ "[license_key]"
24
+ "[ssl]"
25
+ "[verify_certificate]"
26
+ "[api_host]"
27
+ "[api_port]"
28
+ "[proxy_host]"
29
+ "[proxy_port]"
30
+ "[proxy_user]"
31
+ "[proxy_pass]"
32
+ "[host]"
33
+ "[port]"
34
+ "[timeout]"
35
+ "[log_level]"
36
+ "[apdex_t]"
37
+ "[capture_params]"
38
+ "[app_name]"
39
+ "[multi_homed]"
40
+ "[disable_samplers]"
41
+ "[log_file_name]"
42
+ "[log_file_path]"
43
+ "[dispatcher]"
44
+ "[force_send]"
45
+ "[disable_mobile_headers]"
46
+ "[textmate]"
47
+ "[post_size_limit]"
48
+ "[sync_startup]"
49
+ "[send_data_on_exit]"
50
+ "[high_security]"
51
+ "[validate_seed]"
52
+ "[validate_token]"
53
+ "[disable_backtrace_cleanup]"
54
+ "[disable_activerecord_instrumentation]"
55
+ "[disable_dj]"
56
+ "[capture_memcache_keys]"
57
+ "[disable_memcache_instrumentation]"
58
+ "[disable_view_instrumentation]"
59
+ "[disable_resque]"
60
+
61
+ node[shape=box,color=orange]
62
+ "Control#init_plugin"
63
+ "Control#api_server"
64
+ "Control#proxy_server"
65
+ "Control#server_from_host"
66
+ "Control#http_connection"
67
+ "Control#set_log_level!"
68
+ "Control#log_path"
69
+ "Control#log_to_stdout?"
70
+ "Control#convert_to_ip_address"
71
+ "Control#server"
72
+ "Control#setup_log"
73
+ "Control#should_log?"
74
+ "Control#log!"
75
+
76
+ node[color=green]
77
+ "Config#app_names"
78
+
79
+ node[color=black]
80
+ "Agent#initialize"
81
+ "Agent#after_fork"
82
+ "Agent#disabled?"
83
+ "Agent#shutdown"
84
+ "Agent#using_forking_dispatcher?"
85
+ "Agent#has_license_key?"
86
+ "Agent#correct_license_length"
87
+ "Agent#apdex_f"
88
+ "Agent#check_config_and_start_agent"
89
+ "Agent#install_exit_handler"
90
+ "Agent#log_app_names"
91
+ "Agent#connect_settings"
92
+ "Agent#log_seed_token"
93
+ "Agent#log_error"
94
+ "Agent#monitoring?"
95
+ "Agent#check_trasaction_sampler_status"
96
+ "Agent#check_sql_sampler_status"
97
+ "Agent#config_transaction_tracer"
98
+ "Agent#set_sql_recording!"
99
+ "Agent#already_started?"
100
+ "Agent#log_connection"
101
+ "Agent#manual_start"
102
+
103
+ "MethodTracer#remove_method_tracer"
104
+
105
+ "ErrorCollector#initialize"
106
+ "ErrorCollector#request_params_from_opts"
107
+
108
+ "ControllerInstrumentation#perform_action_with_newrelic_trace"
109
+
110
+ "NewRelicService#initialize"
111
+ "NewRelicService#check_post_size"
112
+ "NewRelicService#connect"
113
+ "NewRelicService#send_request"
114
+
115
+ "SqlSampler#configure!"
116
+
117
+ "TransactionSampler#configure!"
118
+ "TransactionSampler#notice_push_scope"
119
+ "TransactionSampler#capture_segment_trace"
120
+ "TransactionSampler#store_segment_for_developer_mode"
121
+
122
+ "NoticedError#initialize"
123
+
124
+ "BeaconConfiguration#license_bytes"
125
+
126
+ "ActiveRecord#depends_on"
127
+ "DelayedJobInstrumentation#depends_on"
128
+ "Memcache#memcache_key_snippet"
129
+ "Memcache#depends_on"
130
+ "Rails::ActionController#depends_on"
131
+ "Rails3::ActionController#depends_on"
132
+ "Resque#depends_on"
133
+
134
+ "DelayedJobSampler#initialize"
135
+ "DelayedJobInjection#depends_on"
136
+
137
+ "MetricFrame.update_apdex"
138
+
139
+ "TranactionInfo#force_persist_sample?"
140
+ "TranactionInfo#include_guid?"
141
+
142
+ "TransactionSampleBuilder#initialize"
143
+ "TransactionSampleBuilder#set_transaction_info"
144
+
145
+ "Rails#install_browser_monitoring"
146
+ "Rails#log!"
147
+ "Rails3#log!"
148
+
149
+ "CollectionHelper#strip_nr_from_backtrace"
150
+
151
+ "Deployments#initialize"
152
+
153
+ #######
154
+
155
+ "Control#init_plugin" -> "[agent_enabled]"
156
+ "Control#init_plugin" -> "Control#setup_log"
157
+ "Control#init_plugin" -> "[disable_samplers]"
158
+ "Control#should_log?" -> "[agent_enabled]"
159
+ "Control#api_server" -> "[api_host]"
160
+ "Control#api_server" -> "[api_port]"
161
+ "Control#proxy_server" -> "[proxy_host]"
162
+ "Control#proxy_server" -> "[proxy_port]"
163
+ "Control#proxy_server" -> "[proxy_user]"
164
+ "Control#proxy_server" -> "[proxy_pass]"
165
+ "Control#server_from_host" -> "[host]"
166
+ "Control#server_from_host" -> "[port]"
167
+ "Control#server_from_host" -> "Control#convert_to_ip_address"
168
+ "Control#http_connection" -> "[ssl]"
169
+ "Control#http_connection" -> "[verify_certificate]"
170
+ "Control#http_connection" -> "Control#proxy_server"
171
+ "Control#set_log_level!" -> "[log_level]"
172
+ "Control#log_path" -> "[log_file_path]"
173
+ "Control#log_path" -> "Control#log_to_stdout?"
174
+ "Control#log_to_stdout?" -> "[log_file_path]"
175
+ "Control#convert_to_ip_address" -> "[ssl]"
176
+ "Control#convert_to_ip_address" -> "[verify_certificate]"
177
+ "Control#server" -> "Control#server_from_host"
178
+ "Control#setup_log" -> "Control#set_log_level!"
179
+ "Control#setup_log" -> "Control#log_path"
180
+ "Control#setup_log" -> "Control#log_to_stdout?"
181
+ "Control#setup_log" -> "[log_file_name]"
182
+ "Control#log!" -> "Control#should_log?"
183
+ "Control#log!" -> "Control#log_path"
184
+
185
+ "Agent#initialize" -> "[monitor_mode]"
186
+ "Agent#after_fork" -> "[agent_enabled]"
187
+ "Agent#after_fork" -> "[monitor_mode]"
188
+ "Agent#disabled?" -> "[agent_enabled]"
189
+ "Agent#shutdown" -> "[force_send]"
190
+ "Agent#shutdown" -> "[dispatcher]"
191
+ "Agent#using_forking_dispatcher?" -> "[dispatcher]"
192
+ "Agent#has_license_key?" -> "[license_key]"
193
+ "Agent#correct_license_length" -> "[license_key]"
194
+ "Agent#apdex_f" -> "[apdex_t]"
195
+ "Agent#check_config_and_start_agent" -> "[sync_startup]"
196
+ "Agent#install_exit_handler" -> "[send_data_on_exit]"
197
+ "Agent#log_app_names" -> "Config#app_names"
198
+ "Agent#connect_settings" -> "Config#app_names"
199
+ "Agent#log_seed_token" -> "[validate_seed]"
200
+ "Agent#log_seed_token" -> "[validate_token]"
201
+ "Agent#validate_settings" -> "[validate_seed]"
202
+ "Agent#validate_settings" -> "[validate_token]"
203
+ "Agent#log_error" -> "Control#server"
204
+ "Agent#monitoring?" -> "[monitor_mode]"
205
+ "Agent#check_trasaction_sampler_status" -> "[developer_mode]"
206
+ "Agent#check_sql_sampler_status" -> "[slow_sql.enabled]"
207
+ "Agent#check_sql_sampler_status" -> "[slow_sql.record_sql]"
208
+ "Agent#check_sql_sampler_status" -> "[transaction_tracer.enabled]"
209
+ "Agent#config_transaction_tracer" -> "[transaction_tracer.enabled]"
210
+ "Agent#config_transaction_tracer" -> "[transaction_tracer.random_sample]"
211
+ "Agent#config_transaction_tracer" -> "[transaction_tracer.transaction_threshold]"
212
+ "Agent#set_sql_recording!" -> "[transaction_tracer.record_sql]"
213
+ "Agent#already_started?" -> "Control#log!"
214
+ "Agent#log_connection" -> "Control#log!"
215
+ "Agent#manual_start" -> "Control#init_plugin"
216
+
217
+ "MethodTracer#remove_method_tracer" -> "[agent_enabled]"
218
+
219
+ "Rails#init_config" -> "[agent_enabled]"
220
+ "Rails#init_config" -> "[developer_mode]"
221
+
222
+ "ErrorCollector#initialize" -> "[error_collector.enabled]"
223
+ "ErrorCollector#initialize" -> "[error_collector.capture_source]"
224
+ "ErrorCollector#initialize" -> "[error_collector.ignore_errors]"
225
+ "ErrorCollector#request_params_from_opts" -> "[capture_params]"
226
+
227
+ "ControllerInstrumentation#perform_action_with_newrelic_trace" -> "[disable_mobile_headers]"
228
+
229
+ "NewRelicService#initialize" -> "[timeout]"
230
+ "NewRelicService#initialize" -> "[license_key]"
231
+ "NewRelicService#initialize" -> "Control#server"
232
+ "NewRelicService#check_post_size" -> "[post_size_limit]"
233
+ "NewRelicService#connect" -> "Control#server_from_host"
234
+ "NewRelicService#send_request" -> "Control#http_connection"
235
+
236
+ "SqlSampler#configure!" -> "[slow_sql.explain_threshold]"
237
+ "SqlSampler#configure!" -> "[slow_sql.explain_enabled]"
238
+ "SqlSampler#configure!" -> "[slow_sql.stack_trace_threshold]"
239
+ "SqlSampler#configure!" -> "[slow_sql.enabled]"
240
+
241
+ "TransactionSampler#configure!" -> "[transaction_tracer.limit_segments]"
242
+ "TransactionSampler#configure!" -> "[transaction_tracer.stack_trace_threshold]"
243
+ "TransactionSampler#configure!" -> "[transaction_tracer.explain_threshold]"
244
+ "TransactionSampler#configure!" -> "[transaction_tracer.explain_enabled]"
245
+ "TransactionSampler#configure!" -> "[transaction_tracer.transaction_threshold]"
246
+ "TransactionSampler#configure!" -> "[developer_mode]"
247
+ "TransactionSampler#notice_push_scope" -> "[developer_mode]"
248
+ "TransactionSampler#capture_segment_trace" -> "[developer_mode]"
249
+ "TransactionSampler#store_segment_for_developer_mode" -> "[developer_mode]"
250
+
251
+ "NoticedError#initialize" -> "[high_security]"
252
+
253
+ "BeaconConfiguration#license_bytes" -> "[license_key]"
254
+
255
+ "ActiveRecord#depends_on" -> "[disable_activerecord_instrumentation]"
256
+
257
+ "DelayedJobInstrumentation#depends_on" -> "[disable_dj]"
258
+
259
+ "Memcache#memcache_key_snippet" -> "[capture_memcache_keys]"
260
+ "Memcache#depends_on" -> "[disable_memcache_instrumentation]"
261
+
262
+ "Rails::ActionController#depends_on" -> "[disable_view_instrumentation]"
263
+ "Rails3::ActionController#depends_on" -> "[disable_view_instrumentation]"
264
+ "Resque#depends_on" -> "[disable_resque]"
265
+
266
+ "DelayedJobSampler#initialize" -> "[disable_dj]"
267
+ "DelayedJobInjection#depends_on" -> "[disable_dj]"
268
+ "DelayedJobInjection#executes" -> "Control#init_plugin"
269
+
270
+ "MetricFrame.update_apdex" -> "[apdex_t]"
271
+
272
+ "TranactionInfo#force_persist_sample?" -> "[apdex_t]"
273
+ "TranactionInfo#include_guid?" -> "[apdex_t]"
274
+
275
+ "TransactionSampleBuilder#initialize" -> "[transaction_tracer.limit_segments]"
276
+ "TransactionSampleBuilder#set_transaction_info" -> "[capture_params]"
277
+
278
+ "Rails#install_browser_monitoring" -> "[browser_monitoring.auto_instrument]"
279
+ "Rails#log!" -> "Control#should_log?"
280
+ "Rails3#log!" -> "Control#should_log?"
281
+
282
+ "CollectionHelper#strip_nr_from_backtrace" -> "[disable_backtrace_cleanup]"
283
+
284
+ "Deployments#initialize" -> "Config#app_names"
285
+ "Deployments#run" -> "Control#http_connection"
286
+ "Deployments#run" -> "[license_key]"
287
+ "Deployments#run" -> "Control#api_server"
288
+
289
+ "Config#app_names" -> "[app_name]"
290
+ }
data/init.rb ADDED
@@ -0,0 +1,38 @@
1
+ # This is the initialization for the New Relic Ruby Agent when used as
2
+ # a plugin
3
+ require 'new_relic/control'
4
+
5
+ # If you are having problems seeing data, be sure and check the
6
+ # newrelic_agent.log files in the log diretory of your application
7
+ #
8
+ # If you can't find any log files and you don't see anything in your
9
+ # application log files, try uncommenting the two lines at the
10
+ # bottom of this file to verify the plugin is being loaded,
11
+ # then send the output to support@newrelic.com if you are unable to
12
+ # resolve the issue.
13
+
14
+ # Initializer for the NewRelic Ruby Agent
15
+
16
+ # After verison 2.0 of Rails we can access the configuration directly.
17
+ # We need it to add dev mode routes after initialization finished.
18
+
19
+ begin
20
+
21
+ current_config = if defined?(config)
22
+ config
23
+ elsif defined?(Rails.configuration)
24
+ Rails.configuration
25
+ end
26
+
27
+ NewRelic::Control.instance.init_plugin :config => current_config
28
+
29
+ rescue => e
30
+ NewRelic::Control.instance.log! "Error initializing New Relic plugin (#{e})", :error
31
+ NewRelic::Control.instance.log! e.backtrace.join("\n"), :error
32
+ NewRelic::Control.instance.log! "Agent is disabled."
33
+ end
34
+
35
+ #ClassLoadingWatcher.flag_const_missing = nil
36
+ #
37
+ # ::RAILS_DEFAULT_LOGGER.warn "New Relic detected environment: #{NewRelic::Control.instance.local_env.to_s}, RAILS_ENV: #{RAILS_ENV}"
38
+ # ::RAILS_DEFAULT_LOGGER.warn "Enabled? #{NewRelic::Control.instance.agent_enabled?}"
@@ -4,7 +4,7 @@ module NewRelic
4
4
  MAJOR = 3
5
5
  MINOR = 5
6
6
  TINY = 1
7
- BUILD = 'beta1' # Set to nil for a release, 'beta1', 'alpha', etc for prerelease builds
7
+ BUILD = nil
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
10
10
 
@@ -10,10 +10,15 @@ if defined? Rake::TestTask
10
10
  Rake::TestTask.new(:newrelic) do |t|
11
11
  t.libs << "#{AGENT_HOME}/test"
12
12
  t.libs << "#{AGENT_HOME}/lib"
13
- t.pattern = "#{AGENT_HOME}/test/**/*_test.rb"
13
+ t.test_files = FileList["#{AGENT_HOME}/test/**/*_test.rb"]
14
14
  t.verbose = true
15
+
16
+ # Set the test loader to use the Ruby provided test loading script.
17
+ # In ruby 1.9 the default Rake provided runner seems to exit with a 0
18
+ # status code, even when tests fail.
19
+ t.loader = :testrb if RUBY_VERSION >= '1.9'
15
20
  end
16
21
  Rake::Task['test:newrelic'].comment = "Run the unit tests for the Agent"
17
- task :newrelic => :environment
22
+ task 'test:newrelic' => :environment
18
23
  end
19
24
  end
@@ -1,23 +1,22 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ #-*- coding: utf-8 -*-
2
+ # GITSHA: e50d419a9d5cd99014524ce247b44c2fd53ee2cb
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = %q{newrelic_rpm}
8
- s.version = "3.5.1.beta1"
9
-
10
- s.authors = ["Bill Kayser", "Jon Guymon", "Justin George", "Darin Swanson", "Rob Saul"]
11
- s.date = %q{2012-10-31}
12
- s.description = %q{New Relic is a performance management system, developed by New Relic,
5
+ s.name = "newrelic_rpm"
6
+ s.version = "3.5.1.14.beta"
7
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8
+ s.authors = [ "Jason Clark", "Sam Goldstein", "Jon Guymon" ]
9
+ s.date = "2012-11-13"
10
+ s.description = <<-EOS
11
+ New Relic is a performance management system, developed by New Relic,
13
12
  Inc (http://www.newrelic.com). New Relic provides you with deep
14
13
  information about the performance of your web application as it runs
15
14
  in production. The New Relic Ruby Agent is dual-purposed as a either a
16
15
  Gem or plugin, hosted on
17
16
  http://github.com/newrelic/rpm/
18
- }
19
- s.email = %q{support@newrelic.com}
20
- s.executables = ["newrelic_cmd", "newrelic", "mongrel_rpm"]
17
+ EOS
18
+ s.email = "support@newrelic.com"
19
+ s.executables = [ "mongrel_rpm", "newrelic_cmd", "newrelic" ]
21
20
  s.extra_rdoc_files = [
22
21
  "CHANGELOG",
23
22
  "LICENSE",
@@ -25,15 +24,22 @@ http://github.com/newrelic/rpm/
25
24
  "newrelic.yml"
26
25
  ]
27
26
  s.files = [
27
+ ".gitignore",
28
+ ".project",
28
29
  "CHANGELOG",
30
+ "Gemfile",
31
+ "InstallationNotes.md",
29
32
  "LICENSE",
30
33
  "README.rdoc",
34
+ "Rakefile",
31
35
  "bin/mongrel_rpm",
32
36
  "bin/newrelic",
33
37
  "bin/newrelic_cmd",
34
38
  "cert/cacert.pem",
35
39
  "cert/oldsite.pem",
36
40
  "cert/site.pem",
41
+ "config.dot",
42
+ "init.rb",
37
43
  "install.rb",
38
44
  "lib/conditional_vendored_dependency_detection.rb",
39
45
  "lib/conditional_vendored_metric_parser.rb",
@@ -145,7 +151,7 @@ http://github.com/newrelic/rpm/
145
151
  "lib/tasks/install.rake",
146
152
  "lib/tasks/tests.rake",
147
153
  "newrelic.yml",
148
- "newrelic_rpm.gemspec",
154
+ "newrelic_rpm.gemspec.erb",
149
155
  "recipes/newrelic.rb",
150
156
  "test/active_record_fixtures.rb",
151
157
  "test/config/newrelic.yml",
@@ -268,6 +274,7 @@ http://github.com/newrelic/rpm/
268
274
  "vendor/gems/dependency_detection-0.0.1.build/LICENSE",
269
275
  "vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb",
270
276
  "vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb",
277
+ "vendor/gems/metric_parser-0.1.0.pre1/.specification",
271
278
  "vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb",
272
279
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb",
273
280
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb",
@@ -299,6 +306,7 @@ http://github.com/newrelic/rpm/
299
306
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb",
300
307
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb",
301
308
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb",
309
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_init.rb",
302
310
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb",
303
311
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb",
304
312
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb",
@@ -310,10 +318,11 @@ http://github.com/newrelic/rpm/
310
318
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb",
311
319
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb",
312
320
  "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb",
313
- "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb"
321
+ "vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb",
322
+ "newrelic_rpm.gemspec",
314
323
  ]
315
- s.homepage = %q{http://www.github.com/newrelic/rpm}
316
- s.post_install_message = %q{
324
+ s.homepage = "http://www.github.com/newrelic/rpm"
325
+ s.post_install_message = <<-EOS
317
326
  PLEASE NOTE:
318
327
 
319
328
  Developer Mode is now a Rack middleware.
@@ -324,36 +333,18 @@ Rack based framework, in addition to Rails. To install developer mode
324
333
  in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
325
334
  your middleware stack.
326
335
 
327
- If you are using JRuby, we recommend using at least version 1.4 or
336
+ If you are using JRuby, we recommend using at least version 1.4 or
328
337
  later because of issues with the implementation of the timeout library.
329
338
 
330
339
  Refer to the README.md file for more information.
331
340
 
332
341
  Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
333
342
  for a complete description of the features and enhancements available
334
- in version 3.5 of the Ruby Agent.
335
-
336
- }
343
+ in this version of the Ruby Agent.
344
+
345
+ EOS
337
346
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Agent"]
338
347
  s.require_paths = ["lib"]
348
+ s.rubygems_version = "1.8.23"
339
349
  s.summary = "New Relic Ruby Agent"
340
-
341
- if s.respond_to? :specification_version then
342
- s.specification_version = 3
343
-
344
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
345
- s.add_development_dependency(%q<jeweler>, [">= 0"])
346
- s.add_development_dependency(%q<mocha>, [">= 0"])
347
- s.add_development_dependency(%q<shoulda>, [">= 0"])
348
- else
349
- s.add_dependency(%q<jeweler>, [">= 0"])
350
- s.add_dependency(%q<mocha>, [">= 0"])
351
- s.add_dependency(%q<shoulda>, [">= 0"])
352
- end
353
- else
354
- s.add_dependency(%q<jeweler>, [">= 0"])
355
- s.add_dependency(%q<mocha>, [">= 0"])
356
- s.add_dependency(%q<shoulda>, [">= 0"])
357
- end
358
350
  end
359
-
@@ -0,0 +1,54 @@
1
+ #-*- coding: utf-8 -*-
2
+ # GITSHA: <%= `git rev-parse HEAD` %>
3
+ Gem::Specification.new do |s|
4
+ s.name = "newrelic_rpm"
5
+ s.version = "<%= version_string %>"
6
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
7
+ s.authors = [ "Jason Clark", "Sam Goldstein", "Jon Guymon" ]
8
+ s.date = "<%= date %>"
9
+ s.description = <<-EOS
10
+ New Relic is a performance management system, developed by New Relic,
11
+ Inc (http://www.newrelic.com). New Relic provides you with deep
12
+ information about the performance of your web application as it runs
13
+ in production. The New Relic Ruby Agent is dual-purposed as a either a
14
+ Gem or plugin, hosted on
15
+ http://github.com/newrelic/rpm/
16
+ EOS
17
+ s.email = "support@newrelic.com"
18
+ s.executables = [ "mongrel_rpm", "newrelic_cmd", "newrelic" ]
19
+ s.extra_rdoc_files = [
20
+ "CHANGELOG",
21
+ "LICENSE",
22
+ "README.rdoc",
23
+ "newrelic.yml"
24
+ ]
25
+ s.files = [<% files.each do |file| %>
26
+ "<%= file %>",<% end %>
27
+ ]
28
+ s.homepage = "http://www.github.com/newrelic/rpm"
29
+ s.post_install_message = <<-EOS
30
+ PLEASE NOTE:
31
+
32
+ Developer Mode is now a Rack middleware.
33
+
34
+ Developer Mode is no longer available in Rails 2.1 and earlier.
35
+ However, starting in version 2.12 you can use Developer Mode in any
36
+ Rack based framework, in addition to Rails. To install developer mode
37
+ in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
38
+ your middleware stack.
39
+
40
+ If you are using JRuby, we recommend using at least version 1.4 or
41
+ later because of issues with the implementation of the timeout library.
42
+
43
+ Refer to the README.md file for more information.
44
+
45
+ Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
46
+ for a complete description of the features and enhancements available
47
+ in this version of the Ruby Agent.
48
+
49
+ EOS
50
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Agent"]
51
+ s.require_paths = ["lib"]
52
+ s.rubygems_version = "<%= gem_version %>"
53
+ s.summary = "New Relic Ruby Agent"
54
+ end
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # It relies on 2 environment variables:
8
8
  #
9
- # RUBY - The rvm ruby you want to use (e.g. 1.8.7, ree, jruby)
9
+ # RUBY - The rbenv ruby you want to use (e.g. 1.8.7, ree, jruby)
10
10
  #
11
11
  # BRANCH - The rpm_test_app branch you want to use (e.g. rails20, rails31)
12
12
  #
@@ -29,7 +29,7 @@ set -e
29
29
  if [ "x$RUBY" == "x" ]; then
30
30
  echo '$RUBY is undefined'
31
31
  echo 'defaulting to 1.9.3'
32
- export RUBY=1.9.3
32
+ export RUBY=1.9.3-p286
33
33
  fi
34
34
  if [ "x$BRANCH" == "x" ]; then
35
35
  echo '$BRANCH is undefined'
@@ -47,9 +47,29 @@ else
47
47
  export PROJECT_NAME="$CLEANSED_NAME"
48
48
  fi
49
49
 
50
- . "$HOME/.rvm/scripts/rvm"
51
- rvm use $RUBY || rvm install $RUBY
50
+ eval "$(rbenv init -)" || true
51
+ rbenv shell $RUBY
52
+ if [ "x$(rbenv version-name)" = "x$RUBY" ]; then
53
+ echo "switched to ruby $RUBY"
54
+ else
55
+ rbenv install $RUBY
56
+ rbenv shell $RUBY
57
+ if [ "x$(rbenv version-name)" = "x$RUBY" ]; then
58
+ echo "switched to ruby $RUBY"
59
+ else
60
+ echo "failed to install ruby $RUBY"
61
+ exit 1
62
+ fi
63
+ fi
64
+
52
65
  echo `which ruby`
66
+ ruby -v
67
+
68
+ rake -h > /dev/null || gem install rake
69
+
70
+ echo "generating gemspec"
71
+ rake gemspec
72
+
53
73
 
54
74
  # make sure that we're in the project root
55
75
  script_dirname=`dirname $0`
@@ -70,7 +90,7 @@ rpm_test_app_cache=~/workspace/.rpm_test_app_cache
70
90
  )
71
91
 
72
92
  git clone $rpm_test_app_cache rpm_test_app
73
- cd rpm_test_app || true # rvm overrides cd and it's f-ing up the build by exiting 2
93
+ cd rpm_test_app
74
94
 
75
95
  git checkout -t origin/$BRANCH || git checkout $BRANCH
76
96
 
@@ -83,7 +103,7 @@ mysql: &mysql
83
103
  socket: <%= (`uname -s` =~ /Linux/ ) ? "" :"/tmp/mysql.sock" %>
84
104
  username: root
85
105
  host: localhost
86
- database: <%= [ 'rails_blog', ENV['BRANCH'], ENV['RUBY'], ENV['PROJECT_NAME'] ].compact.join('_') %>
106
+ database: <%= ENV['PROJECT_NAME'] %>
87
107
 
88
108
  # Shared properties for postgres. This won't work with our schema but
89
109
  # Does work with agent tests
@@ -97,7 +117,7 @@ sqlite3: &sqlite3
97
117
  pool: 5
98
118
  timeout: 5000
99
119
  host: localhost
100
-
120
+
101
121
  # SQLite version 3.x
102
122
  # gem install sqlite3-ruby (not necessary on OS X Leopard)
103
123
  development:
@@ -114,29 +134,25 @@ YAML
114
134
  mkdir -p log
115
135
  mkdir -p tmp
116
136
  if [ "x$BRANCH" == "xrails20" ]; then
117
- printf "\e[0;31;49mWarning:\e[0m "
118
- echo "Testing against the rails20 branch requires your changes to be committed. Uncommitted changes will not be used."
137
+ echo "Warning: Rails 2.0 support in progress. This probably only works in CI"
119
138
  mkdir -p vendor/plugins
120
- git clone ../.. vendor/plugins/newrelic_rpm
139
+ GEM=`ls ../../../*.gem | tail -n1`
140
+ (cd vendor/plugins && gem unpack ../../$GEM)
141
+ mv vendor/plugins/newrelic_rpm* vendor/plugins/newrelic_rpm
121
142
  else
122
143
  perl -p -i'.bak' -e 's#gem .newrelic_rpm.*$#gem "newrelic_rpm", :path => "\.\.\/\.\.\/"#' Gemfile
123
144
  fi
124
145
 
125
- # save time by reusing the gemset if it exists
126
-
127
- gemset=ruby_agent_tests_$BRANCH
128
- rvm gemset use $gemset || ( rvm gemset create $gemset && rvm gemset use $gemset )
129
-
130
146
  if [ "x$RUBY" == "x1.8.6" ]; then
131
147
  # Bundler 0.1 dropped support for ruby 1.8.6
132
- gem install bundler -v'~>1.0.0' --no-rdoc --no-ri
148
+ bundle -h > /dev/null || gem install bundler -v'~>1.0.0' --no-rdoc --no-ri
133
149
  else
134
- gem install bundler --no-rdoc --no-ri
150
+ bundle -h > /dev/null || gem install bundler --no-rdoc --no-ri
135
151
  fi
136
152
 
137
153
 
138
154
  export RAILS_ENV=test
139
- bundle
155
+ bundle --local || bundle
140
156
 
141
157
  # FIXME: Here we actually trigger the tests. Since the agent deals so heavily
142
158
  # in units of time we have many tests that assert that durations are measured
@@ -147,4 +163,5 @@ bundle
147
163
  # To reduce the noise from these sporardic failures we rerun the test suite if
148
164
  # there are failures to see if they are transient (instead of re-running it by
149
165
  # hand). Ultimately we'll move towards a more elegant solution.
166
+
150
167
  bundle exec rake --trace db:create:all test:newrelic || bundle exec rake --trace test:newrelic || bundle exec rake --trace test:newrelic
@@ -9,7 +9,7 @@ echo $PATH
9
9
 
10
10
 
11
11
  if [ "x$RUBY" == "x" ] ; then
12
- export RUBY=1.9.3
12
+ export RUBY=1.9.3
13
13
  fi
14
14
 
15
15
  echo "Tests will be run using $RUBY"
@@ -24,8 +24,8 @@ cd "$script_dirname/../../"
24
24
  #pwd
25
25
 
26
26
  if [ -x $SCRATH_DIR ] ; then
27
- echo "found tmp, deleting"
28
- rm -fr $SCRATH_DIR
27
+ echo "found tmp, deleting"
28
+ rm -fr $SCRATH_DIR
29
29
  fi
30
30
 
31
31
  mkdir $SCRATH_DIR
@@ -33,9 +33,9 @@ cd $SCRATH_DIR
33
33
 
34
34
  #pwd
35
35
  if [[ $JOB_NAME =~ "Pangalactic" ]] ; then
36
- AGENT_LOCATION="../../../../../../Ruby_Agent"
36
+ AGENT_LOCATION="../../../../../../Ruby_Agent"
37
37
  else
38
- AGENT_LOCATION="../../Ruby_Agent"
38
+ AGENT_LOCATION="../../Ruby_Agent"
39
39
  fi
40
40
 
41
41
  git clone --depth=1 git@github.com:newrelic/multiverse.git multiverse
@@ -46,10 +46,10 @@ echo "Looking for Ruby Agent at $AGENT_LOCATION"
46
46
  #ls -l /home/hudson/workspace/
47
47
 
48
48
  if [ -x $AGENT_LOCATION ] ; then
49
- ln -s $AGENT_LOCATION ./ruby_agent
49
+ ln -s $AGENT_LOCATION ./ruby_agent
50
50
  else
51
- echo "*********** Ruby_Agent not found ***********"
52
- exit 1
51
+ echo "*********** Ruby_Agent not found ***********"
52
+ exit 1
53
53
  fi
54
54
 
55
55
  cd multiverse
@@ -58,6 +58,6 @@ cd multiverse
58
58
  #pwd
59
59
  #ls -l ../
60
60
 
61
- source ~/.rvm/scripts/rvm
62
- rvm use $RUBY
63
- script/runner
61
+ eval "$(rbenv init -)" || true
62
+ rbenv shell $RUBY
63
+ script/runner
@@ -0,0 +1,116 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: metric_parser
3
+ version: !ruby/object:Gem::Version
4
+ hash: 270495464
5
+ prerelease: true
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ - pre1
11
+ version: 0.1.0.pre1
12
+ platform: ruby
13
+ authors:
14
+ - Justin George
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2010-08-12 00:00:00 +00:00
20
+ default_executable:
21
+ dependencies: []
22
+
23
+ description: A standard way to parse New Relic metric names
24
+ email:
25
+ - support@newrelic.com
26
+ executables: []
27
+
28
+ extensions: []
29
+
30
+ extra_rdoc_files: []
31
+
32
+ files:
33
+ - lib/metric_parser.rb
34
+ - lib/new_relic/metric_parser/action_mailer.rb
35
+ - lib/new_relic/metric_parser/active_merchant.rb
36
+ - lib/new_relic/metric_parser/active_record.rb
37
+ - lib/new_relic/metric_parser/apdex.rb
38
+ - lib/new_relic/metric_parser/background_transaction.rb
39
+ - lib/new_relic/metric_parser/client.rb
40
+ - lib/new_relic/metric_parser/controller.rb
41
+ - lib/new_relic/metric_parser/controller_cpu.rb
42
+ - lib/new_relic/metric_parser/controller_ext.rb
43
+ - lib/new_relic/metric_parser/database.rb
44
+ - lib/new_relic/metric_parser/database_pool.rb
45
+ - lib/new_relic/metric_parser/dot_net.rb
46
+ - lib/new_relic/metric_parser/dot_net_parser.rb
47
+ - lib/new_relic/metric_parser/errors.rb
48
+ - lib/new_relic/metric_parser/external.rb
49
+ - lib/new_relic/metric_parser/frontend.rb
50
+ - lib/new_relic/metric_parser/gc.rb
51
+ - lib/new_relic/metric_parser/hibernate_session.rb
52
+ - lib/new_relic/metric_parser/java.rb
53
+ - lib/new_relic/metric_parser/java_parser.rb
54
+ - lib/new_relic/metric_parser/jsp.rb
55
+ - lib/new_relic/metric_parser/jsp_tag.rb
56
+ - lib/new_relic/metric_parser/mem_cache.rb
57
+ - lib/new_relic/metric_parser/metric_parser.rb
58
+ - lib/new_relic/metric_parser/orm.rb
59
+ - lib/new_relic/metric_parser/other_transaction.rb
60
+ - lib/new_relic/metric_parser/servlet.rb
61
+ - lib/new_relic/metric_parser/servlet_context_listener.rb
62
+ - lib/new_relic/metric_parser/servlet_filter.rb
63
+ - lib/new_relic/metric_parser/servlet_init.rb
64
+ - lib/new_relic/metric_parser/solr.rb
65
+ - lib/new_relic/metric_parser/solr_request_handler.rb
66
+ - lib/new_relic/metric_parser/spring.rb
67
+ - lib/new_relic/metric_parser/spring_controller.rb
68
+ - lib/new_relic/metric_parser/spring_view.rb
69
+ - lib/new_relic/metric_parser/struts_action.rb
70
+ - lib/new_relic/metric_parser/struts_result.rb
71
+ - lib/new_relic/metric_parser/version.rb
72
+ - lib/new_relic/metric_parser/view.rb
73
+ - lib/new_relic/metric_parser/web_frontend.rb
74
+ - lib/new_relic/metric_parser/web_service.rb
75
+ - lib/new_relic/metric_parser/web_transaction.rb
76
+ - lib/new_relic/metric_parser.rb
77
+ - LICENSE
78
+ - README
79
+ has_rdoc: true
80
+ homepage: http://www.newrelic.com
81
+ licenses: []
82
+
83
+ post_install_message:
84
+ rdoc_options: []
85
+
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 3
94
+ segments:
95
+ - 0
96
+ version: "0"
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ hash: 31
103
+ segments:
104
+ - 1
105
+ - 2
106
+ - 0
107
+ version: 1.2.0
108
+ requirements: []
109
+
110
+ rubyforge_project:
111
+ rubygems_version: 1.3.7
112
+ signing_key:
113
+ specification_version: 3
114
+ summary: A standard way to parse New Relic metric names
115
+ test_files: []
116
+
@@ -0,0 +1,7 @@
1
+ require 'new_relic/metric_parser/java'
2
+ class NewRelic::MetricParser::ServletInit < NewRelic::MetricParser::Java
3
+
4
+ def call_rate_suffix
5
+ 'cpm'
6
+ end
7
+ end
metadata CHANGED
@@ -1,101 +1,59 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
- version: !ruby/object:Gem::Version
4
- hash: -2943348816
5
- prerelease: 6
6
- segments:
7
- - 3
8
- - 5
9
- - 1
10
- - beta
11
- - 1
12
- version: 3.5.1.beta1
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.5.1.14.beta
5
+ prerelease: 9
13
6
  platform: ruby
14
- authors:
15
- - Bill Kayser
7
+ authors:
8
+ - Jason Clark
9
+ - Sam Goldstein
16
10
  - Jon Guymon
17
- - Justin George
18
- - Darin Swanson
19
- - Rob Saul
20
11
  autorequire:
21
12
  bindir: bin
22
13
  cert_chain: []
14
+ date: 2012-11-13 00:00:00.000000000 Z
15
+ dependencies: []
16
+ description: ! 'New Relic is a performance management system, developed by New Relic,
23
17
 
24
- date: 2012-10-31 00:00:00 -07:00
25
- default_executable:
26
- dependencies:
27
- - !ruby/object:Gem::Dependency
28
- name: jeweler
29
- prerelease: false
30
- requirement: &id001 !ruby/object:Gem::Requirement
31
- none: false
32
- requirements:
33
- - - ">="
34
- - !ruby/object:Gem::Version
35
- hash: 3
36
- segments:
37
- - 0
38
- version: "0"
39
- type: :development
40
- version_requirements: *id001
41
- - !ruby/object:Gem::Dependency
42
- name: mocha
43
- prerelease: false
44
- requirement: &id002 !ruby/object:Gem::Requirement
45
- none: false
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- hash: 3
50
- segments:
51
- - 0
52
- version: "0"
53
- type: :development
54
- version_requirements: *id002
55
- - !ruby/object:Gem::Dependency
56
- name: shoulda
57
- prerelease: false
58
- requirement: &id003 !ruby/object:Gem::Requirement
59
- none: false
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- hash: 3
64
- segments:
65
- - 0
66
- version: "0"
67
- type: :development
68
- version_requirements: *id003
69
- description: |
70
- New Relic is a performance management system, developed by New Relic,
71
18
  Inc (http://www.newrelic.com). New Relic provides you with deep
19
+
72
20
  information about the performance of your web application as it runs
21
+
73
22
  in production. The New Relic Ruby Agent is dual-purposed as a either a
23
+
74
24
  Gem or plugin, hosted on
25
+
75
26
  http://github.com/newrelic/rpm/
76
27
 
28
+ '
77
29
  email: support@newrelic.com
78
- executables:
30
+ executables:
31
+ - mongrel_rpm
79
32
  - newrelic_cmd
80
33
  - newrelic
81
- - mongrel_rpm
82
34
  extensions: []
83
-
84
- extra_rdoc_files:
35
+ extra_rdoc_files:
85
36
  - CHANGELOG
86
37
  - LICENSE
87
38
  - README.rdoc
88
39
  - newrelic.yml
89
- files:
40
+ files:
41
+ - .gitignore
42
+ - .project
90
43
  - CHANGELOG
44
+ - Gemfile
45
+ - InstallationNotes.md
91
46
  - LICENSE
92
47
  - README.rdoc
48
+ - Rakefile
93
49
  - bin/mongrel_rpm
94
50
  - bin/newrelic
95
51
  - bin/newrelic_cmd
96
52
  - cert/cacert.pem
97
53
  - cert/oldsite.pem
98
54
  - cert/site.pem
55
+ - config.dot
56
+ - init.rb
99
57
  - install.rb
100
58
  - lib/conditional_vendored_dependency_detection.rb
101
59
  - lib/conditional_vendored_metric_parser.rb
@@ -207,7 +165,7 @@ files:
207
165
  - lib/tasks/install.rake
208
166
  - lib/tasks/tests.rake
209
167
  - newrelic.yml
210
- - newrelic_rpm.gemspec
168
+ - newrelic_rpm.gemspec.erb
211
169
  - recipes/newrelic.rb
212
170
  - test/active_record_fixtures.rb
213
171
  - test/config/newrelic.yml
@@ -330,6 +288,7 @@ files:
330
288
  - vendor/gems/dependency_detection-0.0.1.build/LICENSE
331
289
  - vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb
332
290
  - vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb
291
+ - vendor/gems/metric_parser-0.1.0.pre1/.specification
333
292
  - vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb
334
293
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb
335
294
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb
@@ -361,6 +320,7 @@ files:
361
320
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb
362
321
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb
363
322
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb
323
+ - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_init.rb
364
324
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb
365
325
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb
366
326
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb
@@ -373,65 +333,65 @@ files:
373
333
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
374
334
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb
375
335
  - vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb
376
- has_rdoc: true
336
+ - newrelic_rpm.gemspec
377
337
  homepage: http://www.github.com/newrelic/rpm
378
338
  licenses: []
339
+ post_install_message: ! 'PLEASE NOTE:
340
+
379
341
 
380
- post_install_message: |
381
-
382
- PLEASE NOTE:
383
-
384
342
  Developer Mode is now a Rack middleware.
385
-
343
+
344
+
386
345
  Developer Mode is no longer available in Rails 2.1 and earlier.
346
+
387
347
  However, starting in version 2.12 you can use Developer Mode in any
348
+
388
349
  Rack based framework, in addition to Rails. To install developer mode
350
+
389
351
  in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
352
+
390
353
  your middleware stack.
391
-
392
- If you are using JRuby, we recommend using at least version 1.4 or
354
+
355
+
356
+ If you are using JRuby, we recommend using at least version 1.4 or
357
+
393
358
  later because of issues with the implementation of the timeout library.
394
-
359
+
360
+
395
361
  Refer to the README.md file for more information.
396
-
362
+
363
+
397
364
  Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
365
+
398
366
  for a complete description of the features and enhancements available
399
- in version 3.5 of the Ruby Agent.
400
-
401
367
 
402
- rdoc_options:
368
+ in this version of the Ruby Agent.
369
+
370
+
371
+ '
372
+ rdoc_options:
403
373
  - --line-numbers
404
374
  - --inline-source
405
375
  - --title
406
376
  - New Relic Ruby Agent
407
- require_paths:
377
+ require_paths:
408
378
  - lib
409
- required_ruby_version: !ruby/object:Gem::Requirement
379
+ required_ruby_version: !ruby/object:Gem::Requirement
410
380
  none: false
411
- requirements:
412
- - - ">="
413
- - !ruby/object:Gem::Version
414
- hash: 3
415
- segments:
416
- - 0
417
- version: "0"
418
- required_rubygems_version: !ruby/object:Gem::Requirement
381
+ requirements:
382
+ - - ! '>='
383
+ - !ruby/object:Gem::Version
384
+ version: '0'
385
+ required_rubygems_version: !ruby/object:Gem::Requirement
419
386
  none: false
420
- requirements:
421
- - - ">"
422
- - !ruby/object:Gem::Version
423
- hash: 25
424
- segments:
425
- - 1
426
- - 3
427
- - 1
387
+ requirements:
388
+ - - ! '>'
389
+ - !ruby/object:Gem::Version
428
390
  version: 1.3.1
429
391
  requirements: []
430
-
431
392
  rubyforge_project:
432
- rubygems_version: 1.6.2
393
+ rubygems_version: 1.8.23
433
394
  signing_key:
434
395
  specification_version: 3
435
396
  summary: New Relic Ruby Agent
436
397
  test_files: []
437
-