newrelic_rpm 3.3.5 → 3.4.0.beta1
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 +8 -5
- data/lib/new_relic/agent.rb +11 -3
- data/lib/new_relic/agent/agent.rb +68 -223
- data/lib/new_relic/agent/error_collector.rb +1 -1
- data/lib/new_relic/agent/instrumentation/resque.rb +80 -0
- data/lib/new_relic/agent/instrumentation/sinatra.rb +2 -0
- data/lib/new_relic/agent/new_relic_service.rb +221 -0
- data/lib/new_relic/agent/pipe_channel_manager.rb +151 -0
- data/lib/new_relic/agent/pipe_service.rb +57 -0
- data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +4 -34
- data/lib/new_relic/agent/sql_sampler.rb +1 -5
- data/lib/new_relic/agent/stats_engine/transactions.rb +2 -2
- data/lib/new_relic/agent/transaction_sampler.rb +0 -2
- data/lib/new_relic/control/configuration.rb +1 -1
- data/lib/new_relic/control/instance_methods.rb +2 -1
- data/lib/new_relic/language_support.rb +26 -0
- data/lib/new_relic/transaction_sample.rb +2 -6
- data/lib/new_relic/version.rb +3 -3
- data/newrelic_rpm.gemspec +16 -5
- data/test/new_relic/agent/agent/connect_test.rb +39 -23
- data/test/new_relic/agent/agent_test.rb +25 -4
- data/test/new_relic/agent/database_test.rb +12 -0
- data/test/new_relic/agent/new_relic_service_test.rb +151 -0
- data/test/new_relic/agent/pipe_channel_manager_test.rb +114 -0
- data/test/new_relic/agent/pipe_service_test.rb +113 -0
- data/test/new_relic/agent/rpm_agent_test.rb +3 -30
- data/test/new_relic/agent/transaction_sample_builder_test.rb +0 -1
- data/test/new_relic/agent/transaction_sampler_test.rb +6 -6
- data/test/new_relic/agent/worker_loop_test.rb +2 -2
- data/test/new_relic/agent_test.rb +73 -3
- data/test/new_relic/control/configuration_test.rb +0 -7
- data/test/new_relic/control_test.rb +3 -3
- data/test/new_relic/delayed_job_injection_test.rb +6 -1
- data/test/new_relic/fake_collector.rb +210 -0
- data/test/new_relic/fake_service.rb +44 -0
- data/test/script/ci.sh +6 -6
- data/test/script/ci_agent-tests_runner.sh +82 -0
- data/test/script/ci_multiverse_runner.sh +35 -0
- data/test/test_contexts.rb +1 -0
- data/test/test_helper.rb +3 -1
- metadata +359 -324
data/test/script/ci.sh
CHANGED
@@ -51,10 +51,9 @@ mkdir -p tmp
|
|
51
51
|
cd tmp
|
52
52
|
|
53
53
|
|
54
|
-
|
55
|
-
rpm_test_app_cache=~/workspace/.rpm_test_app_cache
|
54
|
+
rpm_test_app_cache=~/.rpm_test_app_cache
|
56
55
|
(
|
57
|
-
echo "updating local cache of rpm_test_app
|
56
|
+
echo "updating local cache of rpm_test_app"
|
58
57
|
git clone --mirror git://github.com/newrelic/rpm_test_app.git $rpm_test_app_cache || true
|
59
58
|
cd $rpm_test_app_cache
|
60
59
|
)
|
@@ -112,9 +111,10 @@ else
|
|
112
111
|
perl -p -i'.bak' -e 's#gem .newrelic_rpm.*$#gem "newrelic_rpm", :path => "\.\.\/\.\.\/"#' Gemfile
|
113
112
|
fi
|
114
113
|
|
115
|
-
|
116
|
-
|
117
|
-
|
114
|
+
# save time by reusing the gemset if it exists
|
115
|
+
|
116
|
+
gemset=ruby_agent_tests_$BRANCH
|
117
|
+
rvm gemset use $gemset || ( rvm gemset create $gemset && rvm gemset use $gemset )
|
118
118
|
|
119
119
|
if [ "x$RUBY" == "x1.8.6" ]; then
|
120
120
|
# Bundler 0.1 dropped support for ruby 1.8.6
|
@@ -0,0 +1,82 @@
|
|
1
|
+
#!/bin/bash -e
|
2
|
+
|
3
|
+
SCRATH_DIR=./agent-tests_tmp
|
4
|
+
#git pull git@github.com:newrelic/ruby_agent-tests.git
|
5
|
+
|
6
|
+
#echo $PWD
|
7
|
+
script_dirname=`dirname $0`
|
8
|
+
#echo $script_dirname
|
9
|
+
#echo $0
|
10
|
+
|
11
|
+
# make sure that we're in the project root
|
12
|
+
script_dirname=`dirname $0`
|
13
|
+
cd "$script_dirname/../../"
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
if [ -x $SCRATH_DIR ] ; then
|
18
|
+
echo "found tmp, deleting"
|
19
|
+
rm -fr $SCRATH_DIR
|
20
|
+
fi
|
21
|
+
|
22
|
+
mkdir $SCRATH_DIR
|
23
|
+
cd $SCRATH_DIR
|
24
|
+
|
25
|
+
git clone --depth=1 git@github.com:newrelic/ruby_agent-tests.git ruby_agent-tests
|
26
|
+
git clone --depth=1 git@github.com:newrelic/rpm_contrib.git rpm_contrib
|
27
|
+
|
28
|
+
if [ -x ../../Ruby_Agent ] ; then
|
29
|
+
ln -s ../../Ruby_Agent ./ruby_agent
|
30
|
+
else
|
31
|
+
echo "*********** Ruby_Agent can't be found ***********"
|
32
|
+
exit 1
|
33
|
+
fi
|
34
|
+
|
35
|
+
#exit 0
|
36
|
+
|
37
|
+
cd ruby_agent-tests
|
38
|
+
./ci_run.sh
|
39
|
+
|
40
|
+
#echo "creating tmp dir"
|
41
|
+
#mkdir tmp
|
42
|
+
#echo "cd'ing to tmp"
|
43
|
+
# cd tmp
|
44
|
+
# echo $PWD
|
45
|
+
|
46
|
+
|
47
|
+
# exit 0
|
48
|
+
#env
|
49
|
+
#ls -al /home/hudson/.rvm/bin
|
50
|
+
# source ~/.rvm/scripts/rvm
|
51
|
+
#rvm 1.9.2
|
52
|
+
#ruby -v
|
53
|
+
|
54
|
+
# rvm --force gemset delete ruby_agent-tests
|
55
|
+
|
56
|
+
# rvm gemset create ruby_agent-tests
|
57
|
+
|
58
|
+
# rvm gemset use ruby_agent-tests
|
59
|
+
# gem install bundler
|
60
|
+
# bundle update
|
61
|
+
# bundle
|
62
|
+
|
63
|
+
##
|
64
|
+
# bundle exec ruby fake_collector.rb
|
65
|
+
# bundle exec ruby sinatra_metric_explosion_test.rb
|
66
|
+
|
67
|
+
########
|
68
|
+
# clear out gemset for next test set
|
69
|
+
#
|
70
|
+
|
71
|
+
# cd rails3viewfedex
|
72
|
+
# rvm --force gemset delete ruby_agent-tests
|
73
|
+
|
74
|
+
# rvm gemset create ruby_agent-tests
|
75
|
+
|
76
|
+
# rvm gemset use ruby_agent-tests
|
77
|
+
|
78
|
+
# gem install bundler
|
79
|
+
# bundle update
|
80
|
+
# bundle
|
81
|
+
# bundle exec ruby view_instrumentation_test.rb
|
82
|
+
#exit 0
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/bin/bash -e
|
2
|
+
|
3
|
+
SCRATH_DIR=./multiverse_tmp
|
4
|
+
script_dirname=`dirname $0`
|
5
|
+
|
6
|
+
# make sure that we're in the project root
|
7
|
+
cd "$script_dirname/../../"
|
8
|
+
|
9
|
+
if [ -x $SCRATH_DIR ] ; then
|
10
|
+
echo "found tmp, deleting"
|
11
|
+
rm -fr $SCRATH_DIR
|
12
|
+
fi
|
13
|
+
|
14
|
+
mkdir $SCRATH_DIR
|
15
|
+
cd $SCRATH_DIR
|
16
|
+
|
17
|
+
git clone --depth=1 git@github.com:newrelic/multiverse.git multiverse
|
18
|
+
git clone --depth=1 git@github.com:newrelic/rpm_contrib.git rpm_contrib
|
19
|
+
|
20
|
+
if [ -x ../../Ruby_Agent ] ; then
|
21
|
+
ln -s ../../Ruby_Agent ./ruby_agent
|
22
|
+
else
|
23
|
+
echo "*********** Ruby_Agent can't be found ***********"
|
24
|
+
exit 1
|
25
|
+
fi
|
26
|
+
|
27
|
+
cd multiverse
|
28
|
+
#./ci_run.sh
|
29
|
+
|
30
|
+
pwd
|
31
|
+
ls -l ../
|
32
|
+
|
33
|
+
source ~/.rvm/scripts/rvm
|
34
|
+
rvm use 1.9.3
|
35
|
+
script/runner
|
data/test/test_contexts.rb
CHANGED
@@ -7,6 +7,7 @@ module TestContexts
|
|
7
7
|
setup do
|
8
8
|
@log_data = StringIO.new
|
9
9
|
@log = Logger.new(@log_data)
|
10
|
+
NewRelic::Agent::Agent.instance.service = NewRelic::FakeService.new
|
10
11
|
NewRelic::Agent.manual_start :log => @log
|
11
12
|
@agent = NewRelic::Agent.instance
|
12
13
|
@agent.transaction_sampler.send :clear_builder
|
data/test/test_helper.rb
CHANGED
@@ -44,6 +44,8 @@ require 'mocha'
|
|
44
44
|
require 'mocha/integration/test_unit'
|
45
45
|
require 'mocha/integration/test_unit/assertion_counter'
|
46
46
|
|
47
|
+
require 'new_relic/fake_service'
|
48
|
+
|
47
49
|
class Test::Unit::TestCase
|
48
50
|
include Mocha::API
|
49
51
|
|
@@ -151,5 +153,5 @@ module TransactionSampleTestHelper
|
|
151
153
|
sampler.notice_scope_empty
|
152
154
|
sampler.samples[0]
|
153
155
|
end
|
154
|
-
|
156
|
+
module_function :run_sample_trace_on
|
155
157
|
end
|
metadata
CHANGED
@@ -1,53 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 1309669669
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 4
|
9
|
+
- 0
|
10
|
+
- beta
|
11
|
+
- 1
|
12
|
+
version: 3.4.0.beta1
|
6
13
|
platform: ruby
|
7
14
|
authors:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
15
|
+
- Bill Kayser
|
16
|
+
- Jon Guymon
|
17
|
+
- Justin George
|
18
|
+
- Darin Swanson
|
12
19
|
autorequire:
|
13
20
|
bindir: bin
|
14
21
|
cert_chain: []
|
15
22
|
|
16
|
-
date: 2012-05-
|
23
|
+
date: 2012-05-25 00:00:00 Z
|
17
24
|
dependencies:
|
18
|
-
|
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
|
-
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jeweler
|
27
|
+
prerelease: false
|
28
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
hash: 3
|
34
|
+
segments:
|
35
|
+
- 0
|
36
|
+
version: "0"
|
37
|
+
type: :development
|
38
|
+
version_requirements: *id001
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: mocha
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
hash: 3
|
48
|
+
segments:
|
49
|
+
- 0
|
50
|
+
version: "0"
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: shoulda
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
type: :development
|
66
|
+
version_requirements: *id003
|
51
67
|
description: |
|
52
68
|
New Relic is a performance management system, developed by New Relic,
|
53
69
|
Inc (http://www.newrelic.com). New Relic provides you with deep
|
@@ -58,281 +74,292 @@ description: |
|
|
58
74
|
|
59
75
|
email: support@newrelic.com
|
60
76
|
executables:
|
61
|
-
|
62
|
-
|
63
|
-
|
77
|
+
- newrelic
|
78
|
+
- mongrel_rpm
|
79
|
+
- newrelic_cmd
|
64
80
|
extensions: []
|
65
81
|
|
66
82
|
extra_rdoc_files:
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
83
|
+
- CHANGELOG
|
84
|
+
- LICENSE
|
85
|
+
- README.rdoc
|
86
|
+
- newrelic.yml
|
71
87
|
files:
|
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
|
-
|
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
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
88
|
+
- CHANGELOG
|
89
|
+
- LICENSE
|
90
|
+
- README.rdoc
|
91
|
+
- bin/mongrel_rpm
|
92
|
+
- bin/newrelic
|
93
|
+
- bin/newrelic_cmd
|
94
|
+
- cert/cacert.pem
|
95
|
+
- cert/oldsite.pem
|
96
|
+
- cert/site.pem
|
97
|
+
- install.rb
|
98
|
+
- lib/conditional_vendored_dependency_detection.rb
|
99
|
+
- lib/conditional_vendored_metric_parser.rb
|
100
|
+
- lib/new_relic/agent.rb
|
101
|
+
- lib/new_relic/agent/agent.rb
|
102
|
+
- lib/new_relic/agent/beacon_configuration.rb
|
103
|
+
- lib/new_relic/agent/browser_monitoring.rb
|
104
|
+
- lib/new_relic/agent/busy_calculator.rb
|
105
|
+
- lib/new_relic/agent/chained_call.rb
|
106
|
+
- lib/new_relic/agent/database.rb
|
107
|
+
- lib/new_relic/agent/error_collector.rb
|
108
|
+
- lib/new_relic/agent/instrumentation.rb
|
109
|
+
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
110
|
+
- lib/new_relic/agent/instrumentation/active_record.rb
|
111
|
+
- lib/new_relic/agent/instrumentation/acts_as_solr.rb
|
112
|
+
- lib/new_relic/agent/instrumentation/authlogic.rb
|
113
|
+
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
114
|
+
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
115
|
+
- lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
|
116
|
+
- lib/new_relic/agent/instrumentation/memcache.rb
|
117
|
+
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
118
|
+
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
119
|
+
- lib/new_relic/agent/instrumentation/metric_frame.rb
|
120
|
+
- lib/new_relic/agent/instrumentation/metric_frame/pop.rb
|
121
|
+
- lib/new_relic/agent/instrumentation/net.rb
|
122
|
+
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
123
|
+
- lib/new_relic/agent/instrumentation/queue_time.rb
|
124
|
+
- lib/new_relic/agent/instrumentation/rack.rb
|
125
|
+
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
126
|
+
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
127
|
+
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
128
|
+
- lib/new_relic/agent/instrumentation/rails3/action_controller.rb
|
129
|
+
- lib/new_relic/agent/instrumentation/rails3/errors.rb
|
130
|
+
- lib/new_relic/agent/instrumentation/resque.rb
|
131
|
+
- lib/new_relic/agent/instrumentation/sinatra.rb
|
132
|
+
- lib/new_relic/agent/instrumentation/sunspot.rb
|
133
|
+
- lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb
|
134
|
+
- lib/new_relic/agent/method_tracer.rb
|
135
|
+
- lib/new_relic/agent/new_relic_service.rb
|
136
|
+
- lib/new_relic/agent/pipe_channel_manager.rb
|
137
|
+
- lib/new_relic/agent/pipe_service.rb
|
138
|
+
- lib/new_relic/agent/sampler.rb
|
139
|
+
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
140
|
+
- lib/new_relic/agent/samplers/delayed_job_sampler.rb
|
141
|
+
- lib/new_relic/agent/samplers/memory_sampler.rb
|
142
|
+
- lib/new_relic/agent/samplers/object_sampler.rb
|
143
|
+
- lib/new_relic/agent/shim_agent.rb
|
144
|
+
- lib/new_relic/agent/sql_sampler.rb
|
145
|
+
- lib/new_relic/agent/stats_engine.rb
|
146
|
+
- lib/new_relic/agent/stats_engine/gc_profiler.rb
|
147
|
+
- lib/new_relic/agent/stats_engine/metric_stats.rb
|
148
|
+
- lib/new_relic/agent/stats_engine/samplers.rb
|
149
|
+
- lib/new_relic/agent/stats_engine/transactions.rb
|
150
|
+
- lib/new_relic/agent/transaction_info.rb
|
151
|
+
- lib/new_relic/agent/transaction_sample_builder.rb
|
152
|
+
- lib/new_relic/agent/transaction_sampler.rb
|
153
|
+
- lib/new_relic/agent/worker_loop.rb
|
154
|
+
- lib/new_relic/collection_helper.rb
|
155
|
+
- lib/new_relic/command.rb
|
156
|
+
- lib/new_relic/commands/deployments.rb
|
157
|
+
- lib/new_relic/commands/install.rb
|
158
|
+
- lib/new_relic/control.rb
|
159
|
+
- lib/new_relic/control/class_methods.rb
|
160
|
+
- lib/new_relic/control/configuration.rb
|
161
|
+
- lib/new_relic/control/frameworks.rb
|
162
|
+
- lib/new_relic/control/frameworks/external.rb
|
163
|
+
- lib/new_relic/control/frameworks/merb.rb
|
164
|
+
- lib/new_relic/control/frameworks/rails.rb
|
165
|
+
- lib/new_relic/control/frameworks/rails3.rb
|
166
|
+
- lib/new_relic/control/frameworks/ruby.rb
|
167
|
+
- lib/new_relic/control/frameworks/sinatra.rb
|
168
|
+
- lib/new_relic/control/instance_methods.rb
|
169
|
+
- lib/new_relic/control/instrumentation.rb
|
170
|
+
- lib/new_relic/control/logging_methods.rb
|
171
|
+
- lib/new_relic/control/profiling.rb
|
172
|
+
- lib/new_relic/control/server_methods.rb
|
173
|
+
- lib/new_relic/data_serialization.rb
|
174
|
+
- lib/new_relic/delayed_job_injection.rb
|
175
|
+
- lib/new_relic/helper.rb
|
176
|
+
- lib/new_relic/language_support.rb
|
177
|
+
- lib/new_relic/local_environment.rb
|
178
|
+
- lib/new_relic/merbtasks.rb
|
179
|
+
- lib/new_relic/metric_data.rb
|
180
|
+
- lib/new_relic/metric_spec.rb
|
181
|
+
- lib/new_relic/metrics.rb
|
182
|
+
- lib/new_relic/noticed_error.rb
|
183
|
+
- lib/new_relic/rack/browser_monitoring.rb
|
184
|
+
- lib/new_relic/rack/developer_mode.rb
|
185
|
+
- lib/new_relic/recipes.rb
|
186
|
+
- lib/new_relic/stats.rb
|
187
|
+
- lib/new_relic/timer_lib.rb
|
188
|
+
- lib/new_relic/transaction_analysis.rb
|
189
|
+
- lib/new_relic/transaction_analysis/segment_summary.rb
|
190
|
+
- lib/new_relic/transaction_sample.rb
|
191
|
+
- lib/new_relic/transaction_sample/composite_segment.rb
|
192
|
+
- lib/new_relic/transaction_sample/fake_segment.rb
|
193
|
+
- lib/new_relic/transaction_sample/segment.rb
|
194
|
+
- lib/new_relic/transaction_sample/summary_segment.rb
|
195
|
+
- lib/new_relic/url_rule.rb
|
196
|
+
- lib/new_relic/version.rb
|
197
|
+
- lib/newrelic_rpm.rb
|
198
|
+
- lib/tasks/all.rb
|
199
|
+
- lib/tasks/install.rake
|
200
|
+
- lib/tasks/tests.rake
|
201
|
+
- newrelic.yml
|
202
|
+
- newrelic_rpm.gemspec
|
203
|
+
- recipes/newrelic.rb
|
204
|
+
- test/active_record_fixtures.rb
|
205
|
+
- test/config/newrelic.yml
|
206
|
+
- test/config/test_control.rb
|
207
|
+
- test/fixtures/proc_cpuinfo.txt
|
208
|
+
- test/new_relic/agent/agent/connect_test.rb
|
209
|
+
- test/new_relic/agent/agent/start_test.rb
|
210
|
+
- test/new_relic/agent/agent/start_worker_thread_test.rb
|
211
|
+
- test/new_relic/agent/agent_test.rb
|
212
|
+
- test/new_relic/agent/agent_test_controller.rb
|
213
|
+
- test/new_relic/agent/agent_test_controller_test.rb
|
214
|
+
- test/new_relic/agent/apdex_from_server_test.rb
|
215
|
+
- test/new_relic/agent/beacon_configuration_test.rb
|
216
|
+
- test/new_relic/agent/browser_monitoring_test.rb
|
217
|
+
- test/new_relic/agent/busy_calculator_test.rb
|
218
|
+
- test/new_relic/agent/database_test.rb
|
219
|
+
- test/new_relic/agent/error_collector/notice_error_test.rb
|
220
|
+
- test/new_relic/agent/error_collector_test.rb
|
221
|
+
- test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb
|
222
|
+
- test/new_relic/agent/instrumentation/controller_instrumentation_test.rb
|
223
|
+
- test/new_relic/agent/instrumentation/instrumentation_test.rb
|
224
|
+
- test/new_relic/agent/instrumentation/metric_frame/pop_test.rb
|
225
|
+
- test/new_relic/agent/instrumentation/metric_frame_test.rb
|
226
|
+
- test/new_relic/agent/instrumentation/net_instrumentation_test.rb
|
227
|
+
- test/new_relic/agent/instrumentation/queue_time_test.rb
|
228
|
+
- test/new_relic/agent/instrumentation/rack_test.rb
|
229
|
+
- test/new_relic/agent/instrumentation/task_instrumentation_test.rb
|
230
|
+
- test/new_relic/agent/memcache_instrumentation_test.rb
|
231
|
+
- test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb
|
232
|
+
- test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb
|
233
|
+
- test/new_relic/agent/method_tracer_test.rb
|
234
|
+
- test/new_relic/agent/mock_scope_listener.rb
|
235
|
+
- test/new_relic/agent/new_relic_service_test.rb
|
236
|
+
- test/new_relic/agent/pipe_channel_manager_test.rb
|
237
|
+
- test/new_relic/agent/pipe_service_test.rb
|
238
|
+
- test/new_relic/agent/rpm_agent_test.rb
|
239
|
+
- test/new_relic/agent/sampler_test.rb
|
240
|
+
- test/new_relic/agent/shim_agent_test.rb
|
241
|
+
- test/new_relic/agent/sql_sampler_test.rb
|
242
|
+
- test/new_relic/agent/stats_engine/metric_stats/harvest_test.rb
|
243
|
+
- test/new_relic/agent/stats_engine/metric_stats_test.rb
|
244
|
+
- test/new_relic/agent/stats_engine/samplers_test.rb
|
245
|
+
- test/new_relic/agent/stats_engine_test.rb
|
246
|
+
- test/new_relic/agent/transaction_info_test.rb
|
247
|
+
- test/new_relic/agent/transaction_sample_builder_test.rb
|
248
|
+
- test/new_relic/agent/transaction_sampler_test.rb
|
249
|
+
- test/new_relic/agent/worker_loop_test.rb
|
250
|
+
- test/new_relic/agent_test.rb
|
251
|
+
- test/new_relic/collection_helper_test.rb
|
252
|
+
- test/new_relic/command/deployments_test.rb
|
253
|
+
- test/new_relic/control/class_methods_test.rb
|
254
|
+
- test/new_relic/control/configuration_test.rb
|
255
|
+
- test/new_relic/control/logging_methods_test.rb
|
256
|
+
- test/new_relic/control_test.rb
|
257
|
+
- test/new_relic/data_serialization_test.rb
|
258
|
+
- test/new_relic/delayed_job_injection_test.rb
|
259
|
+
- test/new_relic/fake_collector.rb
|
260
|
+
- test/new_relic/fake_service.rb
|
261
|
+
- test/new_relic/local_environment_test.rb
|
262
|
+
- test/new_relic/metric_data_test.rb
|
263
|
+
- test/new_relic/metric_parser/metric_parser_test.rb
|
264
|
+
- test/new_relic/metric_spec_test.rb
|
265
|
+
- test/new_relic/rack/all_test.rb
|
266
|
+
- test/new_relic/rack/browser_monitoring_test.rb
|
267
|
+
- test/new_relic/rack/developer_mode_helper_test.rb
|
268
|
+
- test/new_relic/rack/developer_mode_test.rb
|
269
|
+
- test/new_relic/stats_test.rb
|
270
|
+
- test/new_relic/transaction_analysis/segment_summary_test.rb
|
271
|
+
- test/new_relic/transaction_analysis_test.rb
|
272
|
+
- test/new_relic/transaction_sample/composite_segment_test.rb
|
273
|
+
- test/new_relic/transaction_sample/fake_segment_test.rb
|
274
|
+
- test/new_relic/transaction_sample/segment_test.rb
|
275
|
+
- test/new_relic/transaction_sample/summary_segment_test.rb
|
276
|
+
- test/new_relic/transaction_sample_subtest_test.rb
|
277
|
+
- test/new_relic/transaction_sample_test.rb
|
278
|
+
- test/new_relic/version_number_test.rb
|
279
|
+
- test/script/build_test_gem.sh
|
280
|
+
- test/script/ci.sh
|
281
|
+
- test/script/ci_agent-tests_runner.sh
|
282
|
+
- test/script/ci_bench.sh
|
283
|
+
- test/script/ci_multiverse_runner.sh
|
284
|
+
- test/test_contexts.rb
|
285
|
+
- test/test_helper.rb
|
286
|
+
- ui/helpers/developer_mode_helper.rb
|
287
|
+
- ui/helpers/google_pie_chart.rb
|
288
|
+
- ui/views/layouts/newrelic_default.rhtml
|
289
|
+
- ui/views/newrelic/_explain_plans.rhtml
|
290
|
+
- ui/views/newrelic/_sample.rhtml
|
291
|
+
- ui/views/newrelic/_segment.rhtml
|
292
|
+
- ui/views/newrelic/_segment_limit_message.rhtml
|
293
|
+
- ui/views/newrelic/_segment_row.rhtml
|
294
|
+
- ui/views/newrelic/_show_sample_detail.rhtml
|
295
|
+
- ui/views/newrelic/_show_sample_sql.rhtml
|
296
|
+
- ui/views/newrelic/_show_sample_summary.rhtml
|
297
|
+
- ui/views/newrelic/_sql_row.rhtml
|
298
|
+
- ui/views/newrelic/_stack_trace.rhtml
|
299
|
+
- ui/views/newrelic/_table.rhtml
|
300
|
+
- ui/views/newrelic/explain_sql.rhtml
|
301
|
+
- ui/views/newrelic/file/images/arrow-close.png
|
302
|
+
- ui/views/newrelic/file/images/arrow-open.png
|
303
|
+
- ui/views/newrelic/file/images/blue_bar.gif
|
304
|
+
- ui/views/newrelic/file/images/file_icon.png
|
305
|
+
- ui/views/newrelic/file/images/gray_bar.gif
|
306
|
+
- ui/views/newrelic/file/images/new-relic-rpm-desktop.gif
|
307
|
+
- ui/views/newrelic/file/images/new_relic_rpm_desktop.gif
|
308
|
+
- ui/views/newrelic/file/images/textmate.png
|
309
|
+
- ui/views/newrelic/file/javascript/jquery-1.4.2.js
|
310
|
+
- ui/views/newrelic/file/javascript/transaction_sample.js
|
311
|
+
- ui/views/newrelic/file/stylesheets/style.css
|
312
|
+
- ui/views/newrelic/index.rhtml
|
313
|
+
- ui/views/newrelic/sample_not_found.rhtml
|
314
|
+
- ui/views/newrelic/show_sample.rhtml
|
315
|
+
- ui/views/newrelic/show_source.rhtml
|
316
|
+
- ui/views/newrelic/threads.rhtml
|
317
|
+
- vendor/gems/dependency_detection-0.0.1.build/LICENSE
|
318
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb
|
319
|
+
- vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection/version.rb
|
320
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/metric_parser.rb
|
321
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser.rb
|
322
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/action_mailer.rb
|
323
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_merchant.rb
|
324
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/active_record.rb
|
325
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/apdex.rb
|
326
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/background_transaction.rb
|
327
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/client.rb
|
328
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller.rb
|
329
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_cpu.rb
|
330
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/controller_ext.rb
|
331
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database.rb
|
332
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/database_pool.rb
|
333
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net.rb
|
334
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/dot_net_parser.rb
|
335
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/errors.rb
|
336
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/external.rb
|
337
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/frontend.rb
|
338
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/gc.rb
|
339
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/hibernate_session.rb
|
340
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java.rb
|
341
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/java_parser.rb
|
342
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp.rb
|
343
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/jsp_tag.rb
|
344
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/mem_cache.rb
|
345
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb
|
346
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/orm.rb
|
347
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/other_transaction.rb
|
348
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet.rb
|
349
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_context_listener.rb
|
350
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/servlet_filter.rb
|
351
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr.rb
|
352
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/solr_request_handler.rb
|
353
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring.rb
|
354
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_controller.rb
|
355
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/spring_view.rb
|
356
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_action.rb
|
357
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/struts_result.rb
|
358
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/version.rb
|
359
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/view.rb
|
360
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_frontend.rb
|
361
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_service.rb
|
362
|
+
- vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/web_transaction.rb
|
336
363
|
homepage: http://www.github.com/newrelic/rpm
|
337
364
|
licenses: []
|
338
365
|
|
@@ -355,32 +382,40 @@ post_install_message: |
|
|
355
382
|
|
356
383
|
Please see http://github.com/newrelic/rpm/blob/master/CHANGELOG
|
357
384
|
for a complete description of the features and enhancements available
|
358
|
-
in version 3.
|
385
|
+
in version 3.4 of the Ruby Agent.
|
359
386
|
|
360
387
|
|
361
388
|
rdoc_options:
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
389
|
+
- --line-numbers
|
390
|
+
- --inline-source
|
391
|
+
- --title
|
392
|
+
- New Relic Ruby Agent
|
366
393
|
require_paths:
|
367
|
-
|
394
|
+
- lib
|
368
395
|
required_ruby_version: !ruby/object:Gem::Requirement
|
369
396
|
none: false
|
370
397
|
requirements:
|
371
|
-
|
372
|
-
|
373
|
-
|
398
|
+
- - ">="
|
399
|
+
- !ruby/object:Gem::Version
|
400
|
+
hash: 3
|
401
|
+
segments:
|
402
|
+
- 0
|
403
|
+
version: "0"
|
374
404
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
375
405
|
none: false
|
376
406
|
requirements:
|
377
|
-
|
378
|
-
|
379
|
-
|
407
|
+
- - ">"
|
408
|
+
- !ruby/object:Gem::Version
|
409
|
+
hash: 25
|
410
|
+
segments:
|
411
|
+
- 1
|
412
|
+
- 3
|
413
|
+
- 1
|
414
|
+
version: 1.3.1
|
380
415
|
requirements: []
|
381
416
|
|
382
417
|
rubyforge_project:
|
383
|
-
rubygems_version: 1.8.
|
418
|
+
rubygems_version: 1.8.24
|
384
419
|
signing_key:
|
385
420
|
specification_version: 3
|
386
421
|
summary: New Relic Ruby Agent
|