newrelic_rpm 3.3.0.beta1 → 3.3.0
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 +4 -0
- data/LICENSE +29 -2
- data/README.rdoc +2 -2
- data/lib/new_relic/agent/beacon_configuration.rb +8 -1
- data/lib/new_relic/agent/sql_sampler.rb +3 -2
- data/lib/new_relic/version.rb +1 -1
- data/newrelic.yml +1 -1
- data/newrelic_rpm.gemspec +12 -38
- data/test/new_relic/agent/browser_monitoring_test.rb +6 -0
- data/test/new_relic/agent/sql_sampler_test.rb +12 -0
- metadata +339 -320
data/CHANGELOG
CHANGED
@@ -5,6 +5,10 @@ v3.3.0
|
|
5
5
|
* fix to help cope with malformed rack responses
|
6
6
|
* do not try to instrument versions of ActiveMerchant that are too old
|
7
7
|
|
8
|
+
v3.2.0.1
|
9
|
+
* Updated LICENSE
|
10
|
+
* Updated links to support docs
|
11
|
+
|
8
12
|
v3.2.0
|
9
13
|
* Fix over-detection of mongrel and unicorn and only start the agent when
|
10
14
|
actual server is running
|
data/LICENSE
CHANGED
@@ -1,4 +1,31 @@
|
|
1
|
-
|
1
|
+
This product includes jquery written by John Resig
|
2
|
+
and distributed under an MIT license.
|
3
|
+
See https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt
|
4
|
+
|
5
|
+
Copyright (c) 2011 John Resig, http://jquery.com/
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
8
|
+
a copy of this software and associated documentation files (the
|
9
|
+
"Software"), to deal in the Software without restriction, including
|
10
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
11
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
12
|
+
permit persons to whom the Software is furnished to do so, subject to
|
13
|
+
the following conditions:
|
14
|
+
|
15
|
+
The above copyright notice and this permission notice shall be
|
16
|
+
included in all copies or substantial portions of the Software.
|
17
|
+
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
19
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
20
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
21
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
22
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
23
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
24
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
25
|
+
|
26
|
+
|
27
|
+
All other components of this product are
|
28
|
+
Copyright (c) 2008-2011 New Relic, Inc. All rights reserved.
|
2
29
|
|
3
30
|
Certain inventions disclosed in this file may be claimed within
|
4
31
|
patents owned or patent applications filed by New Relic, Inc. or third
|
@@ -34,4 +61,4 @@ FITNESS FOR A PARTICULAR PURPOSE, TITLE, or NON-INFRINGEMENT. As a
|
|
34
61
|
condition to your use of these files, you are solely responsible for
|
35
62
|
such use. New Relic will have no liability to you for direct,
|
36
63
|
indirect, consequential, incidental, special, or punitive damages or
|
37
|
-
for lost profits or data.
|
64
|
+
for lost profits or data.
|
data/README.rdoc
CHANGED
@@ -163,7 +163,7 @@ online. Refer to instructions in *Getting Started*, below.
|
|
163
163
|
= Support
|
164
164
|
|
165
165
|
Reach out to us--and to fellow users--at
|
166
|
-
support.newrelic.com[http://support.newrelic.com/
|
166
|
+
support.newrelic.com[http://support.newrelic.com/].
|
167
167
|
There you'll find documentation, FAQs, and forums where you can submit
|
168
168
|
suggestions and discuss New Relic with staff and other users.
|
169
169
|
|
@@ -171,7 +171,7 @@ Also available is community support on IRC: we generally use #newrelic
|
|
171
171
|
on irc.freenode.net
|
172
172
|
|
173
173
|
Find a bug? E-mail support@newrelic.com, or post it to
|
174
|
-
support.newrelic.com[http://support.newrelic.com/
|
174
|
+
support.newrelic.com[http://support.newrelic.com/].
|
175
175
|
|
176
176
|
Thank you, and may your application scale to infinity plus one.
|
177
177
|
|
@@ -33,7 +33,14 @@ module NewRelic
|
|
33
33
|
|
34
34
|
# RUM footer command used for 'finish' - based on whether JSONP is
|
35
35
|
# being used. 'nrfj' for JSONP, otherwise 'nrf2'
|
36
|
-
|
36
|
+
def finish_command
|
37
|
+
if NewRelic::Control.instance.fetch('browser_monitoring', {}) \
|
38
|
+
.fetch('auto_instrument', true)
|
39
|
+
@finish_command
|
40
|
+
else
|
41
|
+
'nrf2'
|
42
|
+
end
|
43
|
+
end
|
37
44
|
|
38
45
|
# A static javascript header that is identical for every account
|
39
46
|
# and application
|
@@ -46,8 +46,9 @@ module NewRelic
|
|
46
46
|
|
47
47
|
def config
|
48
48
|
control = NewRelic::Control.instance
|
49
|
-
|
50
|
-
|
49
|
+
# Default slow_sql config values to transaction tracer config
|
50
|
+
control.fetch('transaction_tracer', {}).
|
51
|
+
merge( control.fetch('slow_sql', {}) )
|
51
52
|
end
|
52
53
|
|
53
54
|
# Enable the sql sampler - this also registers it with
|
data/lib/new_relic/version.rb
CHANGED
@@ -4,7 +4,7 @@ module NewRelic
|
|
4
4
|
MAJOR = 3
|
5
5
|
MINOR = 3
|
6
6
|
TINY = 0
|
7
|
-
BUILD =
|
7
|
+
BUILD = nil # 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
|
|
data/newrelic.yml
CHANGED
@@ -96,7 +96,7 @@ common: &default_settings
|
|
96
96
|
# as Tolerating transactions; and more than four times the apdex_t
|
97
97
|
# value as Frustrating transactions.
|
98
98
|
# For more about the Apdex standard, see
|
99
|
-
# http://
|
99
|
+
# http://newrelic.com/docs/general/apdex
|
100
100
|
|
101
101
|
apdex_t: 0.5
|
102
102
|
|
data/newrelic_rpm.gemspec
CHANGED
@@ -4,21 +4,15 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "3.3.0
|
7
|
+
s.name = "newrelic_rpm"
|
8
|
+
s.version = "3.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
|
15
|
-
|
16
|
-
in production. The New Relic Ruby Agent is dual-purposed as a either a
|
17
|
-
Gem or plugin, hosted on
|
18
|
-
http://github.com/newrelic/rpm/
|
19
|
-
}
|
20
|
-
s.email = %q{support@newrelic.com}
|
21
|
-
s.executables = [%q{mongrel_rpm}, %q{newrelic}, %q{newrelic_cmd}]
|
11
|
+
s.authors = ["Bill Kayser", "Jon Guymon", "Justin George", "Darin Swanson"]
|
12
|
+
s.date = "2011-11-07"
|
13
|
+
s.description = "New Relic is a performance management system, developed by New Relic,\nInc (http://www.newrelic.com). New Relic provides you with deep\ninformation about the performance of your web application as it runs\nin production. The New Relic Ruby Agent is dual-purposed as a either a\nGem or plugin, hosted on\nhttp://github.com/newrelic/rpm/\n"
|
14
|
+
s.email = "support@newrelic.com"
|
15
|
+
s.executables = ["newrelic_cmd", "newrelic", "mongrel_rpm"]
|
22
16
|
s.extra_rdoc_files = [
|
23
17
|
"CHANGELOG",
|
24
18
|
"LICENSE",
|
@@ -286,32 +280,12 @@ http://github.com/newrelic/rpm/
|
|
286
280
|
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb",
|
287
281
|
"vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb"
|
288
282
|
]
|
289
|
-
s.homepage = %q{http://www.github.com/newrelic/rpm}
|
290
|
-
s.post_install_message = %q{
|
291
|
-
PLEASE NOTE:
|
292
|
-
|
293
|
-
Developer Mode is now a Rack middleware.
|
294
|
-
|
295
|
-
Developer Mode is no longer available in Rails 2.1 and earlier.
|
296
|
-
However, starting in version 2.12 you can use Developer Mode in any
|
297
|
-
Rack based framework, in addition to Rails. To install developer mode
|
298
|
-
in a non-Rails application, just add NewRelic::Rack::DeveloperMode to
|
299
|
-
your middleware stack.
|
300
|
-
|
301
|
-
If you are using JRuby, we recommend using at least version 1.4 or
|
302
|
-
later because of issues with the implementation of the timeout library.
|
303
|
-
|
304
|
-
Refer to the README.md file for more information.
|
305
|
-
|
306
|
-
Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
|
307
|
-
for a complete description of the features and enhancements available
|
308
|
-
in version 3.3 of the Ruby Agent.
|
309
|
-
|
310
|
-
}
|
311
283
|
s.rubygems_version = %q{1.3.6}
|
312
|
-
s.
|
313
|
-
s.
|
314
|
-
s.
|
284
|
+
s.homepage = "http://www.github.com/newrelic/rpm"
|
285
|
+
s.post_install_message = "\nPLEASE NOTE:\n\nDeveloper Mode is now a Rack middleware.\n\nDeveloper Mode is no longer available in Rails 2.1 and earlier.\nHowever, starting in version 2.12 you can use Developer Mode in any\nRack based framework, in addition to Rails. To install developer mode\nin a non-Rails application, just add NewRelic::Rack::DeveloperMode to\nyour middleware stack.\n\nIf you are using JRuby, we recommend using at least version 1.4 or \nlater because of issues with the implementation of the timeout library.\n\nRefer to the README.md file for more information.\n\nPlease see http://github.com/newrelic/rpm/blob/master/CHANGELOG\nfor a complete description of the features and enhancements available\nin version 3.3 of the Ruby Agent.\n \n"
|
286
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "New Relic Ruby Agent"]
|
287
|
+
s.require_paths = ["lib"]
|
288
|
+
s.summary = "New Relic Ruby Agent"
|
315
289
|
|
316
290
|
if s.respond_to? :specification_version then
|
317
291
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
@@ -266,6 +266,12 @@ var e=document.createElement("script");'
|
|
266
266
|
assert_equal("<script type=\"text/javascript\">if (!NREUMQ.f) { NREUMQ.f=function() {\nNREUMQ.push([\"load\",new Date().getTime()]);\nvar e=document.createElement(\"script\");\ne.type=\"text/javascript\";e.async=true;e.src=\"this_is_my_file\";\ndocument.body.appendChild(e);\nif(NREUMQ.a)NREUMQ.a();\n};\nNREUMQ.a=window.onload;window.onload=NREUMQ.f;\n};\nNREUMQ.push([\"nrfj\",\"\",\"\",1,\"most recent transaction\",0,0,new Date().getTime(),\"ABC\",\"0123456789ABCDEF\",\"user\",\"account\",\"product\"])</script>", value, "should return the javascript given some default values")
|
267
267
|
end
|
268
268
|
|
269
|
+
def test_use_nrf2_footer_when_auto_rum_disabled
|
270
|
+
NewRelic::Control.instance['browser_monitoring'] = { 'auto_instrument' => false }
|
271
|
+
value = footer_js_string(NewRelic::Agent.instance.beacon_configuration, '', '', 1)
|
272
|
+
assert_match(/nrf2/, value, "footer should use nrf2 when auto-rum disabled")
|
273
|
+
end
|
274
|
+
|
269
275
|
def test_html_safe_if_needed_unsafed
|
270
276
|
string = mock('string')
|
271
277
|
# here to handle 1.9 encoding - we stub this out because it should
|
@@ -172,4 +172,16 @@ class NewRelic::Agent::SqlSamplerTest < Test::Unit::TestCase
|
|
172
172
|
assert -2147483648 <= sql_trace.sql_id, "sql_id too small"
|
173
173
|
assert 2147483647 >= sql_trace.sql_id, "sql_id too large"
|
174
174
|
end
|
175
|
+
|
176
|
+
def test_config_values_default_to_transaction_tracer_config
|
177
|
+
|
178
|
+
NewRelic::Control.instance['slow_sql'] = { "explain_enabled"=> false }
|
179
|
+
|
180
|
+
assert_equal NewRelic::Agent.instance.sql_sampler.config['stack_trace_threshold'], 0.1 # transaction_tracer default
|
181
|
+
assert_equal NewRelic::Agent.instance.sql_sampler.config['explain_enabled'], false
|
182
|
+
|
183
|
+
# put things back how we found them
|
184
|
+
NewRelic::Control.instance['slow_sql'] = { "explain_enabled"=> true }
|
185
|
+
|
186
|
+
end
|
175
187
|
end
|
metadata
CHANGED
@@ -1,54 +1,67 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 11
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 3.3.0
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
13
|
+
- Bill Kayser
|
14
|
+
- Jon Guymon
|
15
|
+
- Justin George
|
16
|
+
- Darin Swanson
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
20
|
|
16
|
-
date: 2011-11-
|
17
|
-
default_executable:
|
21
|
+
date: 2011-11-07 00:00:00 Z
|
18
22
|
dependencies:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
name: jeweler
|
25
|
+
prerelease: false
|
26
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
32
|
+
segments:
|
33
|
+
- 0
|
34
|
+
version: "0"
|
35
|
+
type: :development
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: mocha
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :development
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: shoulda
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
52
65
|
description: |
|
53
66
|
New Relic is a performance management system, developed by New Relic,
|
54
67
|
Inc (http://www.newrelic.com). New Relic provides you with deep
|
@@ -59,277 +72,276 @@ description: |
|
|
59
72
|
|
60
73
|
email: support@newrelic.com
|
61
74
|
executables:
|
62
|
-
|
63
|
-
|
64
|
-
|
75
|
+
- newrelic_cmd
|
76
|
+
- newrelic
|
77
|
+
- mongrel_rpm
|
65
78
|
extensions: []
|
66
79
|
|
67
80
|
extra_rdoc_files:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
81
|
+
- CHANGELOG
|
82
|
+
- LICENSE
|
83
|
+
- README.rdoc
|
84
|
+
- newrelic.yml
|
72
85
|
files:
|
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
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
has_rdoc: true
|
86
|
+
- CHANGELOG
|
87
|
+
- LICENSE
|
88
|
+
- README.rdoc
|
89
|
+
- bin/mongrel_rpm
|
90
|
+
- bin/newrelic
|
91
|
+
- bin/newrelic_cmd
|
92
|
+
- cert/cacert.pem
|
93
|
+
- cert/oldsite.pem
|
94
|
+
- cert/site.pem
|
95
|
+
- install.rb
|
96
|
+
- lib/conditional_vendored_dependency_detection.rb
|
97
|
+
- lib/conditional_vendored_metric_parser.rb
|
98
|
+
- lib/new_relic/agent.rb
|
99
|
+
- lib/new_relic/agent/agent.rb
|
100
|
+
- lib/new_relic/agent/beacon_configuration.rb
|
101
|
+
- lib/new_relic/agent/browser_monitoring.rb
|
102
|
+
- lib/new_relic/agent/busy_calculator.rb
|
103
|
+
- lib/new_relic/agent/chained_call.rb
|
104
|
+
- lib/new_relic/agent/database.rb
|
105
|
+
- lib/new_relic/agent/error_collector.rb
|
106
|
+
- lib/new_relic/agent/instrumentation.rb
|
107
|
+
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
108
|
+
- lib/new_relic/agent/instrumentation/acts_as_solr.rb
|
109
|
+
- lib/new_relic/agent/instrumentation/authlogic.rb
|
110
|
+
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
111
|
+
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
112
|
+
- lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
|
113
|
+
- lib/new_relic/agent/instrumentation/memcache.rb
|
114
|
+
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
115
|
+
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
116
|
+
- lib/new_relic/agent/instrumentation/metric_frame.rb
|
117
|
+
- lib/new_relic/agent/instrumentation/metric_frame/pop.rb
|
118
|
+
- lib/new_relic/agent/instrumentation/net.rb
|
119
|
+
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
120
|
+
- lib/new_relic/agent/instrumentation/queue_time.rb
|
121
|
+
- lib/new_relic/agent/instrumentation/rack.rb
|
122
|
+
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
123
|
+
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
124
|
+
- lib/new_relic/agent/instrumentation/rails/active_record_instrumentation.rb
|
125
|
+
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
126
|
+
- lib/new_relic/agent/instrumentation/rails3/action_controller.rb
|
127
|
+
- lib/new_relic/agent/instrumentation/rails3/active_record_instrumentation.rb
|
128
|
+
- lib/new_relic/agent/instrumentation/rails3/errors.rb
|
129
|
+
- lib/new_relic/agent/instrumentation/sinatra.rb
|
130
|
+
- lib/new_relic/agent/instrumentation/sunspot.rb
|
131
|
+
- lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb
|
132
|
+
- lib/new_relic/agent/method_tracer.rb
|
133
|
+
- lib/new_relic/agent/sampler.rb
|
134
|
+
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
135
|
+
- lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb
|
136
|
+
- lib/new_relic/agent/samplers/memory_sampler.rb
|
137
|
+
- lib/new_relic/agent/samplers/object_sampler.rb
|
138
|
+
- lib/new_relic/agent/shim_agent.rb
|
139
|
+
- lib/new_relic/agent/sql_sampler.rb
|
140
|
+
- lib/new_relic/agent/stats_engine.rb
|
141
|
+
- lib/new_relic/agent/stats_engine/gc_profiler.rb
|
142
|
+
- lib/new_relic/agent/stats_engine/metric_stats.rb
|
143
|
+
- lib/new_relic/agent/stats_engine/samplers.rb
|
144
|
+
- lib/new_relic/agent/stats_engine/transactions.rb
|
145
|
+
- lib/new_relic/agent/transaction_info.rb
|
146
|
+
- lib/new_relic/agent/transaction_sample_builder.rb
|
147
|
+
- lib/new_relic/agent/transaction_sampler.rb
|
148
|
+
- lib/new_relic/agent/worker_loop.rb
|
149
|
+
- lib/new_relic/collection_helper.rb
|
150
|
+
- lib/new_relic/command.rb
|
151
|
+
- lib/new_relic/commands/deployments.rb
|
152
|
+
- lib/new_relic/commands/install.rb
|
153
|
+
- lib/new_relic/control.rb
|
154
|
+
- lib/new_relic/control/class_methods.rb
|
155
|
+
- lib/new_relic/control/configuration.rb
|
156
|
+
- lib/new_relic/control/frameworks.rb
|
157
|
+
- lib/new_relic/control/frameworks/external.rb
|
158
|
+
- lib/new_relic/control/frameworks/merb.rb
|
159
|
+
- lib/new_relic/control/frameworks/rails.rb
|
160
|
+
- lib/new_relic/control/frameworks/rails3.rb
|
161
|
+
- lib/new_relic/control/frameworks/ruby.rb
|
162
|
+
- lib/new_relic/control/frameworks/sinatra.rb
|
163
|
+
- lib/new_relic/control/instance_methods.rb
|
164
|
+
- lib/new_relic/control/instrumentation.rb
|
165
|
+
- lib/new_relic/control/logging_methods.rb
|
166
|
+
- lib/new_relic/control/profiling.rb
|
167
|
+
- lib/new_relic/control/server_methods.rb
|
168
|
+
- lib/new_relic/data_serialization.rb
|
169
|
+
- lib/new_relic/delayed_job_injection.rb
|
170
|
+
- lib/new_relic/language_support.rb
|
171
|
+
- lib/new_relic/local_environment.rb
|
172
|
+
- lib/new_relic/merbtasks.rb
|
173
|
+
- lib/new_relic/metric_data.rb
|
174
|
+
- lib/new_relic/metric_spec.rb
|
175
|
+
- lib/new_relic/metrics.rb
|
176
|
+
- lib/new_relic/noticed_error.rb
|
177
|
+
- lib/new_relic/rack/browser_monitoring.rb
|
178
|
+
- lib/new_relic/rack/developer_mode.rb
|
179
|
+
- lib/new_relic/recipes.rb
|
180
|
+
- lib/new_relic/stats.rb
|
181
|
+
- lib/new_relic/timer_lib.rb
|
182
|
+
- lib/new_relic/transaction_analysis.rb
|
183
|
+
- lib/new_relic/transaction_analysis/segment_summary.rb
|
184
|
+
- lib/new_relic/transaction_sample.rb
|
185
|
+
- lib/new_relic/transaction_sample/composite_segment.rb
|
186
|
+
- lib/new_relic/transaction_sample/fake_segment.rb
|
187
|
+
- lib/new_relic/transaction_sample/segment.rb
|
188
|
+
- lib/new_relic/transaction_sample/summary_segment.rb
|
189
|
+
- lib/new_relic/url_rule.rb
|
190
|
+
- lib/new_relic/version.rb
|
191
|
+
- lib/newrelic_rpm.rb
|
192
|
+
- lib/tasks/all.rb
|
193
|
+
- lib/tasks/install.rake
|
194
|
+
- lib/tasks/tests.rake
|
195
|
+
- newrelic.yml
|
196
|
+
- newrelic_rpm.gemspec
|
197
|
+
- recipes/newrelic.rb
|
198
|
+
- test/active_record_fixtures.rb
|
199
|
+
- test/config/newrelic.yml
|
200
|
+
- test/config/test_control.rb
|
201
|
+
- test/new_relic/agent/agent/connect_test.rb
|
202
|
+
- test/new_relic/agent/agent/start_test.rb
|
203
|
+
- test/new_relic/agent/agent/start_worker_thread_test.rb
|
204
|
+
- test/new_relic/agent/agent_test.rb
|
205
|
+
- test/new_relic/agent/agent_test_controller.rb
|
206
|
+
- test/new_relic/agent/agent_test_controller_test.rb
|
207
|
+
- test/new_relic/agent/apdex_from_server_test.rb
|
208
|
+
- test/new_relic/agent/beacon_configuration_test.rb
|
209
|
+
- test/new_relic/agent/browser_monitoring_test.rb
|
210
|
+
- test/new_relic/agent/busy_calculator_test.rb
|
211
|
+
- test/new_relic/agent/database_test.rb
|
212
|
+
- test/new_relic/agent/error_collector/notice_error_test.rb
|
213
|
+
- test/new_relic/agent/error_collector_test.rb
|
214
|
+
- test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb
|
215
|
+
- test/new_relic/agent/instrumentation/controller_instrumentation_test.rb
|
216
|
+
- test/new_relic/agent/instrumentation/instrumentation_test.rb
|
217
|
+
- test/new_relic/agent/instrumentation/metric_frame/pop_test.rb
|
218
|
+
- test/new_relic/agent/instrumentation/metric_frame_test.rb
|
219
|
+
- test/new_relic/agent/instrumentation/net_instrumentation_test.rb
|
220
|
+
- test/new_relic/agent/instrumentation/queue_time_test.rb
|
221
|
+
- test/new_relic/agent/instrumentation/rack_test.rb
|
222
|
+
- test/new_relic/agent/instrumentation/task_instrumentation_test.rb
|
223
|
+
- test/new_relic/agent/memcache_instrumentation_test.rb
|
224
|
+
- test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb
|
225
|
+
- test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb
|
226
|
+
- test/new_relic/agent/method_tracer_test.rb
|
227
|
+
- test/new_relic/agent/mock_scope_listener.rb
|
228
|
+
- test/new_relic/agent/rpm_agent_test.rb
|
229
|
+
- test/new_relic/agent/sampler_test.rb
|
230
|
+
- test/new_relic/agent/shim_agent_test.rb
|
231
|
+
- test/new_relic/agent/sql_sampler_test.rb
|
232
|
+
- test/new_relic/agent/stats_engine/metric_stats/harvest_test.rb
|
233
|
+
- test/new_relic/agent/stats_engine/metric_stats_test.rb
|
234
|
+
- test/new_relic/agent/stats_engine/samplers_test.rb
|
235
|
+
- test/new_relic/agent/stats_engine_test.rb
|
236
|
+
- test/new_relic/agent/transaction_sample_builder_test.rb
|
237
|
+
- test/new_relic/agent/transaction_sampler_test.rb
|
238
|
+
- test/new_relic/agent/worker_loop_test.rb
|
239
|
+
- test/new_relic/agent_test.rb
|
240
|
+
- test/new_relic/collection_helper_test.rb
|
241
|
+
- test/new_relic/command/deployments_test.rb
|
242
|
+
- test/new_relic/control/class_methods_test.rb
|
243
|
+
- test/new_relic/control/configuration_test.rb
|
244
|
+
- test/new_relic/control/logging_methods_test.rb
|
245
|
+
- test/new_relic/control_test.rb
|
246
|
+
- test/new_relic/data_serialization_test.rb
|
247
|
+
- test/new_relic/delayed_job_injection_test.rb
|
248
|
+
- test/new_relic/local_environment_test.rb
|
249
|
+
- test/new_relic/metric_data_test.rb
|
250
|
+
- test/new_relic/metric_parser/metric_parser_test.rb
|
251
|
+
- test/new_relic/metric_spec_test.rb
|
252
|
+
- test/new_relic/rack/all_test.rb
|
253
|
+
- test/new_relic/rack/browser_monitoring_test.rb
|
254
|
+
- test/new_relic/rack/developer_mode_helper_test.rb
|
255
|
+
- test/new_relic/rack/developer_mode_test.rb
|
256
|
+
- test/new_relic/stats_test.rb
|
257
|
+
- test/new_relic/transaction_analysis/segment_summary_test.rb
|
258
|
+
- test/new_relic/transaction_analysis_test.rb
|
259
|
+
- test/new_relic/transaction_sample/composite_segment_test.rb
|
260
|
+
- test/new_relic/transaction_sample/fake_segment_test.rb
|
261
|
+
- test/new_relic/transaction_sample/segment_test.rb
|
262
|
+
- test/new_relic/transaction_sample/summary_segment_test.rb
|
263
|
+
- test/new_relic/transaction_sample_subtest_test.rb
|
264
|
+
- test/new_relic/transaction_sample_test.rb
|
265
|
+
- test/new_relic/version_number_test.rb
|
266
|
+
- test/test_contexts.rb
|
267
|
+
- test/test_helper.rb
|
268
|
+
- ui/helpers/developer_mode_helper.rb
|
269
|
+
- ui/helpers/google_pie_chart.rb
|
270
|
+
- ui/views/layouts/newrelic_default.rhtml
|
271
|
+
- ui/views/newrelic/_explain_plans.rhtml
|
272
|
+
- ui/views/newrelic/_sample.rhtml
|
273
|
+
- ui/views/newrelic/_segment.rhtml
|
274
|
+
- ui/views/newrelic/_segment_limit_message.rhtml
|
275
|
+
- ui/views/newrelic/_segment_row.rhtml
|
276
|
+
- ui/views/newrelic/_show_sample_detail.rhtml
|
277
|
+
- ui/views/newrelic/_show_sample_sql.rhtml
|
278
|
+
- ui/views/newrelic/_show_sample_summary.rhtml
|
279
|
+
- ui/views/newrelic/_sql_row.rhtml
|
280
|
+
- ui/views/newrelic/_stack_trace.rhtml
|
281
|
+
- ui/views/newrelic/_table.rhtml
|
282
|
+
- ui/views/newrelic/explain_sql.rhtml
|
283
|
+
- ui/views/newrelic/file/images/arrow-close.png
|
284
|
+
- ui/views/newrelic/file/images/arrow-open.png
|
285
|
+
- ui/views/newrelic/file/images/blue_bar.gif
|
286
|
+
- ui/views/newrelic/file/images/file_icon.png
|
287
|
+
- ui/views/newrelic/file/images/gray_bar.gif
|
288
|
+
- ui/views/newrelic/file/images/new-relic-rpm-desktop.gif
|
289
|
+
- ui/views/newrelic/file/images/new_relic_rpm_desktop.gif
|
290
|
+
- ui/views/newrelic/file/images/textmate.png
|
291
|
+
- ui/views/newrelic/file/javascript/jquery-1.4.2.js
|
292
|
+
- ui/views/newrelic/file/javascript/transaction_sample.js
|
293
|
+
- ui/views/newrelic/file/stylesheets/style.css
|
294
|
+
- ui/views/newrelic/index.rhtml
|
295
|
+
- ui/views/newrelic/sample_not_found.rhtml
|
296
|
+
- ui/views/newrelic/show_sample.rhtml
|
297
|
+
- ui/views/newrelic/show_source.rhtml
|
298
|
+
- ui/views/newrelic/threads.rhtml
|
299
|
+
- vendor/gems/dependency_detection-0.0.1.build/LICENSE
|
300
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb
|
301
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb
|
302
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb
|
303
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb
|
304
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb
|
305
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb
|
306
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb
|
307
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb
|
308
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb
|
309
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb
|
310
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb
|
311
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb
|
312
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb
|
313
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb
|
314
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb
|
315
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb
|
316
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb
|
317
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb
|
318
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb
|
319
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb
|
320
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
|
321
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb
|
322
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
|
323
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
|
324
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb
|
325
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb
|
326
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb
|
327
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb
|
328
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb
|
329
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb
|
330
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb
|
331
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb
|
332
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb
|
333
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb
|
334
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb
|
335
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb
|
336
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb
|
337
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb
|
338
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb
|
339
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb
|
340
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb
|
341
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb
|
342
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
|
343
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb
|
344
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb
|
333
345
|
homepage: http://www.github.com/newrelic/rpm
|
334
346
|
licenses: []
|
335
347
|
|
@@ -356,30 +368,37 @@ post_install_message: |
|
|
356
368
|
|
357
369
|
|
358
370
|
rdoc_options:
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
371
|
+
- --line-numbers
|
372
|
+
- --inline-source
|
373
|
+
- --title
|
374
|
+
- New Relic Ruby Agent
|
363
375
|
require_paths:
|
364
|
-
|
376
|
+
- lib
|
365
377
|
required_ruby_version: !ruby/object:Gem::Requirement
|
366
378
|
none: false
|
367
379
|
requirements:
|
368
|
-
|
369
|
-
|
370
|
-
|
380
|
+
- - ">="
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
hash: 3
|
383
|
+
segments:
|
384
|
+
- 0
|
385
|
+
version: "0"
|
371
386
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
372
387
|
none: false
|
373
388
|
requirements:
|
374
|
-
|
375
|
-
|
376
|
-
|
389
|
+
- - ">="
|
390
|
+
- !ruby/object:Gem::Version
|
391
|
+
hash: 3
|
392
|
+
segments:
|
393
|
+
- 0
|
394
|
+
version: "0"
|
377
395
|
requirements: []
|
378
396
|
|
379
397
|
rubyforge_project:
|
380
|
-
rubygems_version: 1.
|
398
|
+
rubygems_version: 1.8.11
|
381
399
|
signing_key:
|
382
400
|
specification_version: 3
|
383
401
|
summary: New Relic Ruby Agent
|
384
402
|
test_files: []
|
385
403
|
|
404
|
+
has_rdoc:
|