newrelic_rpm 2.10.8 → 2.11.0.beta

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 (212) hide show
  1. data/CHANGELOG +15 -3
  2. data/lib/new_relic/agent.rb +17 -6
  3. data/lib/new_relic/agent/agent.rb +98 -77
  4. data/lib/new_relic/agent/busy_calculator.rb +1 -1
  5. data/lib/new_relic/agent/error_collector.rb +6 -3
  6. data/lib/new_relic/agent/instrumentation/active_record_instrumentation.rb +1 -0
  7. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +0 -2
  8. data/lib/new_relic/agent/instrumentation/memcache.rb +0 -1
  9. data/lib/new_relic/agent/instrumentation/metric_frame.rb +8 -2
  10. data/lib/new_relic/agent/instrumentation/passenger_instrumentation.rb +3 -3
  11. data/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb +10 -0
  12. data/lib/new_relic/agent/method_tracer.rb +1 -1
  13. data/lib/new_relic/agent/shim_agent.rb +1 -1
  14. data/lib/new_relic/agent/stats_engine.rb +1 -1
  15. data/lib/new_relic/agent/stats_engine/samplers.rb +2 -2
  16. data/lib/new_relic/control.rb +6 -3
  17. data/lib/new_relic/rack/metric_app.rb +4 -4
  18. data/lib/new_relic/version.rb +3 -3
  19. data/newrelic.yml +3 -3
  20. data/newrelic_rpm.gemspec +4 -192
  21. data/test/new_relic/agent/rpm_agent_test.rb +15 -2
  22. data/test/new_relic/agent/task_instrumentation_test.rb +3 -2
  23. metadata +12 -197
  24. data/rdoc/classes/NewRelic.html +0 -293
  25. data/rdoc/classes/NewRelic/Agent.html +0 -810
  26. data/rdoc/classes/NewRelic/Agent/Agent.html +0 -742
  27. data/rdoc/classes/NewRelic/Agent/BackgroundLoadingError.html +0 -111
  28. data/rdoc/classes/NewRelic/Agent/BusyCalculator.html +0 -309
  29. data/rdoc/classes/NewRelic/Agent/CollectionHelper.html +0 -196
  30. data/rdoc/classes/NewRelic/Agent/ErrorCollector.html +0 -378
  31. data/rdoc/classes/NewRelic/Agent/ForceDisconnectException.html +0 -118
  32. data/rdoc/classes/NewRelic/Agent/ForceRestartException.html +0 -117
  33. data/rdoc/classes/NewRelic/Agent/IgnoreSilentlyException.html +0 -118
  34. data/rdoc/classes/NewRelic/Agent/Instrumentation.html +0 -174
  35. data/rdoc/classes/NewRelic/Agent/Instrumentation/ActiveRecordInstrumentation.html +0 -221
  36. data/rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation.html +0 -349
  37. data/rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation/ClassMethods.html +0 -277
  38. data/rdoc/classes/NewRelic/Agent/Instrumentation/DelayedJobInstrumentation.html +0 -112
  39. data/rdoc/classes/NewRelic/Agent/Instrumentation/MetricFrame.html +0 -1007
  40. data/rdoc/classes/NewRelic/Agent/Instrumentation/Rack.html +0 -321
  41. data/rdoc/classes/NewRelic/Agent/Instrumentation/Sinatra.html +0 -176
  42. data/rdoc/classes/NewRelic/Agent/LicenseException.html +0 -117
  43. data/rdoc/classes/NewRelic/Agent/MethodTracer.html +0 -150
  44. data/rdoc/classes/NewRelic/Agent/MethodTracer/ClassMethods.html +0 -295
  45. data/rdoc/classes/NewRelic/Agent/MethodTracer/InstanceMethods.html +0 -284
  46. data/rdoc/classes/NewRelic/Agent/PostTooBigException.html +0 -120
  47. data/rdoc/classes/NewRelic/Agent/Sampler.html +0 -314
  48. data/rdoc/classes/NewRelic/Agent/Sampler/Unsupported.html +0 -117
  49. data/rdoc/classes/NewRelic/Agent/Samplers.html +0 -126
  50. data/rdoc/classes/NewRelic/Agent/Samplers/CpuSampler.html +0 -327
  51. data/rdoc/classes/NewRelic/Agent/Samplers/DelayedJobLockSampler.html +0 -296
  52. data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler.html +0 -321
  53. data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/Base.html +0 -186
  54. data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/JavaHeapSampler.html +0 -173
  55. data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ProcStatus.html +0 -216
  56. data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ShellPS.html +0 -207
  57. data/rdoc/classes/NewRelic/Agent/Samplers/ObjectSampler.html +0 -222
  58. data/rdoc/classes/NewRelic/Agent/ServerError.html +0 -117
  59. data/rdoc/classes/NewRelic/Agent/ShimAgent.html +0 -297
  60. data/rdoc/classes/NewRelic/Agent/StatsEngine.html +0 -204
  61. data/rdoc/classes/NewRelic/Agent/StatsEngine/MetricStats.html +0 -441
  62. data/rdoc/classes/NewRelic/Agent/StatsEngine/Samplers.html +0 -237
  63. data/rdoc/classes/NewRelic/Agent/StatsEngine/ScopeStackElement.html +0 -178
  64. data/rdoc/classes/NewRelic/Agent/StatsEngine/Transactions.html +0 -385
  65. data/rdoc/classes/NewRelic/Agent/TransactionSampleBuilder.html +0 -505
  66. data/rdoc/classes/NewRelic/Agent/TransactionSampler.html +0 -690
  67. data/rdoc/classes/NewRelic/Agent/WorkerLoop.html +0 -305
  68. data/rdoc/classes/NewRelic/Agent/WorkerLoop/LoopTask.html +0 -224
  69. data/rdoc/classes/NewRelic/ApdexStats.html +0 -196
  70. data/rdoc/classes/NewRelic/BasicStats.html +0 -113
  71. data/rdoc/classes/NewRelic/ChainedCall.html +0 -180
  72. data/rdoc/classes/NewRelic/Commands.html +0 -112
  73. data/rdoc/classes/NewRelic/Commands/CommandFailure.html +0 -167
  74. data/rdoc/classes/NewRelic/Commands/Deployments.html +0 -285
  75. data/rdoc/classes/NewRelic/Control.html +0 -1760
  76. data/rdoc/classes/NewRelic/Control/External.html +0 -148
  77. data/rdoc/classes/NewRelic/Control/Merb.html +0 -227
  78. data/rdoc/classes/NewRelic/Control/Rails.html +0 -542
  79. data/rdoc/classes/NewRelic/Control/Ruby.html +0 -266
  80. data/rdoc/classes/NewRelic/Control/Sinatra.html +0 -178
  81. data/rdoc/classes/NewRelic/DelayedJobInjection.html +0 -118
  82. data/rdoc/classes/NewRelic/Histogram.html +0 -226
  83. data/rdoc/classes/NewRelic/Histogram/Bucket.html +0 -319
  84. data/rdoc/classes/NewRelic/Histogram/Shim.html +0 -144
  85. data/rdoc/classes/NewRelic/LocalEnvironment.html +0 -572
  86. data/rdoc/classes/NewRelic/MerbBootLoader.html +0 -146
  87. data/rdoc/classes/NewRelic/MethodTraceStats.html +0 -250
  88. data/rdoc/classes/NewRelic/MetricData.html +0 -347
  89. data/rdoc/classes/NewRelic/MetricParser.html +0 -747
  90. data/rdoc/classes/NewRelic/MetricParser/ActionMailer.html +0 -170
  91. data/rdoc/classes/NewRelic/MetricParser/ActiveMerchant.html +0 -267
  92. data/rdoc/classes/NewRelic/MetricParser/ActiveRecord.html +0 -250
  93. data/rdoc/classes/NewRelic/MetricParser/Controller.html +0 -363
  94. data/rdoc/classes/NewRelic/MetricParser/ControllerCPU.html +0 -319
  95. data/rdoc/classes/NewRelic/MetricParser/Errors.html +0 -170
  96. data/rdoc/classes/NewRelic/MetricParser/External.html +0 -339
  97. data/rdoc/classes/NewRelic/MetricParser/MemCache.html +0 -340
  98. data/rdoc/classes/NewRelic/MetricParser/OtherTransaction.html +0 -205
  99. data/rdoc/classes/NewRelic/MetricParser/View.html +0 -381
  100. data/rdoc/classes/NewRelic/MetricParser/WebFrontend.html +0 -182
  101. data/rdoc/classes/NewRelic/MetricParser/WebService.html +0 -172
  102. data/rdoc/classes/NewRelic/MetricSpec.html +0 -406
  103. data/rdoc/classes/NewRelic/Metrics.html +0 -138
  104. data/rdoc/classes/NewRelic/NoticedError.html +0 -200
  105. data/rdoc/classes/NewRelic/Rack.html +0 -112
  106. data/rdoc/classes/NewRelic/Rack/MetricApp.html +0 -193
  107. data/rdoc/classes/NewRelic/Rack/Status.html +0 -165
  108. data/rdoc/classes/NewRelic/ScopedMethodTraceStats.html +0 -225
  109. data/rdoc/classes/NewRelic/Stats.html +0 -917
  110. data/rdoc/classes/NewRelic/StatsBase.html +0 -346
  111. data/rdoc/classes/NewRelic/TransactionAnalysis.html +0 -269
  112. data/rdoc/classes/NewRelic/TransactionAnalysis/SegmentSummary.html +0 -338
  113. data/rdoc/classes/NewRelic/TransactionSample.html +0 -766
  114. data/rdoc/classes/NewRelic/TransactionSample/CompositeSegment.html +0 -195
  115. data/rdoc/classes/NewRelic/TransactionSample/FakeSegment.html +0 -113
  116. data/rdoc/classes/NewRelic/TransactionSample/IDGenerator.html +0 -178
  117. data/rdoc/classes/NewRelic/TransactionSample/Segment.html +0 -920
  118. data/rdoc/classes/NewRelic/TransactionSample/SummarySegment.html +0 -180
  119. data/rdoc/classes/NewRelic/VersionNumber.html +0 -338
  120. data/rdoc/classes/NewRelicApi.html +0 -270
  121. data/rdoc/classes/NewRelicApi/Account.html +0 -178
  122. data/rdoc/classes/NewRelicApi/Account/AccountUsage.html +0 -111
  123. data/rdoc/classes/NewRelicApi/Account/AccountView.html +0 -146
  124. data/rdoc/classes/NewRelicApi/Application.html +0 -139
  125. data/rdoc/classes/NewRelicApi/Application/Agent.html +0 -119
  126. data/rdoc/classes/NewRelicApi/Deployment.html +0 -123
  127. data/rdoc/classes/NewRelicApi/Subscription.html +0 -111
  128. data/rdoc/classes/NewRelicApi/ThresholdValue.html +0 -174
  129. data/rdoc/classes/NewRelicApi/User.html +0 -111
  130. data/rdoc/created.rid +0 -1
  131. data/rdoc/files/CHANGELOG.html +0 -649
  132. data/rdoc/files/LICENSE.html +0 -143
  133. data/rdoc/files/lib/new_relic/agent/agent_rb.html +0 -113
  134. data/rdoc/files/lib/new_relic/agent/busy_calculator_rb.html +0 -115
  135. data/rdoc/files/lib/new_relic/agent/chained_call_rb.html +0 -107
  136. data/rdoc/files/lib/new_relic/agent/collection_helper_rb.html +0 -101
  137. data/rdoc/files/lib/new_relic/agent/error_collector_rb.html +0 -101
  138. data/rdoc/files/lib/new_relic/agent/instrumentation/active_merchant_rb.html +0 -107
  139. data/rdoc/files/lib/new_relic/agent/instrumentation/active_record_instrumentation_rb.html +0 -108
  140. data/rdoc/files/lib/new_relic/agent/instrumentation/authlogic_rb.html +0 -101
  141. data/rdoc/files/lib/new_relic/agent/instrumentation/controller_instrumentation_rb.html +0 -108
  142. data/rdoc/files/lib/new_relic/agent/instrumentation/data_mapper_rb.html +0 -191
  143. data/rdoc/files/lib/new_relic/agent/instrumentation/delayed_job_instrumentation_rb.html +0 -109
  144. data/rdoc/files/lib/new_relic/agent/instrumentation/memcache_rb.html +0 -152
  145. data/rdoc/files/lib/new_relic/agent/instrumentation/merb/controller_rb.html +0 -155
  146. data/rdoc/files/lib/new_relic/agent/instrumentation/merb/errors_rb.html +0 -107
  147. data/rdoc/files/lib/new_relic/agent/instrumentation/metric_frame_rb.html +0 -113
  148. data/rdoc/files/lib/new_relic/agent/instrumentation/net_rb.html +0 -172
  149. data/rdoc/files/lib/new_relic/agent/instrumentation/passenger_instrumentation_rb.html +0 -101
  150. data/rdoc/files/lib/new_relic/agent/instrumentation/rack_rb.html +0 -108
  151. data/rdoc/files/lib/new_relic/agent/instrumentation/rails/action_controller_rb.html +0 -152
  152. data/rdoc/files/lib/new_relic/agent/instrumentation/rails/action_web_service_rb.html +0 -108
  153. data/rdoc/files/lib/new_relic/agent/instrumentation/rails/errors_rb.html +0 -167
  154. data/rdoc/files/lib/new_relic/agent/instrumentation/sinatra_rb.html +0 -108
  155. data/rdoc/files/lib/new_relic/agent/method_tracer_rb.html +0 -108
  156. data/rdoc/files/lib/new_relic/agent/sampler_rb.html +0 -116
  157. data/rdoc/files/lib/new_relic/agent/samplers/cpu_sampler_rb.html +0 -101
  158. data/rdoc/files/lib/new_relic/agent/samplers/delayed_job_lock_sampler_rb.html +0 -101
  159. data/rdoc/files/lib/new_relic/agent/samplers/memory_sampler_rb.html +0 -101
  160. data/rdoc/files/lib/new_relic/agent/samplers/object_sampler_rb.html +0 -101
  161. data/rdoc/files/lib/new_relic/agent/shim_agent_rb.html +0 -108
  162. data/rdoc/files/lib/new_relic/agent/stats_engine/metric_stats_rb.html +0 -101
  163. data/rdoc/files/lib/new_relic/agent/stats_engine/samplers_rb.html +0 -101
  164. data/rdoc/files/lib/new_relic/agent/stats_engine/transactions_rb.html +0 -101
  165. data/rdoc/files/lib/new_relic/agent/stats_engine_rb.html +0 -110
  166. data/rdoc/files/lib/new_relic/agent/transaction_sampler_rb.html +0 -101
  167. data/rdoc/files/lib/new_relic/agent/worker_loop_rb.html +0 -101
  168. data/rdoc/files/lib/new_relic/agent_rb.html +0 -204
  169. data/rdoc/files/lib/new_relic/commands/deployments_rb.html +0 -119
  170. data/rdoc/files/lib/new_relic/commands/new_relic_commands_rb.html +0 -108
  171. data/rdoc/files/lib/new_relic/control/external_rb.html +0 -117
  172. data/rdoc/files/lib/new_relic/control/merb_rb.html +0 -101
  173. data/rdoc/files/lib/new_relic/control/rails_rb.html +0 -108
  174. data/rdoc/files/lib/new_relic/control/ruby_rb.html +0 -110
  175. data/rdoc/files/lib/new_relic/control/sinatra_rb.html +0 -108
  176. data/rdoc/files/lib/new_relic/control_rb.html +0 -116
  177. data/rdoc/files/lib/new_relic/delayed_job_injection_rb.html +0 -180
  178. data/rdoc/files/lib/new_relic/histogram_rb.html +0 -114
  179. data/rdoc/files/lib/new_relic/local_environment_rb.html +0 -111
  180. data/rdoc/files/lib/new_relic/merbtasks_rb.html +0 -101
  181. data/rdoc/files/lib/new_relic/metric_data_rb.html +0 -101
  182. data/rdoc/files/lib/new_relic/metric_parser/action_mailer_rb.html +0 -101
  183. data/rdoc/files/lib/new_relic/metric_parser/active_merchant_rb.html +0 -101
  184. data/rdoc/files/lib/new_relic/metric_parser/active_record_rb.html +0 -101
  185. data/rdoc/files/lib/new_relic/metric_parser/controller_cpu_rb.html +0 -101
  186. data/rdoc/files/lib/new_relic/metric_parser/controller_rb.html +0 -101
  187. data/rdoc/files/lib/new_relic/metric_parser/errors_rb.html +0 -101
  188. data/rdoc/files/lib/new_relic/metric_parser/external_rb.html +0 -101
  189. data/rdoc/files/lib/new_relic/metric_parser/mem_cache_rb.html +0 -101
  190. data/rdoc/files/lib/new_relic/metric_parser/other_transaction_rb.html +0 -108
  191. data/rdoc/files/lib/new_relic/metric_parser/view_rb.html +0 -101
  192. data/rdoc/files/lib/new_relic/metric_parser/web_frontend_rb.html +0 -107
  193. data/rdoc/files/lib/new_relic/metric_parser/web_service_rb.html +0 -101
  194. data/rdoc/files/lib/new_relic/metric_parser_rb.html +0 -101
  195. data/rdoc/files/lib/new_relic/metric_spec_rb.html +0 -108
  196. data/rdoc/files/lib/new_relic/metrics_rb.html +0 -101
  197. data/rdoc/files/lib/new_relic/noticed_error_rb.html +0 -107
  198. data/rdoc/files/lib/new_relic/rack/metric_app_rb.html +0 -108
  199. data/rdoc/files/lib/new_relic/rack_app_rb.html +0 -110
  200. data/rdoc/files/lib/new_relic/recipes_rb.html +0 -128
  201. data/rdoc/files/lib/new_relic/stats_rb.html +0 -101
  202. data/rdoc/files/lib/new_relic/transaction_analysis_rb.html +0 -108
  203. data/rdoc/files/lib/new_relic/transaction_sample_rb.html +0 -101
  204. data/rdoc/files/lib/new_relic/version_rb.html +0 -101
  205. data/rdoc/files/lib/new_relic_api_rb.html +0 -145
  206. data/rdoc/files/lib/newrelic_rpm_rb.html +0 -147
  207. data/rdoc/files/lib/tasks/all_rb.html +0 -107
  208. data/rdoc/fr_class_index.html +0 -134
  209. data/rdoc/fr_file_index.html +0 -103
  210. data/rdoc/fr_method_index.html +0 -568
  211. data/rdoc/index.html +0 -24
  212. data/rdoc/rdoc-style.css +0 -208
