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.

Files changed (120) hide show
  1. data/CHANGELOG +117 -49
  2. data/bin/mongrel_rpm +2 -2
  3. data/install.rb +42 -33
  4. data/lib/new_relic/agent.rb +149 -39
  5. data/lib/new_relic/agent/agent.rb +139 -122
  6. data/lib/new_relic/agent/busy_calculator.rb +91 -0
  7. data/lib/new_relic/agent/collection_helper.rb +11 -2
  8. data/lib/new_relic/agent/error_collector.rb +33 -27
  9. data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +30 -26
  10. data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -0
  11. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +316 -105
  12. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +22 -0
  13. data/lib/new_relic/agent/instrumentation/memcache.rb +18 -12
  14. data/lib/new_relic/agent/instrumentation/merb/errors.rb +2 -1
  15. data/lib/new_relic/agent/instrumentation/metric_frame.rb +258 -0
  16. data/lib/new_relic/agent/instrumentation/net.rb +7 -11
  17. data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +1 -1
  18. data/lib/new_relic/agent/instrumentation/rack.rb +109 -0
  19. data/lib/new_relic/agent/instrumentation/rails/action_controller.rb +6 -5
  20. data/lib/new_relic/agent/instrumentation/rails/errors.rb +7 -7
  21. data/lib/new_relic/agent/instrumentation/sinatra.rb +46 -0
  22. data/lib/new_relic/agent/method_tracer.rb +305 -150
  23. data/lib/new_relic/agent/sampler.rb +34 -0
  24. data/lib/new_relic/agent/samplers/cpu_sampler.rb +11 -1
  25. data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +37 -0
  26. data/lib/new_relic/agent/samplers/memory_sampler.rb +22 -10
  27. data/lib/new_relic/agent/samplers/object_sampler.rb +24 -0
  28. data/lib/new_relic/agent/shim_agent.rb +10 -0
  29. data/lib/new_relic/agent/stats_engine.rb +16 -278
  30. data/lib/new_relic/agent/stats_engine/metric_stats.rb +118 -0
  31. data/lib/new_relic/agent/stats_engine/samplers.rb +81 -0
  32. data/lib/new_relic/agent/stats_engine/transactions.rb +149 -0
  33. data/lib/new_relic/agent/transaction_sampler.rb +73 -67
  34. data/lib/new_relic/agent/worker_loop.rb +69 -68
  35. data/lib/new_relic/commands/deployments.rb +4 -6
  36. data/lib/new_relic/control.rb +121 -60
  37. data/lib/new_relic/control/external.rb +13 -0
  38. data/lib/new_relic/control/merb.rb +2 -0
  39. data/lib/new_relic/control/rails.rb +16 -6
  40. data/lib/new_relic/control/ruby.rb +8 -5
  41. data/lib/new_relic/control/sinatra.rb +18 -0
  42. data/lib/new_relic/delayed_job_injection.rb +25 -0
  43. data/lib/new_relic/histogram.rb +89 -0
  44. data/lib/new_relic/local_environment.rb +64 -30
  45. data/lib/new_relic/metric_data.rb +15 -6
  46. data/lib/new_relic/metric_parser.rb +14 -1
  47. data/lib/new_relic/metric_parser/active_record.rb +14 -0
  48. data/lib/new_relic/metric_parser/controller.rb +5 -2
  49. data/lib/new_relic/metric_parser/external.rb +50 -0
  50. data/lib/new_relic/metric_parser/other_transaction.rb +15 -0
  51. data/lib/new_relic/metric_parser/web_frontend.rb +14 -0
  52. data/lib/new_relic/metric_spec.rb +39 -20
  53. data/lib/new_relic/metrics.rb +9 -7
  54. data/lib/new_relic/noticed_error.rb +6 -8
  55. data/lib/new_relic/rack/metric_app.rb +5 -4
  56. data/lib/new_relic/rack/{newrelic.ru → mongrel_rpm.ru} +4 -4
  57. data/lib/new_relic/rack/newrelic.yml +1 -0
  58. data/lib/new_relic/{rack.rb → rack_app.rb} +0 -0
  59. data/lib/new_relic/recipes.rb +1 -1
  60. data/lib/new_relic/stats.rb +40 -26
  61. data/lib/new_relic/transaction_analysis.rb +5 -2
  62. data/lib/new_relic/transaction_sample.rb +134 -55
  63. data/lib/new_relic/version.rb +27 -20
  64. data/lib/new_relic_api.rb +67 -47
  65. data/lib/newrelic_rpm.rb +5 -5
  66. data/lib/tasks/tests.rake +2 -0
  67. data/newrelic.yml +69 -29
  68. data/test/active_record_fixtures.rb +2 -2
  69. data/test/config/newrelic.yml +4 -7
  70. data/test/config/test_control.rb +1 -2
  71. data/test/new_relic/agent/active_record_instrumentation_test.rb +115 -31
  72. data/test/new_relic/agent/agent_controller_test.rb +274 -0
  73. data/test/new_relic/agent/agent_test_controller.rb +42 -6
  74. data/test/new_relic/agent/busy_calculator_test.rb +79 -0
  75. data/test/new_relic/agent/collection_helper_test.rb +10 -3
  76. data/test/new_relic/agent/error_collector_test.rb +35 -17
  77. data/test/new_relic/agent/method_tracer_test.rb +60 -20
  78. data/test/new_relic/agent/metric_data_test.rb +2 -2
  79. data/test/new_relic/agent/metric_frame_test.rb +51 -0
  80. data/test/new_relic/agent/net_instrumentation_test.rb +77 -0
  81. data/test/new_relic/agent/{agent_test.rb → rpm_agent_test.rb} +26 -5
  82. data/test/new_relic/agent/stats_engine/metric_stats_test.rb +79 -0
  83. data/test/new_relic/{samplers_test.rb → agent/stats_engine/samplers_test.rb} +23 -22
  84. data/test/new_relic/agent/{stats_engine_test.rb → stats_engine/stats_engine_test.rb} +19 -101
  85. data/test/new_relic/agent/task_instrumentation_test.rb +176 -0
  86. data/test/new_relic/agent/transaction_sample_builder_test.rb +2 -2
  87. data/test/new_relic/agent/transaction_sample_test.rb +53 -38
  88. data/test/new_relic/agent/transaction_sampler_test.rb +101 -33
  89. data/test/new_relic/agent/worker_loop_test.rb +16 -14
  90. data/test/new_relic/control_test.rb +26 -13
  91. data/test/new_relic/metric_parser_test.rb +31 -1
  92. data/test/new_relic/metric_spec_test.rb +2 -2
  93. data/test/new_relic/stats_test.rb +0 -8
  94. data/test/new_relic/version_number_test.rb +31 -1
  95. data/test/test_helper.rb +37 -1
  96. data/ui/controllers/newrelic_controller.rb +19 -11
  97. data/ui/helpers/google_pie_chart.rb +5 -11
  98. data/ui/helpers/newrelic_helper.rb +40 -35
  99. data/ui/views/layouts/newrelic_default.rhtml +7 -7
  100. data/ui/views/newrelic/_sample.rhtml +5 -1
  101. data/ui/views/newrelic/images/new-relic-rpm-desktop.gif +0 -0
  102. data/ui/views/newrelic/images/textmate.png +0 -0
  103. data/ui/views/newrelic/index.rhtml +13 -1
  104. data/ui/views/newrelic/show_sample.rhtml +5 -2
  105. data/ui/views/newrelic/stylesheets/style.css +54 -3
  106. metadata +65 -145
  107. data/Manifest +0 -143
  108. data/Rakefile +0 -22
  109. data/init.rb +0 -38
  110. data/lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb +0 -127
  111. data/lib/new_relic/agent/instrumentation/error_instrumentation.rb +0 -14
  112. data/lib/new_relic/agent/instrumentation/merb/dispatcher.rb +0 -13
  113. data/lib/new_relic/agent/instrumentation/rails/dispatcher.rb +0 -38
  114. data/lib/new_relic/agent/patch_const_missing.rb +0 -125
  115. data/lib/new_relic/agent/samplers/mongrel_sampler.rb +0 -22
  116. data/lib/new_relic/metric_parser/database.rb +0 -23
  117. data/newrelic_rpm.gemspec +0 -35
  118. data/test/new_relic/agent/classloader_patch_test.rb +0 -56
  119. data/test/new_relic/agent/controller_test.rb +0 -107
  120. 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 => :javascript, :file => 'prototype-scriptaculous.js') %>"></script>
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 => :css, :file => 'style.css') %>"
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 => :image, :file => 'blue_bar.gif', :content_type => 'image/gif') %>" alt="spacer"/>
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 => :image, :file => 'new_relic_rpm_desktop.gif', :content_type => 'image/gif') %>" hspace="10" alt="New Relic RPM"/></a>
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 => :image, :file => 'gray_bar.gif', :content_type => 'image/gif') %>">
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 => :image, :file => 'blue_bar.gif', :content_type => 'image/gif') %>" alt="spacer"/>
42
- <p>We're hiring! Check out our <%=link_to "job postings", 'http://www.newrelic.com/jobs.html' %></p>
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="&#109;&#97;&#105;&#108;&#116;&#111;:&#x73;&#x75;&#x70;&#112;&#111;&#x72;&#116;&#x40;&#x6E;&#x65;&#119;&#114;&#x65;&#x6C;&#105;&#x63;&#x2E;&#99;&#x6F;&#109;?subject=&#70;&#101;&#x65;&#x64;&#x62;&#x61;&#x63;&#107;" title="">&#x46;&#x65;&#101;&#x64;&#98;&#97;&#x63;&#x6B;</a><br />
44
44
  Monitor your Rails Application in Production. <a href="http://www.newrelic.com/dev-upgrade.html">Learn more. &raquo;</a><br />
45
45
  &copy; 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
- <%= link_to "[Detail]", :action => :show_sample_detail, :id => sample.sample_id %>
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>
@@ -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 => :javascript, :file => 'transaction_sample.js') %>"></script>
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 Seldon
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
- +Seldon Specific - need to preserve
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.9.9
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: 2009-12-14 00:00:00 -08:00
12
+ date: 2010-02-13 00:00:00 -08:00
13
13
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: echoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
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/dispatcher_instrumentation.rb
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/mongrel_sampler.rb
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/newrelic.ru
108
+ - lib/new_relic/rack/mongrel_rpm.ru
169
109
  - lib/new_relic/rack/newrelic.yml
170
- - lib/new_relic/rack.rb
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/agent_test.rb
127
+ - test/new_relic/agent/agent_controller_test.rb
191
128
  - test/new_relic/agent/agent_test_controller.rb
192
- - test/new_relic/agent/classloader_patch_test.rb
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/stats_engine_test.rb
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.newrelic.com
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
- - Newrelic_rpm
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: "1.2"
221
+ version: "0"
276
222
  version:
277
223
  requirements: []
278
224
 
279
- rubyforge_project: newrelic
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
- - test/config/test_control.rb
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
+