honkster-newrelic_rpm 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +462 -0
- data/LICENSE +37 -0
- data/README.rdoc +172 -0
- data/bin/mongrel_rpm +33 -0
- data/bin/newrelic +13 -0
- data/bin/newrelic_cmd +5 -0
- data/cert/cacert.pem +34 -0
- data/install.rb +9 -0
- data/lib/new_relic/agent.rb +382 -0
- data/lib/new_relic/agent/agent.rb +741 -0
- data/lib/new_relic/agent/busy_calculator.rb +91 -0
- data/lib/new_relic/agent/chained_call.rb +13 -0
- data/lib/new_relic/agent/error_collector.rb +131 -0
- data/lib/new_relic/agent/instrumentation/active_merchant.rb +18 -0
- data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +92 -0
- data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +45 -0
- data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -0
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +409 -0
- data/lib/new_relic/agent/instrumentation/data_mapper.rb +58 -0
- data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +22 -0
- data/lib/new_relic/agent/instrumentation/memcache.rb +40 -0
- data/lib/new_relic/agent/instrumentation/merb/controller.rb +26 -0
- data/lib/new_relic/agent/instrumentation/merb/errors.rb +9 -0
- data/lib/new_relic/agent/instrumentation/metric_frame.rb +319 -0
- data/lib/new_relic/agent/instrumentation/net.rb +17 -0
- data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +22 -0
- data/lib/new_relic/agent/instrumentation/rack.rb +98 -0
- data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +59 -0
- data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +27 -0
- data/lib/new_relic/agent/instrumentation/rails/errors.rb +24 -0
- data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +45 -0
- data/lib/new_relic/agent/instrumentation/rails3/errors.rb +21 -0
- data/lib/new_relic/agent/instrumentation/sinatra.rb +46 -0
- data/lib/new_relic/agent/instrumentation/sunspot.rb +17 -0
- data/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb +10 -0
- data/lib/new_relic/agent/method_tracer.rb +350 -0
- data/lib/new_relic/agent/sampler.rb +50 -0
- data/lib/new_relic/agent/samplers/cpu_sampler.rb +54 -0
- data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +37 -0
- data/lib/new_relic/agent/samplers/memory_sampler.rb +142 -0
- data/lib/new_relic/agent/samplers/object_sampler.rb +24 -0
- data/lib/new_relic/agent/shim_agent.rb +25 -0
- data/lib/new_relic/agent/stats_engine.rb +24 -0
- data/lib/new_relic/agent/stats_engine/metric_stats.rb +118 -0
- data/lib/new_relic/agent/stats_engine/samplers.rb +83 -0
- data/lib/new_relic/agent/stats_engine/transactions.rb +149 -0
- data/lib/new_relic/agent/transaction_sampler.rb +330 -0
- data/lib/new_relic/agent/worker_loop.rb +81 -0
- data/lib/new_relic/collection_helper.rb +71 -0
- data/lib/new_relic/command.rb +85 -0
- data/lib/new_relic/commands/deployments.rb +105 -0
- data/lib/new_relic/commands/install.rb +81 -0
- data/lib/new_relic/control.rb +203 -0
- data/lib/new_relic/control/configuration.rb +149 -0
- data/lib/new_relic/control/frameworks/external.rb +13 -0
- data/lib/new_relic/control/frameworks/merb.rb +24 -0
- data/lib/new_relic/control/frameworks/rails.rb +126 -0
- data/lib/new_relic/control/frameworks/rails3.rb +60 -0
- data/lib/new_relic/control/frameworks/ruby.rb +36 -0
- data/lib/new_relic/control/frameworks/sinatra.rb +18 -0
- data/lib/new_relic/control/instrumentation.rb +95 -0
- data/lib/new_relic/control/logging_methods.rb +74 -0
- data/lib/new_relic/control/profiling.rb +24 -0
- data/lib/new_relic/control/server_methods.rb +88 -0
- data/lib/new_relic/delayed_job_injection.rb +27 -0
- data/lib/new_relic/histogram.rb +91 -0
- data/lib/new_relic/local_environment.rb +333 -0
- data/lib/new_relic/merbtasks.rb +6 -0
- data/lib/new_relic/metric_data.rb +42 -0
- data/lib/new_relic/metric_parser.rb +136 -0
- data/lib/new_relic/metric_parser/action_mailer.rb +9 -0
- data/lib/new_relic/metric_parser/active_merchant.rb +26 -0
- data/lib/new_relic/metric_parser/active_record.rb +28 -0
- data/lib/new_relic/metric_parser/apdex.rb +88 -0
- data/lib/new_relic/metric_parser/controller.rb +62 -0
- data/lib/new_relic/metric_parser/controller_cpu.rb +38 -0
- data/lib/new_relic/metric_parser/errors.rb +6 -0
- data/lib/new_relic/metric_parser/external.rb +50 -0
- data/lib/new_relic/metric_parser/mem_cache.rb +50 -0
- data/lib/new_relic/metric_parser/other_transaction.rb +36 -0
- data/lib/new_relic/metric_parser/view.rb +61 -0
- data/lib/new_relic/metric_parser/web_frontend.rb +14 -0
- data/lib/new_relic/metric_parser/web_service.rb +9 -0
- data/lib/new_relic/metric_spec.rb +67 -0
- data/lib/new_relic/metrics.rb +9 -0
- data/lib/new_relic/noticed_error.rb +24 -0
- data/lib/new_relic/rack/developer_mode.rb +257 -0
- data/lib/new_relic/rack/metric_app.rb +64 -0
- data/lib/new_relic/rack/mongrel_rpm.ru +26 -0
- data/lib/new_relic/rack/newrelic.yml +27 -0
- data/lib/new_relic/rack_app.rb +6 -0
- data/lib/new_relic/recipes.rb +82 -0
- data/lib/new_relic/stats.rb +368 -0
- data/lib/new_relic/timer_lib.rb +27 -0
- data/lib/new_relic/transaction_analysis.rb +119 -0
- data/lib/new_relic/transaction_sample.rb +586 -0
- data/lib/new_relic/url_rule.rb +14 -0
- data/lib/new_relic/version.rb +55 -0
- data/lib/new_relic_api.rb +276 -0
- data/lib/newrelic_rpm.rb +49 -0
- data/lib/tasks/all.rb +4 -0
- data/lib/tasks/install.rake +7 -0
- data/lib/tasks/tests.rake +15 -0
- data/newrelic.yml +246 -0
- data/newrelic_rpm.gemspec +254 -0
- data/recipes/newrelic.rb +6 -0
- data/test/active_record_fixtures.rb +55 -0
- data/test/config/newrelic.yml +48 -0
- data/test/config/test_control.rb +36 -0
- data/test/new_relic/agent/active_record_instrumentation_test.rb +286 -0
- data/test/new_relic/agent/agent_controller_test.rb +294 -0
- data/test/new_relic/agent/agent_test_controller.rb +77 -0
- data/test/new_relic/agent/busy_calculator_test.rb +81 -0
- data/test/new_relic/agent/collection_helper_test.rb +125 -0
- data/test/new_relic/agent/error_collector_test.rb +163 -0
- data/test/new_relic/agent/memcache_instrumentation_test.rb +103 -0
- data/test/new_relic/agent/method_tracer_test.rb +340 -0
- data/test/new_relic/agent/metric_data_test.rb +53 -0
- data/test/new_relic/agent/metric_frame_test.rb +51 -0
- data/test/new_relic/agent/mock_scope_listener.rb +23 -0
- data/test/new_relic/agent/net_instrumentation_test.rb +77 -0
- data/test/new_relic/agent/rpm_agent_test.rb +142 -0
- data/test/new_relic/agent/stats_engine/metric_stats_test.rb +79 -0
- data/test/new_relic/agent/stats_engine/samplers_test.rb +72 -0
- data/test/new_relic/agent/stats_engine/stats_engine_test.rb +184 -0
- data/test/new_relic/agent/task_instrumentation_test.rb +188 -0
- data/test/new_relic/agent/testable_agent.rb +13 -0
- data/test/new_relic/agent/transaction_sample_builder_test.rb +195 -0
- data/test/new_relic/agent/transaction_sample_test.rb +192 -0
- data/test/new_relic/agent/transaction_sampler_test.rb +385 -0
- data/test/new_relic/agent/worker_loop_test.rb +66 -0
- data/test/new_relic/control_test.rb +127 -0
- data/test/new_relic/deployments_api_test.rb +69 -0
- data/test/new_relic/environment_test.rb +75 -0
- data/test/new_relic/metric_parser_test.rb +226 -0
- data/test/new_relic/metric_spec_test.rb +177 -0
- data/test/new_relic/rack/episodes_test.rb +318 -0
- data/test/new_relic/shim_agent_test.rb +9 -0
- data/test/new_relic/stats_test.rb +312 -0
- data/test/new_relic/version_number_test.rb +89 -0
- data/test/test_contexts.rb +28 -0
- data/test/test_helper.rb +72 -0
- data/ui/helpers/developer_mode_helper.rb +359 -0
- data/ui/helpers/google_pie_chart.rb +49 -0
- data/ui/views/layouts/newrelic_default.rhtml +47 -0
- data/ui/views/newrelic/_explain_plans.rhtml +27 -0
- data/ui/views/newrelic/_sample.rhtml +20 -0
- data/ui/views/newrelic/_segment.rhtml +29 -0
- data/ui/views/newrelic/_segment_limit_message.rhtml +1 -0
- data/ui/views/newrelic/_segment_row.rhtml +14 -0
- data/ui/views/newrelic/_show_sample_detail.rhtml +24 -0
- data/ui/views/newrelic/_show_sample_sql.rhtml +20 -0
- data/ui/views/newrelic/_show_sample_summary.rhtml +3 -0
- data/ui/views/newrelic/_sql_row.rhtml +16 -0
- data/ui/views/newrelic/_stack_trace.rhtml +15 -0
- data/ui/views/newrelic/_table.rhtml +12 -0
- data/ui/views/newrelic/explain_sql.rhtml +43 -0
- data/ui/views/newrelic/file/images/arrow-close.png +0 -0
- data/ui/views/newrelic/file/images/arrow-open.png +0 -0
- data/ui/views/newrelic/file/images/blue_bar.gif +0 -0
- data/ui/views/newrelic/file/images/file_icon.png +0 -0
- data/ui/views/newrelic/file/images/gray_bar.gif +0 -0
- data/ui/views/newrelic/file/images/new-relic-rpm-desktop.gif +0 -0
- data/ui/views/newrelic/file/images/new_relic_rpm_desktop.gif +0 -0
- data/ui/views/newrelic/file/images/textmate.png +0 -0
- data/ui/views/newrelic/file/javascript/jquery-1.4.2.js +6240 -0
- data/ui/views/newrelic/file/javascript/transaction_sample.js +120 -0
- data/ui/views/newrelic/file/stylesheets/style.css +484 -0
- data/ui/views/newrelic/index.rhtml +59 -0
- data/ui/views/newrelic/sample_not_found.rhtml +2 -0
- data/ui/views/newrelic/show_sample.rhtml +79 -0
- data/ui/views/newrelic/show_source.rhtml +3 -0
- data/ui/views/newrelic/threads.rhtml +52 -0
- metadata +307 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
<table>
|
2
|
+
<tr>
|
3
|
+
<td valign=top>
|
4
|
+
<table class="transaction_list_table">
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<td>
|
8
|
+
<%= link_to_if (params[:h] ||params[:u]), 'Timestamp' %>
|
9
|
+
</td>
|
10
|
+
<td>
|
11
|
+
<%= link_to_unless_current('Resp. Time', :h => 'y') %>
|
12
|
+
</td>
|
13
|
+
<td>
|
14
|
+
<%= link_to_unless_current('URL', :u =>'y') %>
|
15
|
+
</td>
|
16
|
+
<td/>
|
17
|
+
</tr>
|
18
|
+
</thead><% @samples.each do |sample| %>
|
19
|
+
<%= render :partial => :sample, :object => sample %>
|
20
|
+
<% end %>
|
21
|
+
</table>
|
22
|
+
</td>
|
23
|
+
<td valign=top>
|
24
|
+
<%= link_to_if @samples.size > 0, "Clear Transactions (#{@samples.size})", 'reset' %><br/>
|
25
|
+
<%= link_to "List Threads", 'threads' %><br/>
|
26
|
+
<% if NewRelic::Control.instance.profiling_available? %>
|
27
|
+
<p><b>Profiling available:</b>
|
28
|
+
<% if NewRelic::Control.instance.profiling? %>
|
29
|
+
<%= link_to "Stop Profiling", 'profile?stop=true'%>
|
30
|
+
<% else %>
|
31
|
+
<%= link_to "Start Profiling", 'profile?start=true' %>
|
32
|
+
<% end %>
|
33
|
+
</p>
|
34
|
+
<% else %>
|
35
|
+
<p>You can use the ruby-prof gem to display profiles of your actions with Developer Mode. Just
|
36
|
+
install the ruby-prof gem and restart your app.</p>
|
37
|
+
<% end %>
|
38
|
+
<h3>Welcome</h3>
|
39
|
+
<p>
|
40
|
+
Welcome to <b>New Relic RPM Developer Mode</b>. This Rails extension traces the performance activity
|
41
|
+
of your 100 most recent controller actions in your rails application, and presents the performance
|
42
|
+
information for your analysis.
|
43
|
+
</p>
|
44
|
+
<p>
|
45
|
+
The url's of the most recent transactions are presented to the left, most-recent first. Click
|
46
|
+
on any one of these to drill down and inspect its performance information.
|
47
|
+
</p>
|
48
|
+
<p>
|
49
|
+
The identical agent technology that provides this data is also capable of monitoring your application as it
|
50
|
+
runs in production. For more information, visit <a href="http://www.newrelic.com">http://www.newrelic.com</a>.
|
51
|
+
</p>
|
52
|
+
<p>
|
53
|
+
Note, to increase the accuracy of our performance measurement, we automatically "strip out" any
|
54
|
+
time spent in application code loading, which will not happen when your application runs in
|
55
|
+
production mode.
|
56
|
+
</p>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<script type="text/javascript" src="/newrelic/file/javascript/transaction_sample.js"></script>
|
2
|
+
<div id='summary_table'>
|
3
|
+
<table class="light_background">
|
4
|
+
<tr>
|
5
|
+
<th>URL:</th>
|
6
|
+
<td><%= @sample.params[:uri]%></td>
|
7
|
+
</tr>
|
8
|
+
<tr>
|
9
|
+
<th>Controller:</th>
|
10
|
+
<td><%= @sample_controller_name%></td>
|
11
|
+
</tr>
|
12
|
+
<tr>
|
13
|
+
<th>Action:</th>
|
14
|
+
<td><%= @sample_action_name%></td>
|
15
|
+
</tr>
|
16
|
+
<tr>
|
17
|
+
<th>Start Time:</th>
|
18
|
+
<td><%= format_timestamp(@sample.start_time) %></td>
|
19
|
+
</tr>
|
20
|
+
<tr>
|
21
|
+
<th>Duration:</th>
|
22
|
+
<td><%= colorize(@sample.duration, 1, 2) %> ms</td>
|
23
|
+
</tr>
|
24
|
+
<tr>
|
25
|
+
<th>CPU Burn:</th>
|
26
|
+
<td><%= to_ms(@sample.params[:cpu_time]) if @sample.params[:cpu_time] %> ms</td>
|
27
|
+
</tr>
|
28
|
+
|
29
|
+
<% unless @custom_params.empty? %>
|
30
|
+
<tr>
|
31
|
+
<th valign="top">Custom Params:</th>
|
32
|
+
<td>
|
33
|
+
<small>
|
34
|
+
<% @custom_params.each do |k,v| %>
|
35
|
+
<b><%= h k %>: </b><%=h v%><br/>
|
36
|
+
<% end %>
|
37
|
+
</small>
|
38
|
+
</td>
|
39
|
+
</tr>
|
40
|
+
<% end %>
|
41
|
+
|
42
|
+
<% unless @request_params.empty? %>
|
43
|
+
<tr>
|
44
|
+
<th valign="top">HTTP Params:</th>
|
45
|
+
<td>
|
46
|
+
<a href="#" onClick="show_request_params()" id="params_link"><%= @request_params.length %>...</a>
|
47
|
+
|
48
|
+
<div id='request_params' style="display: none;">
|
49
|
+
<small>
|
50
|
+
<% @request_params.each do |k,v| %>
|
51
|
+
<b><%= h k %>: </b><%=h v%><br/>
|
52
|
+
<% end %>
|
53
|
+
</small>
|
54
|
+
</div>
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<% end %>
|
58
|
+
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<br/>
|
63
|
+
<div id="view_sample">
|
64
|
+
<% if @sample.profile %>
|
65
|
+
<%= profile_table(@sample.profile) %>
|
66
|
+
<% else %>
|
67
|
+
<div align=center width="100%">
|
68
|
+
<%= show_view_link 'Summary', 'show_sample_summary' %>
|
69
|
+
<%= show_view_link 'Details', 'show_sample_detail' %>
|
70
|
+
<%= show_view_link 'SQL', 'show_sample_sql' %>
|
71
|
+
</div>
|
72
|
+
<br/>
|
73
|
+
<%= %w[show_sample_summary show_sample_sql show_sample_detail].collect do |p|
|
74
|
+
options = {:align => 'center', :id => p}
|
75
|
+
options[:style] = 'display: none' unless p == params['action']
|
76
|
+
content_tag('div', render(:partial => p), options)
|
77
|
+
end.join(' ') %>
|
78
|
+
<% end %>
|
79
|
+
</div>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<h2>Thread List</h2>
|
2
|
+
<p><%= link_to 'Back', :action => 'index' %></p>
|
3
|
+
<table>
|
4
|
+
<thead><th class="title" colspan="5">Application Threads</th></thead>
|
5
|
+
<thead>
|
6
|
+
<th class="left">Name</th>
|
7
|
+
<th class="left">Status</th>
|
8
|
+
<th class="left">Group</th>
|
9
|
+
<th class="left">Priority</th>
|
10
|
+
<th class="left">Locals</th>
|
11
|
+
</thead>
|
12
|
+
<%
|
13
|
+
main = Thread.main
|
14
|
+
threads = Thread.list - [ main ]
|
15
|
+
nr_threads = []
|
16
|
+
threads.delete_if { | thread | nr_threads << thread if thread.key? 'newrelic_label' }
|
17
|
+
([ main ] + threads).each_with_index do | thread, i | -%>
|
18
|
+
<tr class="odd_row">
|
19
|
+
<td valign="top"><%= h(thread == main ? 'main' : thread.to_s) %></td>
|
20
|
+
<td valign="top"><%= h(thread.status || 'terminated with exception') %></td>
|
21
|
+
<td valign="top"><%= h(thread.group || 'none') %></td>
|
22
|
+
<td valign="top"><%= h thread.priority %></td>
|
23
|
+
<td class="locals">
|
24
|
+
<%= thread.keys.map{|k| h k}.join("</br>") %>
|
25
|
+
</td>
|
26
|
+
</tr>
|
27
|
+
<% end -%>
|
28
|
+
<% if nr_threads.size > 0 -%>
|
29
|
+
<tr><td> </td></tr>
|
30
|
+
<thead><th class="title" colspan="5">New Relic Agent Threads</th></thead>
|
31
|
+
<thead>
|
32
|
+
<th class="left">Name</th>
|
33
|
+
<th class="left">Status</th>
|
34
|
+
<th class="left">Group</th>
|
35
|
+
<th class="left">Priority</th>
|
36
|
+
<th class="left">Locals</th>
|
37
|
+
</thead>
|
38
|
+
|
39
|
+
<% nr_threads.each_with_index do | thread, i | -%>
|
40
|
+
<tr class="odd_row">
|
41
|
+
<td valign="top"><%= h thread['newrelic_label'] %></td>
|
42
|
+
<td valign="top"><%= h(thread.status || 'terminated with exception') %></td>
|
43
|
+
<td valign="top"><%= h(thread.group || 'none') %></td>
|
44
|
+
<td valign="top"><%= h thread.priority %></td>
|
45
|
+
<td class="locals">
|
46
|
+
<%= (thread.keys - ['newrelic_label']).map{|k| h k}.join("</br>") %>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
<% end -%>
|
50
|
+
<% end -%>
|
51
|
+
|
52
|
+
</table>
|
metadata
ADDED
@@ -0,0 +1,307 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: honkster-newrelic_rpm
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 13
|
8
|
+
- 1
|
9
|
+
version: 2.13.1
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Bill Kayser
|
13
|
+
- Justin George
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-09-08 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: jeweler
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: mocha
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 0
|
44
|
+
version: "0"
|
45
|
+
type: :development
|
46
|
+
version_requirements: *id002
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: shoulda
|
49
|
+
prerelease: false
|
50
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id003
|
60
|
+
description: |
|
61
|
+
New Relic RPM is a Ruby performance management system, developed by
|
62
|
+
New Relic, Inc (http://www.newrelic.com). RPM provides you with deep
|
63
|
+
information about the performance of your Ruby on Rails or Merb
|
64
|
+
application as it runs in production. The New Relic Agent is
|
65
|
+
dual-purposed as a either a Rails plugin or a Gem, hosted on
|
66
|
+
http://github.com/newrelic/rpm/tree/master.
|
67
|
+
|
68
|
+
email: support@newrelic.com
|
69
|
+
executables:
|
70
|
+
- mongrel_rpm
|
71
|
+
- newrelic
|
72
|
+
- newrelic_cmd
|
73
|
+
extensions: []
|
74
|
+
|
75
|
+
extra_rdoc_files:
|
76
|
+
- CHANGELOG
|
77
|
+
- LICENSE
|
78
|
+
- README.rdoc
|
79
|
+
- newrelic.yml
|
80
|
+
files:
|
81
|
+
- CHANGELOG
|
82
|
+
- LICENSE
|
83
|
+
- README.rdoc
|
84
|
+
- bin/mongrel_rpm
|
85
|
+
- bin/newrelic
|
86
|
+
- bin/newrelic_cmd
|
87
|
+
- cert/cacert.pem
|
88
|
+
- install.rb
|
89
|
+
- lib/new_relic/agent.rb
|
90
|
+
- lib/new_relic/agent/agent.rb
|
91
|
+
- lib/new_relic/agent/busy_calculator.rb
|
92
|
+
- lib/new_relic/agent/chained_call.rb
|
93
|
+
- lib/new_relic/agent/error_collector.rb
|
94
|
+
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
95
|
+
- lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
|
96
|
+
- lib/new_relic/agent/instrumentation/acts_as_solr.rb
|
97
|
+
- lib/new_relic/agent/instrumentation/authlogic.rb
|
98
|
+
- lib/new_relic/agent/instrumentation/controller_instrumentation.rb
|
99
|
+
- lib/new_relic/agent/instrumentation/data_mapper.rb
|
100
|
+
- lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
|
101
|
+
- lib/new_relic/agent/instrumentation/memcache.rb
|
102
|
+
- lib/new_relic/agent/instrumentation/merb/controller.rb
|
103
|
+
- lib/new_relic/agent/instrumentation/merb/errors.rb
|
104
|
+
- lib/new_relic/agent/instrumentation/metric_frame.rb
|
105
|
+
- lib/new_relic/agent/instrumentation/net.rb
|
106
|
+
- lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
|
107
|
+
- lib/new_relic/agent/instrumentation/rack.rb
|
108
|
+
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
109
|
+
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
110
|
+
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
111
|
+
- lib/new_relic/agent/instrumentation/rails3/action_controller.rb
|
112
|
+
- lib/new_relic/agent/instrumentation/rails3/errors.rb
|
113
|
+
- lib/new_relic/agent/instrumentation/sinatra.rb
|
114
|
+
- lib/new_relic/agent/instrumentation/sunspot.rb
|
115
|
+
- lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb
|
116
|
+
- lib/new_relic/agent/method_tracer.rb
|
117
|
+
- lib/new_relic/agent/sampler.rb
|
118
|
+
- lib/new_relic/agent/samplers/cpu_sampler.rb
|
119
|
+
- lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb
|
120
|
+
- lib/new_relic/agent/samplers/memory_sampler.rb
|
121
|
+
- lib/new_relic/agent/samplers/object_sampler.rb
|
122
|
+
- lib/new_relic/agent/shim_agent.rb
|
123
|
+
- lib/new_relic/agent/stats_engine.rb
|
124
|
+
- lib/new_relic/agent/stats_engine/metric_stats.rb
|
125
|
+
- lib/new_relic/agent/stats_engine/samplers.rb
|
126
|
+
- lib/new_relic/agent/stats_engine/transactions.rb
|
127
|
+
- lib/new_relic/agent/transaction_sampler.rb
|
128
|
+
- lib/new_relic/agent/worker_loop.rb
|
129
|
+
- lib/new_relic/collection_helper.rb
|
130
|
+
- lib/new_relic/command.rb
|
131
|
+
- lib/new_relic/commands/deployments.rb
|
132
|
+
- lib/new_relic/commands/install.rb
|
133
|
+
- lib/new_relic/control.rb
|
134
|
+
- lib/new_relic/control/configuration.rb
|
135
|
+
- lib/new_relic/control/frameworks/external.rb
|
136
|
+
- lib/new_relic/control/frameworks/merb.rb
|
137
|
+
- lib/new_relic/control/frameworks/rails.rb
|
138
|
+
- lib/new_relic/control/frameworks/rails3.rb
|
139
|
+
- lib/new_relic/control/frameworks/ruby.rb
|
140
|
+
- lib/new_relic/control/frameworks/sinatra.rb
|
141
|
+
- lib/new_relic/control/instrumentation.rb
|
142
|
+
- lib/new_relic/control/logging_methods.rb
|
143
|
+
- lib/new_relic/control/profiling.rb
|
144
|
+
- lib/new_relic/control/server_methods.rb
|
145
|
+
- lib/new_relic/delayed_job_injection.rb
|
146
|
+
- lib/new_relic/histogram.rb
|
147
|
+
- lib/new_relic/local_environment.rb
|
148
|
+
- lib/new_relic/merbtasks.rb
|
149
|
+
- lib/new_relic/metric_data.rb
|
150
|
+
- lib/new_relic/metric_parser.rb
|
151
|
+
- lib/new_relic/metric_parser/action_mailer.rb
|
152
|
+
- lib/new_relic/metric_parser/active_merchant.rb
|
153
|
+
- lib/new_relic/metric_parser/active_record.rb
|
154
|
+
- lib/new_relic/metric_parser/apdex.rb
|
155
|
+
- lib/new_relic/metric_parser/controller.rb
|
156
|
+
- lib/new_relic/metric_parser/controller_cpu.rb
|
157
|
+
- lib/new_relic/metric_parser/errors.rb
|
158
|
+
- lib/new_relic/metric_parser/external.rb
|
159
|
+
- lib/new_relic/metric_parser/mem_cache.rb
|
160
|
+
- lib/new_relic/metric_parser/other_transaction.rb
|
161
|
+
- lib/new_relic/metric_parser/view.rb
|
162
|
+
- lib/new_relic/metric_parser/web_frontend.rb
|
163
|
+
- lib/new_relic/metric_parser/web_service.rb
|
164
|
+
- lib/new_relic/metric_spec.rb
|
165
|
+
- lib/new_relic/metrics.rb
|
166
|
+
- lib/new_relic/noticed_error.rb
|
167
|
+
- lib/new_relic/rack/developer_mode.rb
|
168
|
+
- lib/new_relic/rack/metric_app.rb
|
169
|
+
- lib/new_relic/rack/mongrel_rpm.ru
|
170
|
+
- lib/new_relic/rack/newrelic.yml
|
171
|
+
- lib/new_relic/rack_app.rb
|
172
|
+
- lib/new_relic/recipes.rb
|
173
|
+
- lib/new_relic/stats.rb
|
174
|
+
- lib/new_relic/timer_lib.rb
|
175
|
+
- lib/new_relic/transaction_analysis.rb
|
176
|
+
- lib/new_relic/transaction_sample.rb
|
177
|
+
- lib/new_relic/url_rule.rb
|
178
|
+
- lib/new_relic/version.rb
|
179
|
+
- lib/new_relic_api.rb
|
180
|
+
- lib/newrelic_rpm.rb
|
181
|
+
- lib/tasks/all.rb
|
182
|
+
- lib/tasks/install.rake
|
183
|
+
- lib/tasks/tests.rake
|
184
|
+
- newrelic.yml
|
185
|
+
- newrelic_rpm.gemspec
|
186
|
+
- recipes/newrelic.rb
|
187
|
+
- test/active_record_fixtures.rb
|
188
|
+
- test/config/newrelic.yml
|
189
|
+
- test/config/test_control.rb
|
190
|
+
- test/new_relic/agent/active_record_instrumentation_test.rb
|
191
|
+
- test/new_relic/agent/agent_controller_test.rb
|
192
|
+
- test/new_relic/agent/agent_test_controller.rb
|
193
|
+
- test/new_relic/agent/busy_calculator_test.rb
|
194
|
+
- test/new_relic/agent/collection_helper_test.rb
|
195
|
+
- test/new_relic/agent/error_collector_test.rb
|
196
|
+
- test/new_relic/agent/memcache_instrumentation_test.rb
|
197
|
+
- test/new_relic/agent/method_tracer_test.rb
|
198
|
+
- test/new_relic/agent/metric_data_test.rb
|
199
|
+
- test/new_relic/agent/metric_frame_test.rb
|
200
|
+
- test/new_relic/agent/mock_scope_listener.rb
|
201
|
+
- test/new_relic/agent/net_instrumentation_test.rb
|
202
|
+
- test/new_relic/agent/rpm_agent_test.rb
|
203
|
+
- test/new_relic/agent/stats_engine/metric_stats_test.rb
|
204
|
+
- test/new_relic/agent/stats_engine/samplers_test.rb
|
205
|
+
- test/new_relic/agent/stats_engine/stats_engine_test.rb
|
206
|
+
- test/new_relic/agent/task_instrumentation_test.rb
|
207
|
+
- test/new_relic/agent/testable_agent.rb
|
208
|
+
- test/new_relic/agent/transaction_sample_builder_test.rb
|
209
|
+
- test/new_relic/agent/transaction_sample_test.rb
|
210
|
+
- test/new_relic/agent/transaction_sampler_test.rb
|
211
|
+
- test/new_relic/agent/worker_loop_test.rb
|
212
|
+
- test/new_relic/control_test.rb
|
213
|
+
- test/new_relic/deployments_api_test.rb
|
214
|
+
- test/new_relic/environment_test.rb
|
215
|
+
- test/new_relic/metric_parser_test.rb
|
216
|
+
- test/new_relic/metric_spec_test.rb
|
217
|
+
- test/new_relic/rack/episodes_test.rb
|
218
|
+
- test/new_relic/shim_agent_test.rb
|
219
|
+
- test/new_relic/stats_test.rb
|
220
|
+
- test/new_relic/version_number_test.rb
|
221
|
+
- test/test_contexts.rb
|
222
|
+
- test/test_helper.rb
|
223
|
+
- ui/helpers/developer_mode_helper.rb
|
224
|
+
- ui/helpers/google_pie_chart.rb
|
225
|
+
- ui/views/layouts/newrelic_default.rhtml
|
226
|
+
- ui/views/newrelic/_explain_plans.rhtml
|
227
|
+
- ui/views/newrelic/_sample.rhtml
|
228
|
+
- ui/views/newrelic/_segment.rhtml
|
229
|
+
- ui/views/newrelic/_segment_limit_message.rhtml
|
230
|
+
- ui/views/newrelic/_segment_row.rhtml
|
231
|
+
- ui/views/newrelic/_show_sample_detail.rhtml
|
232
|
+
- ui/views/newrelic/_show_sample_sql.rhtml
|
233
|
+
- ui/views/newrelic/_show_sample_summary.rhtml
|
234
|
+
- ui/views/newrelic/_sql_row.rhtml
|
235
|
+
- ui/views/newrelic/_stack_trace.rhtml
|
236
|
+
- ui/views/newrelic/_table.rhtml
|
237
|
+
- ui/views/newrelic/explain_sql.rhtml
|
238
|
+
- ui/views/newrelic/file/images/arrow-close.png
|
239
|
+
- ui/views/newrelic/file/images/arrow-open.png
|
240
|
+
- ui/views/newrelic/file/images/blue_bar.gif
|
241
|
+
- ui/views/newrelic/file/images/file_icon.png
|
242
|
+
- ui/views/newrelic/file/images/gray_bar.gif
|
243
|
+
- ui/views/newrelic/file/images/new-relic-rpm-desktop.gif
|
244
|
+
- ui/views/newrelic/file/images/new_relic_rpm_desktop.gif
|
245
|
+
- ui/views/newrelic/file/images/textmate.png
|
246
|
+
- ui/views/newrelic/file/javascript/jquery-1.4.2.js
|
247
|
+
- ui/views/newrelic/file/javascript/transaction_sample.js
|
248
|
+
- ui/views/newrelic/file/stylesheets/style.css
|
249
|
+
- ui/views/newrelic/index.rhtml
|
250
|
+
- ui/views/newrelic/sample_not_found.rhtml
|
251
|
+
- ui/views/newrelic/show_sample.rhtml
|
252
|
+
- ui/views/newrelic/show_source.rhtml
|
253
|
+
- ui/views/newrelic/threads.rhtml
|
254
|
+
has_rdoc: true
|
255
|
+
homepage: http://www.github.com/newrelic/rpm
|
256
|
+
licenses: []
|
257
|
+
|
258
|
+
post_install_message: "\n\
|
259
|
+
PLEASE NOTE:\n\n\
|
260
|
+
Developer Mode is now a Rack middleware.\n\n\
|
261
|
+
RPM Developer Mode is no longer available in Rails 2.1 and earlier.\n\
|
262
|
+
However, starting in version 2.12 you can use Developer Mode in any\n\
|
263
|
+
Rack based framework, in addition to Rails. To install developer mode\n\
|
264
|
+
in a non-Rails application, just add NewRelic::Rack::DeveloperMode to\n\
|
265
|
+
your middleware stack.\n\n\
|
266
|
+
If you are using JRuby, we recommend using at least version 1.4 or \n\
|
267
|
+
later because of issues with the implementation of the timeout library.\n\n\
|
268
|
+
Refer to the README.md file for more information.\n\n\
|
269
|
+
Please see http://support.newrelic.com/faqs/docs/ruby-agent-release-notes\n\
|
270
|
+
for a complete description of the features and enhancements available\n\
|
271
|
+
in version 2.13 of the Ruby Agent.\n\n\
|
272
|
+
For details on this specific release, refer to the CHANGELOG file.\n\n\
|
273
|
+
Notice: Developer Mode now supports only Rails 2.3+ - refer to README\n\
|
274
|
+
for instructions for previous versions\n\n"
|
275
|
+
rdoc_options:
|
276
|
+
- --charset=UTF-8
|
277
|
+
- --line-numbers
|
278
|
+
- --inline-source
|
279
|
+
- --title
|
280
|
+
- New Relic Ruby Performance Monitoring Agent
|
281
|
+
require_paths:
|
282
|
+
- lib
|
283
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
none: false
|
285
|
+
requirements:
|
286
|
+
- - ">="
|
287
|
+
- !ruby/object:Gem::Version
|
288
|
+
segments:
|
289
|
+
- 0
|
290
|
+
version: "0"
|
291
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
292
|
+
none: false
|
293
|
+
requirements:
|
294
|
+
- - ">="
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
segments:
|
297
|
+
- 0
|
298
|
+
version: "0"
|
299
|
+
requirements: []
|
300
|
+
|
301
|
+
rubyforge_project:
|
302
|
+
rubygems_version: 1.3.7
|
303
|
+
signing_key:
|
304
|
+
specification_version: 3
|
305
|
+
summary: New Relic Ruby Performance Monitoring Agent
|
306
|
+
test_files: []
|
307
|
+
|