@@ -1,145 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: new_relic_api.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>new_relic_api.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/new_relic_api.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 03 09:26:57 -0800 2010</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h2>REST API Helpers</h2>
73
- <p>
74
- Ruby lib for working with the New Relic API&#8216;s XML interface. Requires
75
- Rails 2.0 or later to be loaded.
76
- </p>
77
- <p>
78
- Can also be used as a script using script/runner
79
- </p>
80
- <p>
81
- Authentication is handled using your agent license key or HTTP Basic
82
- Authentication. To authenticate using your license key your newrelic.yml
83
- configuration file must be in your application config directory and contain
84
- your license key. The New Relic account associated with the license key
85
- must allow api access. Log into RPM, click Account at the top of the page
86
- and check the &quot;Make my account data accessible&quot; checkbox.
87
- </p>
88
- <p>
89
- Basic authentication uses your site credentials to authenticate.
90
- </p>
91
- <pre>
92
- # To authenticate using basic authentication, make this call with your username and password:
93
- NewRelicApi.authenticate('user@example.com', 'test')
94
- </pre>
95
- <p>
96
- This API does not have any agent dependencies. It can be used independent
97
- of the agent by copying it into your application.
98
- </p>
99
- <h2>Examples</h2>
100
- <pre>
101
- # Fetching the list of applications for an account
102
- NewRelicApi::Account.find(:first).applications
103
-
104
- # Fetching the health values for all account applications
105
- NewRelicApi::Account.application_health
106
-
107
- # Fetching the health values for an application
108
- NewRelicApi::Account.find(:first).applications.first.threshold_values
109
-
110
- # Finding an application by name
111
- NewRelicApi::Account.find(:first).applications(:params =&gt; {:conditions =&gt; {:name =&gt; 'My App'}})
112
- </pre>
113
-
114
- </div>
115
-
116
-
117
- </div>
118
-
119
-
120
- </div>
121
-
122
-
123
- <!-- if includes -->
124
-
125
- <div id="section">
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
- <!-- if method_list -->
135
-
136
-
137
- </div>
138
-
139
-
140
- <div id="validator-badges">
141
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
142
- </div>
143
-
144
- </body>
145
- </html>
@@ -1,147 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: newrelic_rpm.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>newrelic_rpm.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/newrelic_rpm.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 03 09:26:57 -0800 2010</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <h2>New Relic Initialization</h2>
73
- <p>
74
- When installed as a gem, you can activate the New Relic agent one of the
75
- following ways:
76
- </p>
77
- <p>
78
- For Rails, add:
79
- </p>
80
- <pre>
81
- config.gem 'newrelic_rpm'
82
- </pre>
83
- <p>
84
- to your initialization sequence.
85
- </p>
86
- <p>
87
- For merb, do
88
- </p>
89
- <pre>
90
- dependency 'newrelic_rpm'
91
- </pre>
92
- <p>
93
- in the Merb config/init.rb
94
- </p>
95
- <p>
96
- For Sinatra, do
97
- </p>
98
- <pre>
99
- require 'newrelic_rpm'
100
- </pre>
101
- <p>
102
- after requiring &#8216;sinatra&#8217;.
103
- </p>
104
- <p>
105
- For other frameworks, or to manage the agent manually, invoke
106
- NewRelic::Agent#manual_start directly.
107
- </p>
108
-
109
- </div>
110
-
111
- <div id="requires-list">
112
- <h3 class="section-bar">Required files</h3>
113
-
114
- <div class="name-list">
115
- new_relic/control&nbsp;&nbsp;
116
- </div>
117
- </div>
118
-
119
- </div>
120
-
121
-
122
- </div>
123
-
124
-
125
- <!-- if includes -->
126
-
127
- <div id="section">
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <!-- if method_list -->
137
-
138
-
139
- </div>
140
-
141
-
142
- <div id="validator-badges">
143
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
144
- </div>
145
-
146
- </body>
147
- </html>
@@ -1,107 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: all.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>all.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>lib/tasks/all.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Wed Mar 03 09:26:20 -0800 2010</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
-
69
- <div id="contextContent">
70
-
71
- <div id="description">
72
- <p>
73
- This is required to load in task definitions from merb
74
- </p>
75
-
76
- </div>
77
-
78
-
79
- </div>
80
-
81
-
82
- </div>
83
-
84
-
85
- <!-- if includes -->
86
-
87
- <div id="section">
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
- <!-- if method_list -->
97
-
98
-
99
- </div>
100
-
101
-
102
- <div id="validator-badges">
103
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
104
- </div>
105
-
106
- </body>
107
- </html>
@@ -1,134 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Classes
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Classes</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Classes</h1>
22
- <div id="index-entries">
23
- <a href="classes/NewRelic.html">NewRelic</a><br />
24
- <a href="classes/NewRelic/Agent.html">NewRelic::Agent</a><br />
25
- <a href="classes/NewRelic/Agent/Agent.html">NewRelic::Agent::Agent</a><br />
26
- <a href="classes/NewRelic/Agent/BackgroundLoadingError.html">NewRelic::Agent::BackgroundLoadingError</a><br />
27
- <a href="classes/NewRelic/Agent/BusyCalculator.html">NewRelic::Agent::BusyCalculator</a><br />
28
- <a href="classes/NewRelic/Agent/CollectionHelper.html">NewRelic::Agent::CollectionHelper</a><br />
29
- <a href="classes/NewRelic/Agent/ErrorCollector.html">NewRelic::Agent::ErrorCollector</a><br />
30
- <a href="classes/NewRelic/Agent/ForceDisconnectException.html">NewRelic::Agent::ForceDisconnectException</a><br />
31
- <a href="classes/NewRelic/Agent/ForceRestartException.html">NewRelic::Agent::ForceRestartException</a><br />
32
- <a href="classes/NewRelic/Agent/IgnoreSilentlyException.html">NewRelic::Agent::IgnoreSilentlyException</a><br />
33
- <a href="classes/NewRelic/Agent/Instrumentation.html">NewRelic::Agent::Instrumentation</a><br />
34
- <a href="classes/NewRelic/Agent/Instrumentation/ActiveRecordInstrumentation.html">NewRelic::Agent::Instrumentation::ActiveRecordInstrumentation</a><br />
35
- <a href="classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation.html">NewRelic::Agent::Instrumentation::ControllerInstrumentation</a><br />
36
- <a href="classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation/ClassMethods.html">NewRelic::Agent::Instrumentation::ControllerInstrumentation::ClassMethods</a><br />
37
- <a href="classes/NewRelic/Agent/Instrumentation/DelayedJobInstrumentation.html">NewRelic::Agent::Instrumentation::DelayedJobInstrumentation</a><br />
38
- <a href="classes/NewRelic/Agent/Instrumentation/MetricFrame.html">NewRelic::Agent::Instrumentation::MetricFrame</a><br />
39
- <a href="classes/NewRelic/Agent/Instrumentation/Rack.html">NewRelic::Agent::Instrumentation::Rack</a><br />
40
- <a href="classes/NewRelic/Agent/Instrumentation/Sinatra.html">NewRelic::Agent::Instrumentation::Sinatra</a><br />
41
- <a href="classes/NewRelic/Agent/LicenseException.html">NewRelic::Agent::LicenseException</a><br />
42
- <a href="classes/NewRelic/Agent/MethodTracer.html">NewRelic::Agent::MethodTracer</a><br />
43
- <a href="classes/NewRelic/Agent/MethodTracer/ClassMethods.html">NewRelic::Agent::MethodTracer::ClassMethods</a><br />
44
- <a href="classes/NewRelic/Agent/MethodTracer/InstanceMethods.html">NewRelic::Agent::MethodTracer::InstanceMethods</a><br />
45
- <a href="classes/NewRelic/Agent/PostTooBigException.html">NewRelic::Agent::PostTooBigException</a><br />
46
- <a href="classes/NewRelic/Agent/Sampler.html">NewRelic::Agent::Sampler</a><br />
47
- <a href="classes/NewRelic/Agent/Sampler/Unsupported.html">NewRelic::Agent::Sampler::Unsupported</a><br />
48
- <a href="classes/NewRelic/Agent/Samplers.html">NewRelic::Agent::Samplers</a><br />
49
- <a href="classes/NewRelic/Agent/Samplers/CpuSampler.html">NewRelic::Agent::Samplers::CpuSampler</a><br />
50
- <a href="classes/NewRelic/Agent/Samplers/DelayedJobLockSampler.html">NewRelic::Agent::Samplers::DelayedJobLockSampler</a><br />
51
- <a href="classes/NewRelic/Agent/Samplers/MemorySampler.html">NewRelic::Agent::Samplers::MemorySampler</a><br />
52
- <a href="classes/NewRelic/Agent/Samplers/MemorySampler/Base.html">NewRelic::Agent::Samplers::MemorySampler::Base</a><br />
53
- <a href="classes/NewRelic/Agent/Samplers/MemorySampler/JavaHeapSampler.html">NewRelic::Agent::Samplers::MemorySampler::JavaHeapSampler</a><br />
54
- <a href="classes/NewRelic/Agent/Samplers/MemorySampler/ProcStatus.html">NewRelic::Agent::Samplers::MemorySampler::ProcStatus</a><br />
55
- <a href="classes/NewRelic/Agent/Samplers/MemorySampler/ShellPS.html">NewRelic::Agent::Samplers::MemorySampler::ShellPS</a><br />
56
- <a href="classes/NewRelic/Agent/Samplers/ObjectSampler.html">NewRelic::Agent::Samplers::ObjectSampler</a><br />
57
- <a href="classes/NewRelic/Agent/ServerError.html">NewRelic::Agent::ServerError</a><br />
58
- <a href="classes/NewRelic/Agent/ShimAgent.html">NewRelic::Agent::ShimAgent</a><br />
59
- <a href="classes/NewRelic/Agent/StatsEngine.html">NewRelic::Agent::StatsEngine</a><br />
60
- <a href="classes/NewRelic/Agent/StatsEngine/MetricStats.html">NewRelic::Agent::StatsEngine::MetricStats</a><br />
61
- <a href="classes/NewRelic/Agent/StatsEngine/Samplers.html">NewRelic::Agent::StatsEngine::Samplers</a><br />
62
- <a href="classes/NewRelic/Agent/StatsEngine/ScopeStackElement.html">NewRelic::Agent::StatsEngine::ScopeStackElement</a><br />
63
- <a href="classes/NewRelic/Agent/StatsEngine/Transactions.html">NewRelic::Agent::StatsEngine::Transactions</a><br />
64
- <a href="classes/NewRelic/Agent/TransactionSampleBuilder.html">NewRelic::Agent::TransactionSampleBuilder</a><br />
65
- <a href="classes/NewRelic/Agent/TransactionSampler.html">NewRelic::Agent::TransactionSampler</a><br />
66
- <a href="classes/NewRelic/Agent/WorkerLoop.html">NewRelic::Agent::WorkerLoop</a><br />
67
- <a href="classes/NewRelic/Agent/WorkerLoop/LoopTask.html">NewRelic::Agent::WorkerLoop::LoopTask</a><br />
68
- <a href="classes/NewRelic/ApdexStats.html">NewRelic::ApdexStats</a><br />
69
- <a href="classes/NewRelic/BasicStats.html">NewRelic::BasicStats</a><br />
70
- <a href="classes/NewRelic/ChainedCall.html">NewRelic::ChainedCall</a><br />
71
- <a href="classes/NewRelic/Commands.html">NewRelic::Commands</a><br />
72
- <a href="classes/NewRelic/Commands/CommandFailure.html">NewRelic::Commands::CommandFailure</a><br />
73
- <a href="classes/NewRelic/Commands/Deployments.html">NewRelic::Commands::Deployments</a><br />
74
- <a href="classes/NewRelic/Control.html">NewRelic::Control</a><br />
75
- <a href="classes/NewRelic/Control.html">NewRelic::Control</a><br />
76
- <a href="classes/NewRelic/Control/External.html">NewRelic::Control::External</a><br />
77
- <a href="classes/NewRelic/Control/Merb.html">NewRelic::Control::Merb</a><br />
78
- <a href="classes/NewRelic/Control/Rails.html">NewRelic::Control::Rails</a><br />
79
- <a href="classes/NewRelic/Control/Ruby.html">NewRelic::Control::Ruby</a><br />
80
- <a href="classes/NewRelic/Control/Sinatra.html">NewRelic::Control::Sinatra</a><br />
81
- <a href="classes/NewRelic/DelayedJobInjection.html">NewRelic::DelayedJobInjection</a><br />
82
- <a href="classes/NewRelic/Histogram.html">NewRelic::Histogram</a><br />
83
- <a href="classes/NewRelic/Histogram/Bucket.html">NewRelic::Histogram::Bucket</a><br />
84
- <a href="classes/NewRelic/Histogram/Shim.html">NewRelic::Histogram::Shim</a><br />
85
- <a href="classes/NewRelic/LocalEnvironment.html">NewRelic::LocalEnvironment</a><br />
86
- <a href="classes/NewRelic/MerbBootLoader.html">NewRelic::MerbBootLoader</a><br />
87
- <a href="classes/NewRelic/MethodTraceStats.html">NewRelic::MethodTraceStats</a><br />
88
- <a href="classes/NewRelic/MetricData.html">NewRelic::MetricData</a><br />
89
- <a href="classes/NewRelic/MetricParser.html">NewRelic::MetricParser</a><br />
90
- <a href="classes/NewRelic/MetricParser.html">NewRelic::MetricParser</a><br />
91
- <a href="classes/NewRelic/MetricParser/ActionMailer.html">NewRelic::MetricParser::ActionMailer</a><br />
92
- <a href="classes/NewRelic/MetricParser/ActiveMerchant.html">NewRelic::MetricParser::ActiveMerchant</a><br />
93
- <a href="classes/NewRelic/MetricParser/ActiveRecord.html">NewRelic::MetricParser::ActiveRecord</a><br />
94
- <a href="classes/NewRelic/MetricParser/Controller.html">NewRelic::MetricParser::Controller</a><br />
95
- <a href="classes/NewRelic/MetricParser/ControllerCPU.html">NewRelic::MetricParser::ControllerCPU</a><br />
96
- <a href="classes/NewRelic/MetricParser/Errors.html">NewRelic::MetricParser::Errors</a><br />
97
- <a href="classes/NewRelic/MetricParser/External.html">NewRelic::MetricParser::External</a><br />
98
- <a href="classes/NewRelic/MetricParser/MemCache.html">NewRelic::MetricParser::MemCache</a><br />
99
- <a href="classes/NewRelic/MetricParser/OtherTransaction.html">NewRelic::MetricParser::OtherTransaction</a><br />
100
- <a href="classes/NewRelic/MetricParser/View.html">NewRelic::MetricParser::View</a><br />
101
- <a href="classes/NewRelic/MetricParser/WebFrontend.html">NewRelic::MetricParser::WebFrontend</a><br />
102
- <a href="classes/NewRelic/MetricParser/WebService.html">NewRelic::MetricParser::WebService</a><br />
103
- <a href="classes/NewRelic/MetricSpec.html">NewRelic::MetricSpec</a><br />
104
- <a href="classes/NewRelic/Metrics.html">NewRelic::Metrics</a><br />
105
- <a href="classes/NewRelic/NoticedError.html">NewRelic::NoticedError</a><br />
106
- <a href="classes/NewRelic/Rack.html">NewRelic::Rack</a><br />
107
- <a href="classes/NewRelic/Rack/MetricApp.html">NewRelic::Rack::MetricApp</a><br />
108
- <a href="classes/NewRelic/Rack/Status.html">NewRelic::Rack::Status</a><br />
109
- <a href="classes/NewRelic/ScopedMethodTraceStats.html">NewRelic::ScopedMethodTraceStats</a><br />
110
- <a href="classes/NewRelic/Stats.html">NewRelic::Stats</a><br />
111
- <a href="classes/NewRelic/StatsBase.html">NewRelic::StatsBase</a><br />
112
- <a href="classes/NewRelic/TransactionAnalysis.html">NewRelic::TransactionAnalysis</a><br />
113
- <a href="classes/NewRelic/TransactionAnalysis/SegmentSummary.html">NewRelic::TransactionAnalysis::SegmentSummary</a><br />
114
- <a href="classes/NewRelic/TransactionSample.html">NewRelic::TransactionSample</a><br />
115
- <a href="classes/NewRelic/TransactionSample/CompositeSegment.html">NewRelic::TransactionSample::CompositeSegment</a><br />
116
- <a href="classes/NewRelic/TransactionSample/FakeSegment.html">NewRelic::TransactionSample::FakeSegment</a><br />
117
- <a href="classes/NewRelic/TransactionSample/IDGenerator.html">NewRelic::TransactionSample::IDGenerator</a><br />
118
- <a href="classes/NewRelic/TransactionSample/Segment.html">NewRelic::TransactionSample::Segment</a><br />
119
- <a href="classes/NewRelic/TransactionSample/SummarySegment.html">NewRelic::TransactionSample::SummarySegment</a><br />
120
- <a href="classes/NewRelic/VersionNumber.html">NewRelic::VersionNumber</a><br />
121
- <a href="classes/NewRelicApi.html">NewRelicApi</a><br />
122
- <a href="classes/NewRelicApi/Account.html">NewRelicApi::Account</a><br />
123
- <a href="classes/NewRelicApi/Account/AccountUsage.html">NewRelicApi::Account::AccountUsage</a><br />
124
- <a href="classes/NewRelicApi/Account/AccountView.html">NewRelicApi::Account::AccountView</a><br />
125
- <a href="classes/NewRelicApi/Application.html">NewRelicApi::Application</a><br />
126
- <a href="classes/NewRelicApi/Application/Agent.html">NewRelicApi::Application::Agent</a><br />
127
- <a href="classes/NewRelicApi/Deployment.html">NewRelicApi::Deployment</a><br />
128
- <a href="classes/NewRelicApi/Subscription.html">NewRelicApi::Subscription</a><br />
129
- <a href="classes/NewRelicApi/ThresholdValue.html">NewRelicApi::ThresholdValue</a><br />
130
- <a href="classes/NewRelicApi/User.html">NewRelicApi::User</a><br />
131
- </div>
132
- </div>
133
- </body>
134
- </html>