newrelic_rpm 2.9.9 → 2.10.3
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 +117 -49
- data/bin/mongrel_rpm +2 -2
- data/install.rb +42 -33
- data/lib/new_relic/agent.rb +149 -39
- data/lib/new_relic/agent/agent.rb +139 -122
- data/lib/new_relic/agent/busy_calculator.rb +91 -0
- data/lib/new_relic/agent/collection_helper.rb +11 -2
- data/lib/new_relic/agent/error_collector.rb +33 -27
- data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +30 -26
- data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -0
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +316 -105
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +22 -0
- data/lib/new_relic/agent/instrumentation/memcache.rb +18 -12
- data/lib/new_relic/agent/instrumentation/merb/errors.rb +2 -1
- data/lib/new_relic/agent/instrumentation/metric_frame.rb +258 -0
- data/lib/new_relic/agent/instrumentation/net.rb +7 -11
- data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +1 -1
- data/lib/new_relic/agent/instrumentation/rack.rb +109 -0
- data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +6 -5
- data/lib/new_relic/agent/instrumentation/rails/errors.rb +7 -7
- data/lib/new_relic/agent/instrumentation/sinatra.rb +46 -0
- data/lib/new_relic/agent/method_tracer.rb +305 -150
- data/lib/new_relic/agent/sampler.rb +34 -0
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +11 -1
- data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +37 -0
- data/lib/new_relic/agent/samplers/memory_sampler.rb +22 -10
- data/lib/new_relic/agent/samplers/object_sampler.rb +24 -0
- data/lib/new_relic/agent/shim_agent.rb +10 -0
- data/lib/new_relic/agent/stats_engine.rb +16 -278
- data/lib/new_relic/agent/stats_engine/metric_stats.rb +118 -0
- data/lib/new_relic/agent/stats_engine/samplers.rb +81 -0
- data/lib/new_relic/agent/stats_engine/transactions.rb +149 -0
- data/lib/new_relic/agent/transaction_sampler.rb +73 -67
- data/lib/new_relic/agent/worker_loop.rb +69 -68
- data/lib/new_relic/commands/deployments.rb +4 -6
- data/lib/new_relic/control.rb +121 -60
- data/lib/new_relic/control/external.rb +13 -0
- data/lib/new_relic/control/merb.rb +2 -0
- data/lib/new_relic/control/rails.rb +16 -6
- data/lib/new_relic/control/ruby.rb +8 -5
- data/lib/new_relic/control/sinatra.rb +18 -0
- data/lib/new_relic/delayed_job_injection.rb +25 -0
- data/lib/new_relic/histogram.rb +89 -0
- data/lib/new_relic/local_environment.rb +64 -30
- data/lib/new_relic/metric_data.rb +15 -6
- data/lib/new_relic/metric_parser.rb +14 -1
- data/lib/new_relic/metric_parser/active_record.rb +14 -0
- data/lib/new_relic/metric_parser/controller.rb +5 -2
- data/lib/new_relic/metric_parser/external.rb +50 -0
- data/lib/new_relic/metric_parser/other_transaction.rb +15 -0
- data/lib/new_relic/metric_parser/web_frontend.rb +14 -0
- data/lib/new_relic/metric_spec.rb +39 -20
- data/lib/new_relic/metrics.rb +9 -7
- data/lib/new_relic/noticed_error.rb +6 -8
- data/lib/new_relic/rack/metric_app.rb +5 -4
- data/lib/new_relic/rack/{newrelic.ru → mongrel_rpm.ru} +4 -4
- data/lib/new_relic/rack/newrelic.yml +1 -0
- data/lib/new_relic/{rack.rb → rack_app.rb} +0 -0
- data/lib/new_relic/recipes.rb +1 -1
- data/lib/new_relic/stats.rb +40 -26
- data/lib/new_relic/transaction_analysis.rb +5 -2
- data/lib/new_relic/transaction_sample.rb +134 -55
- data/lib/new_relic/version.rb +27 -20
- data/lib/new_relic_api.rb +67 -47
- data/lib/newrelic_rpm.rb +5 -5
- data/lib/tasks/tests.rake +2 -0
- data/newrelic.yml +69 -29
- data/test/active_record_fixtures.rb +2 -2
- data/test/config/newrelic.yml +4 -7
- data/test/config/test_control.rb +1 -2
- data/test/new_relic/agent/active_record_instrumentation_test.rb +115 -31
- data/test/new_relic/agent/agent_controller_test.rb +274 -0
- data/test/new_relic/agent/agent_test_controller.rb +42 -6
- data/test/new_relic/agent/busy_calculator_test.rb +79 -0
- data/test/new_relic/agent/collection_helper_test.rb +10 -3
- data/test/new_relic/agent/error_collector_test.rb +35 -17
- data/test/new_relic/agent/method_tracer_test.rb +60 -20
- data/test/new_relic/agent/metric_data_test.rb +2 -2
- data/test/new_relic/agent/metric_frame_test.rb +51 -0
- data/test/new_relic/agent/net_instrumentation_test.rb +77 -0
- data/test/new_relic/agent/{agent_test.rb → rpm_agent_test.rb} +26 -5
- data/test/new_relic/agent/stats_engine/metric_stats_test.rb +79 -0
- data/test/new_relic/{samplers_test.rb → agent/stats_engine/samplers_test.rb} +23 -22
- data/test/new_relic/agent/{stats_engine_test.rb → stats_engine/stats_engine_test.rb} +19 -101
- data/test/new_relic/agent/task_instrumentation_test.rb +176 -0
- data/test/new_relic/agent/transaction_sample_builder_test.rb +2 -2
- data/test/new_relic/agent/transaction_sample_test.rb +53 -38
- data/test/new_relic/agent/transaction_sampler_test.rb +101 -33
- data/test/new_relic/agent/worker_loop_test.rb +16 -14
- data/test/new_relic/control_test.rb +26 -13
- data/test/new_relic/metric_parser_test.rb +31 -1
- data/test/new_relic/metric_spec_test.rb +2 -2
- data/test/new_relic/stats_test.rb +0 -8
- data/test/new_relic/version_number_test.rb +31 -1
- data/test/test_helper.rb +37 -1
- data/ui/controllers/newrelic_controller.rb +19 -11
- data/ui/helpers/google_pie_chart.rb +5 -11
- data/ui/helpers/newrelic_helper.rb +40 -35
- data/ui/views/layouts/newrelic_default.rhtml +7 -7
- data/ui/views/newrelic/_sample.rhtml +5 -1
- data/ui/views/newrelic/images/new-relic-rpm-desktop.gif +0 -0
- data/ui/views/newrelic/images/textmate.png +0 -0
- data/ui/views/newrelic/index.rhtml +13 -1
- data/ui/views/newrelic/show_sample.rhtml +5 -2
- data/ui/views/newrelic/stylesheets/style.css +54 -3
- metadata +65 -145
- data/Manifest +0 -143
- data/Rakefile +0 -22
- data/init.rb +0 -38
- data/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb +0 -127
- data/lib/new_relic/agent/instrumentation/error_instrumentation.rb +0 -14
- data/lib/new_relic/agent/instrumentation/merb/dispatcher.rb +0 -13
- data/lib/new_relic/agent/instrumentation/rails/dispatcher.rb +0 -38
- data/lib/new_relic/agent/patch_const_missing.rb +0 -125
- data/lib/new_relic/agent/samplers/mongrel_sampler.rb +0 -22
- data/lib/new_relic/metric_parser/database.rb +0 -23
- data/newrelic_rpm.gemspec +0 -35
- data/test/new_relic/agent/classloader_patch_test.rb +0 -56
- data/test/new_relic/agent/controller_test.rb +0 -107
- data/test/new_relic/agent/dispatcher_instrumentation_test.rb +0 -70
@@ -1,18 +1,18 @@
|
|
1
1
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
2
2
|
xml:lang="en" lang="en">
|
3
3
|
<head>
|
4
|
-
<script type="text/javascript" src="<%= url_for(:controller => :newrelic, :action => :
|
4
|
+
<script type="text/javascript" src="<%= url_for(:controller => :newrelic, :action => :file, :file => 'prototype-scriptaculous.js') %>"></script>
|
5
5
|
<title>New Relic RPM Developer Mode</title>
|
6
|
-
<link href="<%= url_for(:controller => :newrelic, :action => :
|
6
|
+
<link href="<%= url_for(:controller => :newrelic, :action => :file, :file => 'style.css') %>"
|
7
7
|
media="screen" rel="stylesheet" type="text/css" />
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
<div id="header">
|
11
|
-
<img width="100%" height="4" src="<%= url_for(:controller => :newrelic, :action => :
|
11
|
+
<img width="100%" height="4" src="<%= url_for(:controller => :newrelic, :action => :file, :file => 'blue_bar.gif') %>" alt="spacer"/>
|
12
12
|
<table width="100%" height="60">
|
13
13
|
<tr>
|
14
14
|
<td valign="middle">
|
15
|
-
<a href='/newrelic'><img src="<%= url_for(:controller => :newrelic, :action => :
|
15
|
+
<a href='/newrelic'><img src="<%= url_for(:controller => :newrelic, :action => :file, :file => 'new_relic_rpm_desktop.gif') %>" hspace="10" alt="New Relic RPM"/></a>
|
16
16
|
</td>
|
17
17
|
<td class="top_nav" valign="bottom">
|
18
18
|
<ul id="navlist">
|
@@ -22,7 +22,7 @@
|
|
22
22
|
</tr>
|
23
23
|
</table>
|
24
24
|
<div id="page_nav">
|
25
|
-
<table width="100%" height="100%" background="<%= url_for(:controller => :newrelic, :action => :
|
25
|
+
<table width="100%" height="100%" background="<%= url_for(:controller => :newrelic, :action => :file, :file => 'gray_bar.gif') %>">
|
26
26
|
<tr valign="middle">
|
27
27
|
<td>
|
28
28
|
<span class="application_title">Developer Mode</span>
|
@@ -38,8 +38,8 @@
|
|
38
38
|
<%= yield %>
|
39
39
|
</div>
|
40
40
|
<div id='footer'>
|
41
|
-
<img width="100%" height="4" src="<%= url_for(:controller => :newrelic, :action => :
|
42
|
-
|
41
|
+
<img width="100%" height="4" src="<%= url_for(:controller => :newrelic, :action => :file, :file => 'blue_bar.gif', :content_type => 'image/gif') %>" alt="spacer"/>
|
42
|
+
<p>
|
43
43
|
<a href="/newrelic">Home</a> | <a href="mailto:support@newrelic.com?subject=Feedback" title="">Feedback</a><br />
|
44
44
|
Monitor your Rails Application in Production. <a href="http://www.newrelic.com/dev-upgrade.html">Learn more. »</a><br />
|
45
45
|
© 2008 - <%= Time.now.strftime('%Y') %> New Relic. All rights reserved.</p>
|
@@ -9,7 +9,11 @@
|
|
9
9
|
<%= link_to "#{sample.params[:uri]}", :action => :show_sample_summary, :id => sample.sample_id %>
|
10
10
|
</td>
|
11
11
|
<td>
|
12
|
-
|
12
|
+
<% if sample.profile %>
|
13
|
+
<%= link_to "[Profile]", :action => :show_sample_summary, :id => sample.sample_id %>
|
14
|
+
<% else %>
|
15
|
+
<%= link_to "[Detail]", :action => :show_sample_detail, :id => sample.sample_id %><br/>
|
13
16
|
<%= link_to "[SQL (#{sample.sql_segments.size})]", :action => :show_sample_sql, :id => sample.sample_id %>
|
17
|
+
<% end %>
|
14
18
|
</td>
|
15
19
|
</tr>
|
Binary file
|
Binary file
|
@@ -20,7 +20,19 @@
|
|
20
20
|
</td>
|
21
21
|
<td valign=top>
|
22
22
|
<%= link_to_if @samples.size > 0, "Clear Transactions (#{@samples.size})", :action => 'reset' %><br/>
|
23
|
-
<%= link_to "List Threads", :action => 'threads'
|
23
|
+
<%= link_to "List Threads", :action => 'threads' %><br/>
|
24
|
+
<% if NewRelic::Control.instance.profiling_available? %>
|
25
|
+
<p><b>Profiling available:</b>
|
26
|
+
<% if NewRelic::Control.instance.profiling? %>
|
27
|
+
<%= link_to "Stop Profiling", :action => 'profile', :stop => true %>
|
28
|
+
<% else %>
|
29
|
+
<%= link_to "Start Profiling", :action => 'profile', :start => true %>
|
30
|
+
<% end %>
|
31
|
+
</p>
|
32
|
+
<% else %>
|
33
|
+
<p>You can use the ruby-prof gem to display profiles of your actions with Developer Mode. Just
|
34
|
+
install the ruby-prof gem and restart your app.</p>
|
35
|
+
<% end %>
|
24
36
|
<h3>Welcome</h3>
|
25
37
|
<p>
|
26
38
|
Welcome to <b>New Relic RPM Developer Mode</b>. This Rails extension traces the performance activity
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<script type="text/javascript" src="<%= url_for(:controller => :newrelic, :action => :
|
1
|
+
<script type="text/javascript" src="<%= url_for(:controller => :newrelic, :action => :file, :file => 'transaction_sample.js') %>"></script>
|
2
2
|
<div id='summary_table'>
|
3
3
|
<table class="light_background">
|
4
4
|
<tr>
|
@@ -61,17 +61,20 @@
|
|
61
61
|
|
62
62
|
<br/>
|
63
63
|
<div id="view_sample">
|
64
|
+
<% if @sample.profile %>
|
65
|
+
<%= profile_table(@sample.profile) %>
|
66
|
+
<% else %>
|
64
67
|
<div align=center width="100%">
|
65
68
|
<%= show_view_link 'Summary', 'show_sample_summary' %>
|
66
69
|
<%= show_view_link 'Details', 'show_sample_detail' %>
|
67
70
|
<%= show_view_link 'SQL', 'show_sample_sql' %>
|
68
71
|
</div>
|
69
72
|
<br/>
|
70
|
-
|
71
73
|
<%= %w[show_sample_summary show_sample_sql show_sample_detail].collect do |p|
|
72
74
|
options = {:align => 'center', :id => p}
|
73
75
|
options[:style] = 'display: none' unless p == params[:action]
|
74
76
|
content_tag('div', render(:partial => p), options)
|
75
77
|
end.join(' ')%>
|
78
|
+
<% end -%>
|
76
79
|
|
77
80
|
</div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
/*
|
4
4
|
Originally based on the theme credited below.
|
5
|
-
Tweaks by Lew Cirne for
|
5
|
+
Tweaks by Lew Cirne and Victoria Wesson for New Relic
|
6
6
|
|
7
7
|
Theme Name: Simpla
|
8
8
|
Theme URI: http://ifelse.co.uk/simpla/
|
@@ -12,6 +12,57 @@ Author: Phu Ly
|
|
12
12
|
Author URI: http://ifelse.co.uk/
|
13
13
|
*/
|
14
14
|
|
15
|
+
/*****************************
|
16
|
+
* Profile
|
17
|
+
*****************************/
|
18
|
+
|
19
|
+
table.profile {
|
20
|
+
border-collapse: collapse;
|
21
|
+
border: 1px solid #CCC;
|
22
|
+
font-size: 9pt;
|
23
|
+
line-height: normal;
|
24
|
+
padding: 0.3em;
|
25
|
+
width: 100%;
|
26
|
+
}
|
27
|
+
|
28
|
+
table.profile th {
|
29
|
+
text-align: left;
|
30
|
+
border-top: 1px solid #aaaaaa;
|
31
|
+
border-bottom: 1px solid #aaaaaa;
|
32
|
+
background: #dddddd;
|
33
|
+
border-left: 1px solid silver;
|
34
|
+
}
|
35
|
+
|
36
|
+
table.profile tr.break td {
|
37
|
+
border: 0;
|
38
|
+
border-top: 1px solid #aaaaaa;
|
39
|
+
border-bottom: 1px solid #aaaaaa;
|
40
|
+
padding: 4px;
|
41
|
+
margin: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
table.profile tr.method td {
|
45
|
+
font-weight: bold;
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
table.profile td:first-child {
|
50
|
+
width: 190px;
|
51
|
+
}
|
52
|
+
|
53
|
+
table.profile td
|
54
|
+
{
|
55
|
+
border-left: 1px solid #CCC;
|
56
|
+
text-align: left;
|
57
|
+
vertical-align: top;
|
58
|
+
}
|
59
|
+
|
60
|
+
table.profile .method_name {
|
61
|
+
text-align: left;
|
62
|
+
}
|
63
|
+
|
64
|
+
|
65
|
+
|
15
66
|
/*************************************
|
16
67
|
+Containers
|
17
68
|
*************************************/
|
@@ -104,7 +155,7 @@ p
|
|
104
155
|
/*************************************
|
105
156
|
+Misc
|
106
157
|
*************************************/
|
107
|
-
a{
|
158
|
+
a:link, a:visited, a:active {
|
108
159
|
color:#116677;
|
109
160
|
text-decoration:none;
|
110
161
|
}
|
@@ -146,7 +197,7 @@ td.locals
|
|
146
197
|
}
|
147
198
|
|
148
199
|
/*************************************
|
149
|
-
+
|
200
|
+
+New Relic Specific - need to preserve
|
150
201
|
*************************************/
|
151
202
|
.light_background
|
152
203
|
{
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Kayser
|
@@ -9,165 +9,105 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-02-13 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
description: New Relic Ruby Performance Monitoring Agent
|
26
|
-
email: bkayser@newrelic.com
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: |
|
17
|
+
New Relic RPM is a Ruby performance management system, developed by
|
18
|
+
New Relic, Inc (http://www.newrelic.com). RPM provides you with deep
|
19
|
+
information about the performance of your Ruby on Rails or Merb
|
20
|
+
application as it runs in production. The New Relic Agent is
|
21
|
+
dual-purposed as a either a Rails plugin or a Gem, hosted on
|
22
|
+
http://github.com/newrelic/rpm/tree/master.
|
23
|
+
|
24
|
+
email: support@newrelic.com
|
27
25
|
executables:
|
28
26
|
- mongrel_rpm
|
29
27
|
- newrelic_cmd
|
30
28
|
extensions: []
|
31
29
|
|
32
30
|
extra_rdoc_files:
|
33
|
-
- bin/mongrel_rpm
|
34
|
-
- bin/newrelic_cmd
|
35
31
|
- CHANGELOG
|
36
|
-
- lib/new_relic/agent/agent.rb
|
37
|
-
- lib/new_relic/agent/chained_call.rb
|
38
|
-
- lib/new_relic/agent/collection_helper.rb
|
39
|
-
- lib/new_relic/agent/error_collector.rb
|
40
|
-
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
41
|
-
- lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
|
42
|
-
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
43
|
-
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
44
|
-
- lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb
|
45
|
-
- lib/new_relic/agent/instrumentation/error_instrumentation.rb
|
46
|
-
- lib/new_relic/agent/instrumentation/memcache.rb
|
47
|
-
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
48
|
-
- lib/new_relic/agent/instrumentation/merb/dispatcher.rb
|
49
|
-
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
50
|
-
- lib/new_relic/agent/instrumentation/net.rb
|
51
|
-
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
52
|
-
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
53
|
-
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
54
|
-
- lib/new_relic/agent/instrumentation/rails/dispatcher.rb
|
55
|
-
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
56
|
-
- lib/new_relic/agent/method_tracer.rb
|
57
|
-
- lib/new_relic/agent/patch_const_missing.rb
|
58
|
-
- lib/new_relic/agent/sampler.rb
|
59
|
-
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
60
|
-
- lib/new_relic/agent/samplers/memory_sampler.rb
|
61
|
-
- lib/new_relic/agent/samplers/mongrel_sampler.rb
|
62
|
-
- lib/new_relic/agent/shim_agent.rb
|
63
|
-
- lib/new_relic/agent/stats_engine.rb
|
64
|
-
- lib/new_relic/agent/transaction_sampler.rb
|
65
|
-
- lib/new_relic/agent/worker_loop.rb
|
66
|
-
- lib/new_relic/agent.rb
|
67
|
-
- lib/new_relic/commands/deployments.rb
|
68
|
-
- lib/new_relic/commands/new_relic_commands.rb
|
69
|
-
- lib/new_relic/control/merb.rb
|
70
|
-
- lib/new_relic/control/rails.rb
|
71
|
-
- lib/new_relic/control/ruby.rb
|
72
|
-
- lib/new_relic/control.rb
|
73
|
-
- lib/new_relic/local_environment.rb
|
74
|
-
- lib/new_relic/merbtasks.rb
|
75
|
-
- lib/new_relic/metric_data.rb
|
76
|
-
- lib/new_relic/metric_parser/action_mailer.rb
|
77
|
-
- lib/new_relic/metric_parser/active_merchant.rb
|
78
|
-
- lib/new_relic/metric_parser/active_record.rb
|
79
|
-
- lib/new_relic/metric_parser/controller.rb
|
80
|
-
- lib/new_relic/metric_parser/controller_cpu.rb
|
81
|
-
- lib/new_relic/metric_parser/database.rb
|
82
|
-
- lib/new_relic/metric_parser/errors.rb
|
83
|
-
- lib/new_relic/metric_parser/mem_cache.rb
|
84
|
-
- lib/new_relic/metric_parser/view.rb
|
85
|
-
- lib/new_relic/metric_parser/web_service.rb
|
86
|
-
- lib/new_relic/metric_parser.rb
|
87
|
-
- lib/new_relic/metric_spec.rb
|
88
|
-
- lib/new_relic/metrics.rb
|
89
|
-
- lib/new_relic/noticed_error.rb
|
90
|
-
- lib/new_relic/rack/metric_app.rb
|
91
|
-
- lib/new_relic/rack/newrelic.ru
|
92
|
-
- lib/new_relic/rack/newrelic.yml
|
93
|
-
- lib/new_relic/rack.rb
|
94
|
-
- lib/new_relic/recipes.rb
|
95
|
-
- lib/new_relic/stats.rb
|
96
|
-
- lib/new_relic/transaction_analysis.rb
|
97
|
-
- lib/new_relic/transaction_sample.rb
|
98
|
-
- lib/new_relic/version.rb
|
99
|
-
- lib/new_relic_api.rb
|
100
|
-
- lib/newrelic_rpm.rb
|
101
|
-
- lib/tasks/all.rb
|
102
|
-
- lib/tasks/install.rake
|
103
|
-
- lib/tasks/tests.rake
|
104
32
|
- LICENSE
|
105
33
|
- README.md
|
106
34
|
files:
|
35
|
+
- CHANGELOG
|
36
|
+
- LICENSE
|
37
|
+
- README.md
|
107
38
|
- bin/mongrel_rpm
|
108
39
|
- bin/newrelic_cmd
|
109
40
|
- cert/cacert.pem
|
110
|
-
- CHANGELOG
|
111
|
-
- init.rb
|
112
41
|
- install.rb
|
42
|
+
- lib/new_relic/agent.rb
|
113
43
|
- lib/new_relic/agent/agent.rb
|
44
|
+
- lib/new_relic/agent/busy_calculator.rb
|
114
45
|
- lib/new_relic/agent/chained_call.rb
|
115
46
|
- lib/new_relic/agent/collection_helper.rb
|
116
47
|
- lib/new_relic/agent/error_collector.rb
|
117
48
|
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
118
49
|
- lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
|
50
|
+
- lib/new_relic/agent/instrumentation/authlogic.rb
|
119
51
|
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
120
52
|
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
121
|
-
- lib/new_relic/agent/instrumentation/
|
122
|
-
- lib/new_relic/agent/instrumentation/error_instrumentation.rb
|
53
|
+
- lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
|
123
54
|
- lib/new_relic/agent/instrumentation/memcache.rb
|
124
55
|
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
125
|
-
- lib/new_relic/agent/instrumentation/merb/dispatcher.rb
|
126
56
|
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
57
|
+
- lib/new_relic/agent/instrumentation/metric_frame.rb
|
127
58
|
- lib/new_relic/agent/instrumentation/net.rb
|
128
59
|
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
60
|
+
- lib/new_relic/agent/instrumentation/rack.rb
|
129
61
|
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
130
62
|
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
131
|
-
- lib/new_relic/agent/instrumentation/rails/dispatcher.rb
|
132
63
|
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
64
|
+
- lib/new_relic/agent/instrumentation/sinatra.rb
|
133
65
|
- lib/new_relic/agent/method_tracer.rb
|
134
|
-
- lib/new_relic/agent/patch_const_missing.rb
|
135
66
|
- lib/new_relic/agent/sampler.rb
|
136
67
|
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
68
|
+
- lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb
|
137
69
|
- lib/new_relic/agent/samplers/memory_sampler.rb
|
138
|
-
- lib/new_relic/agent/samplers/
|
70
|
+
- lib/new_relic/agent/samplers/object_sampler.rb
|
139
71
|
- lib/new_relic/agent/shim_agent.rb
|
140
72
|
- lib/new_relic/agent/stats_engine.rb
|
73
|
+
- lib/new_relic/agent/stats_engine/metric_stats.rb
|
74
|
+
- lib/new_relic/agent/stats_engine/samplers.rb
|
75
|
+
- lib/new_relic/agent/stats_engine/transactions.rb
|
141
76
|
- lib/new_relic/agent/transaction_sampler.rb
|
142
77
|
- lib/new_relic/agent/worker_loop.rb
|
143
|
-
- lib/new_relic/agent.rb
|
144
78
|
- lib/new_relic/commands/deployments.rb
|
145
79
|
- lib/new_relic/commands/new_relic_commands.rb
|
80
|
+
- lib/new_relic/control.rb
|
81
|
+
- lib/new_relic/control/external.rb
|
146
82
|
- lib/new_relic/control/merb.rb
|
147
83
|
- lib/new_relic/control/rails.rb
|
148
84
|
- lib/new_relic/control/ruby.rb
|
149
|
-
- lib/new_relic/control.rb
|
85
|
+
- lib/new_relic/control/sinatra.rb
|
86
|
+
- lib/new_relic/delayed_job_injection.rb
|
87
|
+
- lib/new_relic/histogram.rb
|
150
88
|
- lib/new_relic/local_environment.rb
|
151
89
|
- lib/new_relic/merbtasks.rb
|
152
90
|
- lib/new_relic/metric_data.rb
|
91
|
+
- lib/new_relic/metric_parser.rb
|
153
92
|
- lib/new_relic/metric_parser/action_mailer.rb
|
154
93
|
- lib/new_relic/metric_parser/active_merchant.rb
|
155
94
|
- lib/new_relic/metric_parser/active_record.rb
|
156
95
|
- lib/new_relic/metric_parser/controller.rb
|
157
96
|
- lib/new_relic/metric_parser/controller_cpu.rb
|
158
|
-
- lib/new_relic/metric_parser/database.rb
|
159
97
|
- lib/new_relic/metric_parser/errors.rb
|
98
|
+
- lib/new_relic/metric_parser/external.rb
|
160
99
|
- lib/new_relic/metric_parser/mem_cache.rb
|
100
|
+
- lib/new_relic/metric_parser/other_transaction.rb
|
161
101
|
- lib/new_relic/metric_parser/view.rb
|
102
|
+
- lib/new_relic/metric_parser/web_frontend.rb
|
162
103
|
- lib/new_relic/metric_parser/web_service.rb
|
163
|
-
- lib/new_relic/metric_parser.rb
|
164
104
|
- lib/new_relic/metric_spec.rb
|
165
105
|
- lib/new_relic/metrics.rb
|
166
106
|
- lib/new_relic/noticed_error.rb
|
167
107
|
- lib/new_relic/rack/metric_app.rb
|
168
|
-
- lib/new_relic/rack/
|
108
|
+
- lib/new_relic/rack/mongrel_rpm.ru
|
169
109
|
- lib/new_relic/rack/newrelic.yml
|
170
|
-
- lib/new_relic/
|
110
|
+
- lib/new_relic/rack_app.rb
|
171
111
|
- lib/new_relic/recipes.rb
|
172
112
|
- lib/new_relic/stats.rb
|
173
113
|
- lib/new_relic/transaction_analysis.rb
|
@@ -178,27 +118,28 @@ files:
|
|
178
118
|
- lib/tasks/all.rb
|
179
119
|
- lib/tasks/install.rake
|
180
120
|
- lib/tasks/tests.rake
|
181
|
-
- LICENSE
|
182
121
|
- newrelic.yml
|
183
|
-
- Rakefile
|
184
|
-
- README.md
|
185
122
|
- recipes/newrelic.rb
|
186
123
|
- test/active_record_fixtures.rb
|
187
124
|
- test/config/newrelic.yml
|
188
125
|
- test/config/test_control.rb
|
189
126
|
- test/new_relic/agent/active_record_instrumentation_test.rb
|
190
|
-
- test/new_relic/agent/
|
127
|
+
- test/new_relic/agent/agent_controller_test.rb
|
191
128
|
- test/new_relic/agent/agent_test_controller.rb
|
192
|
-
- test/new_relic/agent/
|
129
|
+
- test/new_relic/agent/busy_calculator_test.rb
|
193
130
|
- test/new_relic/agent/collection_helper_test.rb
|
194
|
-
- test/new_relic/agent/controller_test.rb
|
195
|
-
- test/new_relic/agent/dispatcher_instrumentation_test.rb
|
196
131
|
- test/new_relic/agent/error_collector_test.rb
|
197
132
|
- test/new_relic/agent/method_tracer_test.rb
|
198
133
|
- test/new_relic/agent/metric_data_test.rb
|
134
|
+
- test/new_relic/agent/metric_frame_test.rb
|
199
135
|
- test/new_relic/agent/mock_ar_connection.rb
|
200
136
|
- test/new_relic/agent/mock_scope_listener.rb
|
201
|
-
- test/new_relic/agent/
|
137
|
+
- test/new_relic/agent/net_instrumentation_test.rb
|
138
|
+
- test/new_relic/agent/rpm_agent_test.rb
|
139
|
+
- test/new_relic/agent/stats_engine/metric_stats_test.rb
|
140
|
+
- test/new_relic/agent/stats_engine/samplers_test.rb
|
141
|
+
- test/new_relic/agent/stats_engine/stats_engine_test.rb
|
142
|
+
- test/new_relic/agent/task_instrumentation_test.rb
|
202
143
|
- test/new_relic/agent/testable_agent.rb
|
203
144
|
- test/new_relic/agent/transaction_sample_builder_test.rb
|
204
145
|
- test/new_relic/agent/transaction_sample_test.rb
|
@@ -209,7 +150,6 @@ files:
|
|
209
150
|
- test/new_relic/environment_test.rb
|
210
151
|
- test/new_relic/metric_parser_test.rb
|
211
152
|
- test/new_relic/metric_spec_test.rb
|
212
|
-
- test/new_relic/samplers_test.rb
|
213
153
|
- test/new_relic/shim_agent_test.rb
|
214
154
|
- test/new_relic/stats_test.rb
|
215
155
|
- test/new_relic/version_number_test.rb
|
@@ -237,7 +177,9 @@ files:
|
|
237
177
|
- ui/views/newrelic/images/blue_bar.gif
|
238
178
|
- ui/views/newrelic/images/file_icon.png
|
239
179
|
- ui/views/newrelic/images/gray_bar.gif
|
180
|
+
- ui/views/newrelic/images/new-relic-rpm-desktop.gif
|
240
181
|
- ui/views/newrelic/images/new_relic_rpm_desktop.gif
|
182
|
+
- ui/views/newrelic/images/textmate.png
|
241
183
|
- ui/views/newrelic/index.rhtml
|
242
184
|
- ui/views/newrelic/javascript/prototype-scriptaculous.js
|
243
185
|
- ui/views/newrelic/javascript/transaction_sample.js
|
@@ -246,20 +188,24 @@ files:
|
|
246
188
|
- ui/views/newrelic/show_source.rhtml
|
247
189
|
- ui/views/newrelic/stylesheets/style.css
|
248
190
|
- ui/views/newrelic/threads.rhtml
|
249
|
-
- Manifest
|
250
|
-
- newrelic_rpm.gemspec
|
251
191
|
has_rdoc: true
|
252
|
-
homepage: http://www.
|
192
|
+
homepage: http://www.github.com/newrelic/rpm
|
253
193
|
licenses: []
|
254
194
|
|
255
|
-
post_install_message:
|
195
|
+
post_install_message: |+
|
196
|
+
|
197
|
+
Please see http://support.newrelic.com/faqs/docs/ruby-agent-release-notes
|
198
|
+
for a complete description of the features and enhancements available
|
199
|
+
in version 2.10 of the Ruby Agent.
|
200
|
+
|
201
|
+
For details on this specific release, refer to the CHANGELOG file.
|
202
|
+
|
256
203
|
rdoc_options:
|
204
|
+
- --charset=UTF-8
|
257
205
|
- --line-numbers
|
258
206
|
- --inline-source
|
259
207
|
- --title
|
260
|
-
-
|
261
|
-
- --main
|
262
|
-
- README.md
|
208
|
+
- New Relic RPM
|
263
209
|
require_paths:
|
264
210
|
- lib
|
265
211
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -272,40 +218,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
218
|
requirements:
|
273
219
|
- - ">="
|
274
220
|
- !ruby/object:Gem::Version
|
275
|
-
version: "
|
221
|
+
version: "0"
|
276
222
|
version:
|
277
223
|
requirements: []
|
278
224
|
|
279
|
-
rubyforge_project:
|
225
|
+
rubyforge_project:
|
280
226
|
rubygems_version: 1.3.5
|
281
227
|
signing_key:
|
282
228
|
specification_version: 3
|
283
229
|
summary: New Relic Ruby Performance Monitoring Agent
|
284
|
-
test_files:
|
285
|
-
|
286
|
-
- test/new_relic/agent/active_record_instrumentation_test.rb
|
287
|
-
- test/new_relic/agent/agent_test.rb
|
288
|
-
- test/new_relic/agent/classloader_patch_test.rb
|
289
|
-
- test/new_relic/agent/collection_helper_test.rb
|
290
|
-
- test/new_relic/agent/controller_test.rb
|
291
|
-
- test/new_relic/agent/dispatcher_instrumentation_test.rb
|
292
|
-
- test/new_relic/agent/error_collector_test.rb
|
293
|
-
- test/new_relic/agent/method_tracer_test.rb
|
294
|
-
- test/new_relic/agent/metric_data_test.rb
|
295
|
-
- test/new_relic/agent/stats_engine_test.rb
|
296
|
-
- test/new_relic/agent/transaction_sample_builder_test.rb
|
297
|
-
- test/new_relic/agent/transaction_sample_test.rb
|
298
|
-
- test/new_relic/agent/transaction_sampler_test.rb
|
299
|
-
- test/new_relic/agent/worker_loop_test.rb
|
300
|
-
- test/new_relic/control_test.rb
|
301
|
-
- test/new_relic/deployments_api_test.rb
|
302
|
-
- test/new_relic/environment_test.rb
|
303
|
-
- test/new_relic/metric_parser_test.rb
|
304
|
-
- test/new_relic/metric_spec_test.rb
|
305
|
-
- test/new_relic/samplers_test.rb
|
306
|
-
- test/new_relic/shim_agent_test.rb
|
307
|
-
- test/new_relic/stats_test.rb
|
308
|
-
- test/new_relic/version_number_test.rb
|
309
|
-
- test/test_helper.rb
|
310
|
-
- test/ui/newrelic_controller_test.rb
|
311
|
-
- test/ui/newrelic_helper_test.rb
|
230
|
+
test_files: []
|
231
|
+
|