newrelic_rpm 3.1.1.beta2 → 3.1.1.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.
- data/CHANGELOG +3 -0
- data/lib/new_relic/agent.rb +12 -7
- data/lib/new_relic/agent/agent.rb +1 -1
- data/lib/new_relic/agent/instrumentation/memcache.rb +2 -2
- data/lib/new_relic/control/configuration.rb +3 -0
- data/lib/new_relic/control/frameworks/rails.rb +20 -12
- data/lib/new_relic/control/logging_methods.rb +12 -7
- data/lib/new_relic/data_serialization.rb +11 -8
- data/lib/new_relic/version.rb +1 -1
- data/log/newrelic_agent.log +1 -0
- data/newrelic.yml +1 -1
- data/newrelic_rpm.gemspec +258 -257
- data/test/new_relic/agent/agent/start_test.rb +1 -1
- data/test/new_relic/agent/memcache_instrumentation_test.rb +28 -8
- data/test/new_relic/agent_test.rb +7 -0
- data/test/new_relic/collection_helper_test.rb +39 -35
- data/test/new_relic/control/configuration_test.rb +20 -6
- data/test/new_relic/control/logging_methods_test.rb +9 -8
- data/test/new_relic/data_serialization_test.rb +27 -11
- metadata +10 -9
data/CHANGELOG
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
v3.1.1
|
2
2
|
* Support for Rails 3.1 (thanks to Ben Hoskings via github)
|
3
3
|
* Support for Rubinius
|
4
|
+
* Fixed issues affecting some Delayed Job users where log files were not appearing
|
5
|
+
* Fixed an issue where some instrumentation might not get loaded in Rails apps * Fix for memcached cas method (thanks to anonymous contributor)
|
6
|
+
* Fix for logger deprecation warning (thanks to Jonathan del Strother via github)
|
4
7
|
|
5
8
|
v3.1.0
|
6
9
|
* Support for aggregating data from short-running
|
data/lib/new_relic/agent.rb
CHANGED
@@ -232,14 +232,19 @@ module NewRelic
|
|
232
232
|
# See also the complement to this method, #save_data - used when a
|
233
233
|
# process is shutting down
|
234
234
|
def load_data
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
235
|
+
if !NewRelic::Control.instance['disable_serialization']
|
236
|
+
NewRelic::DataSerialization.read_and_write_to_file do |old_data|
|
237
|
+
agent.merge_data_from(old_data)
|
238
|
+
nil # return nil so nothing is written to the file
|
239
|
+
end
|
240
|
+
NewRelic::DataSerialization.update_last_sent!
|
240
241
|
end
|
241
|
-
|
242
|
-
|
242
|
+
|
243
|
+
{
|
244
|
+
:metrics => agent.stats_engine.metrics.length,
|
245
|
+
:traces => agent.unsent_traces_size,
|
246
|
+
:errors => agent.unsent_errors_size
|
247
|
+
}
|
243
248
|
end
|
244
249
|
|
245
250
|
# Add instrumentation files to the agent. The argument should be
|
@@ -441,7 +441,7 @@ module NewRelic
|
|
441
441
|
def notify_log_file_location
|
442
442
|
log_file = NewRelic::Control.instance.log_file
|
443
443
|
log_if(File.exists?(log_file.to_s), :info,
|
444
|
-
"Agent Log
|
444
|
+
"Agent Log at #{log_file}")
|
445
445
|
end
|
446
446
|
|
447
447
|
# Classy logging of the agent version and the current pid,
|
@@ -13,13 +13,13 @@ module NewRelic
|
|
13
13
|
def instrument_method(the_class, method_name)
|
14
14
|
return unless the_class.method_defined? method_name.to_sym
|
15
15
|
the_class.class_eval <<-EOD
|
16
|
-
def #{method_name}_with_newrelic_trace(*args)
|
16
|
+
def #{method_name}_with_newrelic_trace(*args, &block)
|
17
17
|
metrics = ["MemCache/#{method_name}",
|
18
18
|
(NewRelic::Agent::Instrumentation::MetricFrame.recording_web_transaction? ? 'MemCache/allWeb' : 'MemCache/allOther')]
|
19
19
|
self.class.trace_execution_scoped(metrics) do
|
20
20
|
t0 = Time.now
|
21
21
|
begin
|
22
|
-
#{method_name}_without_newrelic_trace(*args)
|
22
|
+
#{method_name}_without_newrelic_trace(*args, &block)
|
23
23
|
ensure
|
24
24
|
#{memcache_key_snippet(method_name)}
|
25
25
|
end
|
@@ -17,11 +17,27 @@ module NewRelic
|
|
17
17
|
super
|
18
18
|
end
|
19
19
|
end
|
20
|
+
def logger
|
21
|
+
::RAILS_DEFAULT_LOGGER
|
22
|
+
end
|
20
23
|
|
21
24
|
# In versions of Rails prior to 2.0, the rails config was only available to
|
22
|
-
# the init.rb, so it had to be passed on from there.
|
25
|
+
# the init.rb, so it had to be passed on from there. This is a best effort to
|
26
|
+
# find a config and use that.
|
23
27
|
def init_config(options={})
|
24
|
-
rails_config=options[:config]
|
28
|
+
rails_config = options[:config]
|
29
|
+
if !rails_config && defined?(::Rails) && ::Rails.respond_to?(:configuration)
|
30
|
+
rails_config = ::Rails.configuration
|
31
|
+
end
|
32
|
+
# Install the dependency detection,
|
33
|
+
if rails_config && ::Rails.configuration.respond_to?(:after_initialize)
|
34
|
+
rails_config.after_initialize do
|
35
|
+
# This will insure we load all the instrumentation as late as possible. If the agent
|
36
|
+
# is not enabled, it will load a limited amount of instrumentation. See
|
37
|
+
# delayed_job_injection.rb
|
38
|
+
DependencyDetection.detect!
|
39
|
+
end
|
40
|
+
end
|
25
41
|
if !agent_enabled?
|
26
42
|
# Might not be running if it does not think mongrel, thin, passenger, etc
|
27
43
|
# is running, if it things it's a rake task, or if the agent_enabled is false.
|
@@ -71,13 +87,13 @@ module NewRelic
|
|
71
87
|
|
72
88
|
def log!(msg, level=:info)
|
73
89
|
super unless should_log?
|
74
|
-
|
90
|
+
logger.send(level, msg)
|
75
91
|
rescue Exception => e
|
76
92
|
super
|
77
93
|
end
|
78
94
|
|
79
95
|
def to_stdout(message)
|
80
|
-
|
96
|
+
logger.info(message)
|
81
97
|
rescue Exception => e
|
82
98
|
super
|
83
99
|
end
|
@@ -137,14 +153,6 @@ module NewRelic
|
|
137
153
|
}
|
138
154
|
end
|
139
155
|
|
140
|
-
def _install_instrumentation
|
141
|
-
super
|
142
|
-
if defined?(::Rails) && ::Rails.respond_to?(:configuration) && ::Rails.configuration.respond_to?(:after_initialize)
|
143
|
-
::Rails.configuration.after_initialize do
|
144
|
-
DependencyDetection.detect!
|
145
|
-
end
|
146
|
-
end
|
147
|
-
end
|
148
156
|
end
|
149
157
|
end
|
150
158
|
end
|
@@ -83,16 +83,21 @@ module NewRelic
|
|
83
83
|
STDOUT.puts "** [NewRelic] " + msg
|
84
84
|
end
|
85
85
|
|
86
|
-
#
|
87
|
-
#does not exist. this comes from the configuration variable
|
88
|
-
#'log_file_path' in the configuration file.
|
86
|
+
# Sets up and caches the log path, attempting to create it if it
|
87
|
+
# does not exist. this comes from the configuration variable
|
88
|
+
# 'log_file_path' in the configuration file.
|
89
89
|
def log_path
|
90
90
|
return @log_path if @log_path
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
path_setting = fetch('log_file_path', 'log')
|
92
|
+
for abs_path in [ File.expand_path(path_setting),
|
93
|
+
File.expand_path(File.join(root, path_setting)) ] do
|
94
|
+
if File.directory?(abs_path) || (Dir.mkdir(abs_path) rescue nil)
|
95
|
+
@log_path = abs_path[%r{^(.*?)/?$}]
|
96
|
+
break
|
97
|
+
end
|
94
98
|
end
|
95
|
-
@log_path
|
99
|
+
log!("Error creating log directory for New Relic log file: '#{abs_path}'", :error) unless @log_path
|
100
|
+
@log_path ||= path_setting
|
96
101
|
end
|
97
102
|
|
98
103
|
# Retrieves the log file's name from the config file option
|
@@ -9,11 +9,10 @@ module NewRelic
|
|
9
9
|
# right away. If not, we presumably store it for later sending
|
10
10
|
# (handled elsewhere)
|
11
11
|
def should_send_data?
|
12
|
-
|
13
|
-
rescue
|
14
|
-
|
15
|
-
|
16
|
-
# time we think we might want to send data.
|
12
|
+
NewRelic::Control.instance.disable_serialization? || store_too_large? || store_too_old? || semaphore_too_old?
|
13
|
+
rescue Exception => e
|
14
|
+
NewRelic::Control.instance.disable_serialization = true
|
15
|
+
NewRelic::Control.instance.log.warn("Disabling serialization: #{e.message}")
|
17
16
|
true
|
18
17
|
end
|
19
18
|
|
@@ -26,12 +25,16 @@ module NewRelic
|
|
26
25
|
f.truncate(0)
|
27
26
|
write_contents_nonblockingly(f, dump(result)) if result
|
28
27
|
end
|
28
|
+
rescue Errno::ENOENT => e
|
29
|
+
NewRelic::Control.instance.log.warn(e.message)
|
29
30
|
end
|
30
31
|
|
31
32
|
# touches the age file that determines whether we should send
|
32
33
|
# data now or not
|
33
34
|
def update_last_sent!
|
34
35
|
FileUtils.touch(semaphore_path)
|
36
|
+
rescue Errno::ENOENT => e
|
37
|
+
NewRelic::Control.instance.log.warn(e.message)
|
35
38
|
end
|
36
39
|
|
37
40
|
private
|
@@ -94,7 +97,7 @@ module NewRelic
|
|
94
97
|
|
95
98
|
def write_contents_nonblockingly(f, string)
|
96
99
|
result = 0
|
97
|
-
while(result < string.length)
|
100
|
+
while (result < string.length)
|
98
101
|
result += f.write_nonblock(string)
|
99
102
|
end
|
100
103
|
rescue Errno::EAGAIN, Errno::EINTR
|
@@ -140,11 +143,11 @@ module NewRelic
|
|
140
143
|
end
|
141
144
|
|
142
145
|
def file_path
|
143
|
-
"#{NewRelic::Control.instance.
|
146
|
+
"#{NewRelic::Control.instance.log_path}/newrelic_agent_store.db"
|
144
147
|
end
|
145
148
|
|
146
149
|
def semaphore_path
|
147
|
-
"#{NewRelic::Control.instance.
|
150
|
+
"#{NewRelic::Control.instance.log_path}/newrelic_agent_store.age"
|
148
151
|
end
|
149
152
|
end
|
150
153
|
extend ClassMethods
|
data/lib/new_relic/version.rb
CHANGED
@@ -4,7 +4,7 @@ module NewRelic
|
|
4
4
|
MAJOR = 3
|
5
5
|
MINOR = 1
|
6
6
|
TINY = 1
|
7
|
-
BUILD = '
|
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
|
|
@@ -0,0 +1 @@
|
|
1
|
+
# Logfile created on Wed Jul 13 16:08:03 -0700 2011 by logger.rb
|
data/newrelic.yml
CHANGED
@@ -63,7 +63,7 @@ common: &default_settings
|
|
63
63
|
# root directory (may be relative or absolute, e.g. 'log/' or
|
64
64
|
# '/var/log/') The agent will attempt to create this directory if it
|
65
65
|
# does not exist.
|
66
|
-
# log_file_path: 'log
|
66
|
+
# log_file_path: 'log'
|
67
67
|
|
68
68
|
# Optionally set the name of the log file, defaults to 'newrelic_agent.log'
|
69
69
|
# log_file_name: 'newrelic_agent.log'
|
data/newrelic_rpm.gemspec
CHANGED
@@ -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
|
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 = "3.1.1.
|
8
|
+
s.version = "3.1.1.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", "Jon Guymon", "Justin George", "Darin Swanson"]
|
12
|
-
s.date = %q{2011-07-
|
12
|
+
s.date = %q{2011-07-13}
|
13
13
|
s.description = %q{New Relic is a performance management system, developed by New Relic,
|
14
14
|
Inc (http://www.newrelic.com). New Relic provides you with deep
|
15
15
|
information about the performance of your web application as it runs
|
@@ -18,264 +18,265 @@ Gem or plugin, hosted on
|
|
18
18
|
http://github.com/newrelic/rpm/
|
19
19
|
}
|
20
20
|
s.email = %q{support@newrelic.com}
|
21
|
-
s.executables = ["
|
21
|
+
s.executables = ["newrelic_cmd", "newrelic", "mongrel_rpm"]
|
22
22
|
s.extra_rdoc_files = [
|
23
23
|
"CHANGELOG",
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
"LICENSE",
|
25
|
+
"README.rdoc",
|
26
|
+
"newrelic.yml"
|
27
27
|
]
|
28
28
|
s.files = [
|
29
29
|
"CHANGELOG",
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
30
|
+
"LICENSE",
|
31
|
+
"README.rdoc",
|
32
|
+
"bin/mongrel_rpm",
|
33
|
+
"bin/newrelic",
|
34
|
+
"bin/newrelic_cmd",
|
35
|
+
"cert/cacert.pem",
|
36
|
+
"cert/oldsite.pem",
|
37
|
+
"cert/site.pem",
|
38
|
+
"install.rb",
|
39
|
+
"lib/conditional_vendored_dependency_detection.rb",
|
40
|
+
"lib/conditional_vendored_metric_parser.rb",
|
41
|
+
"lib/new_relic/agent.rb",
|
42
|
+
"lib/new_relic/agent/agent.rb",
|
43
|
+
"lib/new_relic/agent/beacon_configuration.rb",
|
44
|
+
"lib/new_relic/agent/browser_monitoring.rb",
|
45
|
+
"lib/new_relic/agent/busy_calculator.rb",
|
46
|
+
"lib/new_relic/agent/chained_call.rb",
|
47
|
+
"lib/new_relic/agent/error_collector.rb",
|
48
|
+
"lib/new_relic/agent/instrumentation.rb",
|
49
|
+
"lib/new_relic/agent/instrumentation/active_merchant.rb",
|
50
|
+
"lib/new_relic/agent/instrumentation/acts_as_solr.rb",
|
51
|
+
"lib/new_relic/agent/instrumentation/authlogic.rb",
|
52
|
+
"lib/new_relic/agent/instrumentation/controller_instrumentation.rb",
|
53
|
+
"lib/new_relic/agent/instrumentation/data_mapper.rb",
|
54
|
+
"lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb",
|
55
|
+
"lib/new_relic/agent/instrumentation/memcache.rb",
|
56
|
+
"lib/new_relic/agent/instrumentation/merb/controller.rb",
|
57
|
+
"lib/new_relic/agent/instrumentation/merb/errors.rb",
|
58
|
+
"lib/new_relic/agent/instrumentation/metric_frame.rb",
|
59
|
+
"lib/new_relic/agent/instrumentation/metric_frame/pop.rb",
|
60
|
+
"lib/new_relic/agent/instrumentation/net.rb",
|
61
|
+
"lib/new_relic/agent/instrumentation/passenger_instrumentation.rb",
|
62
|
+
"lib/new_relic/agent/instrumentation/queue_time.rb",
|
63
|
+
"lib/new_relic/agent/instrumentation/rack.rb",
|
64
|
+
"lib/new_relic/agent/instrumentation/rails/action_controller.rb",
|
65
|
+
"lib/new_relic/agent/instrumentation/rails/action_web_service.rb",
|
66
|
+
"lib/new_relic/agent/instrumentation/rails/active_record_instrumentation.rb",
|
67
|
+
"lib/new_relic/agent/instrumentation/rails/errors.rb",
|
68
|
+
"lib/new_relic/agent/instrumentation/rails3/action_controller.rb",
|
69
|
+
"lib/new_relic/agent/instrumentation/rails3/active_record_instrumentation.rb",
|
70
|
+
"lib/new_relic/agent/instrumentation/rails3/errors.rb",
|
71
|
+
"lib/new_relic/agent/instrumentation/sinatra.rb",
|
72
|
+
"lib/new_relic/agent/instrumentation/sunspot.rb",
|
73
|
+
"lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb",
|
74
|
+
"lib/new_relic/agent/method_tracer.rb",
|
75
|
+
"lib/new_relic/agent/sampler.rb",
|
76
|
+
"lib/new_relic/agent/samplers/cpu_sampler.rb",
|
77
|
+
"lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb",
|
78
|
+
"lib/new_relic/agent/samplers/memory_sampler.rb",
|
79
|
+
"lib/new_relic/agent/samplers/object_sampler.rb",
|
80
|
+
"lib/new_relic/agent/shim_agent.rb",
|
81
|
+
"lib/new_relic/agent/stats_engine.rb",
|
82
|
+
"lib/new_relic/agent/stats_engine/metric_stats.rb",
|
83
|
+
"lib/new_relic/agent/stats_engine/samplers.rb",
|
84
|
+
"lib/new_relic/agent/stats_engine/transactions.rb",
|
85
|
+
"lib/new_relic/agent/transaction_sample_builder.rb",
|
86
|
+
"lib/new_relic/agent/transaction_sampler.rb",
|
87
|
+
"lib/new_relic/agent/worker_loop.rb",
|
88
|
+
"lib/new_relic/collection_helper.rb",
|
89
|
+
"lib/new_relic/command.rb",
|
90
|
+
"lib/new_relic/commands/deployments.rb",
|
91
|
+
"lib/new_relic/commands/install.rb",
|
92
|
+
"lib/new_relic/control.rb",
|
93
|
+
"lib/new_relic/control/class_methods.rb",
|
94
|
+
"lib/new_relic/control/configuration.rb",
|
95
|
+
"lib/new_relic/control/frameworks.rb",
|
96
|
+
"lib/new_relic/control/frameworks/external.rb",
|
97
|
+
"lib/new_relic/control/frameworks/merb.rb",
|
98
|
+
"lib/new_relic/control/frameworks/rails.rb",
|
99
|
+
"lib/new_relic/control/frameworks/rails3.rb",
|
100
|
+
"lib/new_relic/control/frameworks/ruby.rb",
|
101
|
+
"lib/new_relic/control/frameworks/sinatra.rb",
|
102
|
+
"lib/new_relic/control/instance_methods.rb",
|
103
|
+
"lib/new_relic/control/instrumentation.rb",
|
104
|
+
"lib/new_relic/control/logging_methods.rb",
|
105
|
+
"lib/new_relic/control/profiling.rb",
|
106
|
+
"lib/new_relic/control/server_methods.rb",
|
107
|
+
"lib/new_relic/data_serialization.rb",
|
108
|
+
"lib/new_relic/delayed_job_injection.rb",
|
109
|
+
"lib/new_relic/local_environment.rb",
|
110
|
+
"lib/new_relic/merbtasks.rb",
|
111
|
+
"lib/new_relic/metric_data.rb",
|
112
|
+
"lib/new_relic/metric_spec.rb",
|
113
|
+
"lib/new_relic/metrics.rb",
|
114
|
+
"lib/new_relic/noticed_error.rb",
|
115
|
+
"lib/new_relic/rack/browser_monitoring.rb",
|
116
|
+
"lib/new_relic/rack/developer_mode.rb",
|
117
|
+
"lib/new_relic/recipes.rb",
|
118
|
+
"lib/new_relic/stats.rb",
|
119
|
+
"lib/new_relic/timer_lib.rb",
|
120
|
+
"lib/new_relic/transaction_analysis.rb",
|
121
|
+
"lib/new_relic/transaction_analysis/segment_summary.rb",
|
122
|
+
"lib/new_relic/transaction_sample.rb",
|
123
|
+
"lib/new_relic/transaction_sample/composite_segment.rb",
|
124
|
+
"lib/new_relic/transaction_sample/fake_segment.rb",
|
125
|
+
"lib/new_relic/transaction_sample/segment.rb",
|
126
|
+
"lib/new_relic/transaction_sample/summary_segment.rb",
|
127
|
+
"lib/new_relic/url_rule.rb",
|
128
|
+
"lib/new_relic/version.rb",
|
129
|
+
"lib/newrelic_rpm.rb",
|
130
|
+
"lib/tasks/all.rb",
|
131
|
+
"lib/tasks/install.rake",
|
132
|
+
"lib/tasks/tests.rake",
|
133
|
+
"log/newrelic_agent.log",
|
134
|
+
"newrelic.yml",
|
135
|
+
"newrelic_rpm.gemspec",
|
136
|
+
"recipes/newrelic.rb",
|
137
|
+
"test/active_record_fixtures.rb",
|
138
|
+
"test/config/newrelic.yml",
|
139
|
+
"test/config/test_control.rb",
|
140
|
+
"test/new_relic/agent/agent/connect_test.rb",
|
141
|
+
"test/new_relic/agent/agent/start_test.rb",
|
142
|
+
"test/new_relic/agent/agent/start_worker_thread_test.rb",
|
143
|
+
"test/new_relic/agent/agent_test.rb",
|
144
|
+
"test/new_relic/agent/agent_test_controller.rb",
|
145
|
+
"test/new_relic/agent/agent_test_controller_test.rb",
|
146
|
+
"test/new_relic/agent/apdex_from_server_test.rb",
|
147
|
+
"test/new_relic/agent/beacon_configuration_test.rb",
|
148
|
+
"test/new_relic/agent/browser_monitoring_test.rb",
|
149
|
+
"test/new_relic/agent/busy_calculator_test.rb",
|
150
|
+
"test/new_relic/agent/error_collector/notice_error_test.rb",
|
151
|
+
"test/new_relic/agent/error_collector_test.rb",
|
152
|
+
"test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb",
|
153
|
+
"test/new_relic/agent/instrumentation/controller_instrumentation_test.rb",
|
154
|
+
"test/new_relic/agent/instrumentation/instrumentation_test.rb",
|
155
|
+
"test/new_relic/agent/instrumentation/metric_frame/pop_test.rb",
|
156
|
+
"test/new_relic/agent/instrumentation/metric_frame_test.rb",
|
157
|
+
"test/new_relic/agent/instrumentation/net_instrumentation_test.rb",
|
158
|
+
"test/new_relic/agent/instrumentation/queue_time_test.rb",
|
159
|
+
"test/new_relic/agent/instrumentation/rack_test.rb",
|
160
|
+
"test/new_relic/agent/instrumentation/task_instrumentation_test.rb",
|
161
|
+
"test/new_relic/agent/memcache_instrumentation_test.rb",
|
162
|
+
"test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb",
|
163
|
+
"test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb",
|
164
|
+
"test/new_relic/agent/method_tracer_test.rb",
|
165
|
+
"test/new_relic/agent/mock_scope_listener.rb",
|
166
|
+
"test/new_relic/agent/rpm_agent_test.rb",
|
167
|
+
"test/new_relic/agent/sampler_test.rb",
|
168
|
+
"test/new_relic/agent/shim_agent_test.rb",
|
169
|
+
"test/new_relic/agent/stats_engine/metric_stats/harvest_test.rb",
|
170
|
+
"test/new_relic/agent/stats_engine/metric_stats_test.rb",
|
171
|
+
"test/new_relic/agent/stats_engine/samplers_test.rb",
|
172
|
+
"test/new_relic/agent/stats_engine_test.rb",
|
173
|
+
"test/new_relic/agent/transaction_sample_builder_test.rb",
|
174
|
+
"test/new_relic/agent/transaction_sampler_test.rb",
|
175
|
+
"test/new_relic/agent/worker_loop_test.rb",
|
176
|
+
"test/new_relic/agent_test.rb",
|
177
|
+
"test/new_relic/collection_helper_test.rb",
|
178
|
+
"test/new_relic/command/deployments_test.rb",
|
179
|
+
"test/new_relic/control/class_methods_test.rb",
|
180
|
+
"test/new_relic/control/configuration_test.rb",
|
181
|
+
"test/new_relic/control/logging_methods_test.rb",
|
182
|
+
"test/new_relic/control_test.rb",
|
183
|
+
"test/new_relic/data_serialization_test.rb",
|
184
|
+
"test/new_relic/delayed_job_injection_test.rb",
|
185
|
+
"test/new_relic/local_environment_test.rb",
|
186
|
+
"test/new_relic/metric_data_test.rb",
|
187
|
+
"test/new_relic/metric_spec_test.rb",
|
188
|
+
"test/new_relic/rack/all_test.rb",
|
189
|
+
"test/new_relic/rack/browser_monitoring_test.rb",
|
190
|
+
"test/new_relic/rack/developer_mode_test.rb",
|
191
|
+
"test/new_relic/stats_test.rb",
|
192
|
+
"test/new_relic/transaction_analysis/segment_summary_test.rb",
|
193
|
+
"test/new_relic/transaction_analysis_test.rb",
|
194
|
+
"test/new_relic/transaction_sample/composite_segment_test.rb",
|
195
|
+
"test/new_relic/transaction_sample/fake_segment_test.rb",
|
196
|
+
"test/new_relic/transaction_sample/segment_test.rb",
|
197
|
+
"test/new_relic/transaction_sample/summary_segment_test.rb",
|
198
|
+
"test/new_relic/transaction_sample_subtest_test.rb",
|
199
|
+
"test/new_relic/transaction_sample_test.rb",
|
200
|
+
"test/new_relic/version_number_test.rb",
|
201
|
+
"test/test_contexts.rb",
|
202
|
+
"test/test_helper.rb",
|
203
|
+
"ui/helpers/developer_mode_helper.rb",
|
204
|
+
"ui/helpers/google_pie_chart.rb",
|
205
|
+
"ui/views/layouts/newrelic_default.rhtml",
|
206
|
+
"ui/views/newrelic/_explain_plans.rhtml",
|
207
|
+
"ui/views/newrelic/_sample.rhtml",
|
208
|
+
"ui/views/newrelic/_segment.rhtml",
|
209
|
+
"ui/views/newrelic/_segment_limit_message.rhtml",
|
210
|
+
"ui/views/newrelic/_segment_row.rhtml",
|
211
|
+
"ui/views/newrelic/_show_sample_detail.rhtml",
|
212
|
+
"ui/views/newrelic/_show_sample_sql.rhtml",
|
213
|
+
"ui/views/newrelic/_show_sample_summary.rhtml",
|
214
|
+
"ui/views/newrelic/_sql_row.rhtml",
|
215
|
+
"ui/views/newrelic/_stack_trace.rhtml",
|
216
|
+
"ui/views/newrelic/_table.rhtml",
|
217
|
+
"ui/views/newrelic/explain_sql.rhtml",
|
218
|
+
"ui/views/newrelic/file/images/arrow-close.png",
|
219
|
+
"ui/views/newrelic/file/images/arrow-open.png",
|
220
|
+
"ui/views/newrelic/file/images/blue_bar.gif",
|
221
|
+
"ui/views/newrelic/file/images/file_icon.png",
|
222
|
+
"ui/views/newrelic/file/images/gray_bar.gif",
|
223
|
+
"ui/views/newrelic/file/images/new-relic-rpm-desktop.gif",
|
224
|
+
"ui/views/newrelic/file/images/new_relic_rpm_desktop.gif",
|
225
|
+
"ui/views/newrelic/file/images/textmate.png",
|
226
|
+
"ui/views/newrelic/file/javascript/jquery-1.4.2.js",
|
227
|
+
"ui/views/newrelic/file/javascript/transaction_sample.js",
|
228
|
+
"ui/views/newrelic/file/stylesheets/style.css",
|
229
|
+
"ui/views/newrelic/index.rhtml",
|
230
|
+
"ui/views/newrelic/sample_not_found.rhtml",
|
231
|
+
"ui/views/newrelic/show_sample.rhtml",
|
232
|
+
"ui/views/newrelic/show_source.rhtml",
|
233
|
+
"ui/views/newrelic/threads.rhtml",
|
234
|
+
"vendor/gems/dependency_detection-0.0.1.build/LICENSE",
|
235
|
+
"vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb",
|
236
|
+
"vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb",
|
237
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb",
|
238
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb",
|
239
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb",
|
240
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb",
|
241
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb",
|
242
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb",
|
243
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb",
|
244
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb",
|
245
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb",
|
246
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb",
|
247
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb",
|
248
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb",
|
249
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb",
|
250
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb",
|
251
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb",
|
252
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb",
|
253
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb",
|
254
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb",
|
255
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb",
|
256
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb",
|
257
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb",
|
258
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb",
|
259
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb",
|
260
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb",
|
261
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb",
|
262
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb",
|
263
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb",
|
264
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb",
|
265
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb",
|
266
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb",
|
267
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb",
|
268
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb",
|
269
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb",
|
270
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb",
|
271
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb",
|
272
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb",
|
273
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb",
|
274
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb",
|
275
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb",
|
276
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb",
|
277
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb",
|
278
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb",
|
279
|
+
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb"
|
279
280
|
]
|
280
281
|
s.homepage = %q{http://www.github.com/newrelic/rpm}
|
281
282
|
s.post_install_message = %q{
|
@@ -299,7 +300,7 @@ for a complete description of the features and enhancements available
|
|
299
300
|
in version 3.1 of the Ruby Agent.
|
300
301
|
|
301
302
|
}
|
302
|
-
s.rdoc_options = ["--
|
303
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Agent"]
|
303
304
|
s.require_paths = ["lib"]
|
304
305
|
s.rubygems_version = %q{1.3.6}
|
305
306
|
s.summary = %q{New Relic Ruby Agent}
|