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,747 +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>Class: NewRelic::MetricParser</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="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">NewRelic::MetricParser</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/new_relic/metric_parser_rb.html">
59
- lib/new_relic/metric_parser.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <p>
83
- Metric parsing logic mixin. Given a metric name (attribute called
84
- &quot;name&quot;), provide a set of accessors that enable inspection of the
85
- metric. A metric has 2 or more <a
86
- href="MetricParser.html#M000381">segments</a>, each separated by the
87
- &#8217;/&#8217; character. The metric&#8216;s <a
88
- href="MetricParser.html#M000380">category</a> is specified by its first
89
- segment. Following are the set of categories currently supported by <a
90
- href="../NewRelic.html">NewRelic</a>&#8216;s default metric set:
91
- </p>
92
- <ul>
93
- <li>Controller
94
-
95
- </li>
96
- <li>ActiveRecord
97
-
98
- </li>
99
- <li>Rails
100
-
101
- </li>
102
- <li>WebService
103
-
104
- </li>
105
- <li>View
106
-
107
- </li>
108
- <li>Database
109
-
110
- </li>
111
- <li>Custom
112
-
113
- </li>
114
- </ul>
115
- <p>
116
- Based on the <a href="MetricParser.html#M000380">category</a> of the
117
- metric, specific parsing logic is defined in the source files countained in
118
- the &quot;metric_parsers&quot; sub directory local to this file.
119
- </p>
120
-
121
- </div>
122
-
123
-
124
- </div>
125
-
126
- <div id="method-list">
127
- <h3 class="section-bar">Methods</h3>
128
-
129
- <div class="name-list">
130
- <a href="#M000377">apdex_metric_path</a>&nbsp;&nbsp;
131
- <a href="#M000379">base_metric_name</a>&nbsp;&nbsp;
132
- <a href="#M000389">call_rate_suffix</a>&nbsp;&nbsp;
133
- <a href="#M000380">category</a>&nbsp;&nbsp;
134
- <a href="#M000375">developer_name</a>&nbsp;&nbsp;
135
- <a href="#M000370">for_metric_named</a>&nbsp;&nbsp;
136
- <a href="#M000388">last_segment</a>&nbsp;&nbsp;
137
- <a href="#M000378">legend_name</a>&nbsp;&nbsp;
138
- <a href="#M000372">method_missing</a>&nbsp;&nbsp;
139
- <a href="#M000391">new</a>&nbsp;&nbsp;
140
- <a href="#M000371">parse</a>&nbsp;&nbsp;
141
- <a href="#M000374">pie_chart_label</a>&nbsp;&nbsp;
142
- <a href="#M000382">segment_0</a>&nbsp;&nbsp;
143
- <a href="#M000383">segment_1</a>&nbsp;&nbsp;
144
- <a href="#M000384">segment_2</a>&nbsp;&nbsp;
145
- <a href="#M000385">segment_3</a>&nbsp;&nbsp;
146
- <a href="#M000386">segment_4</a>&nbsp;&nbsp;
147
- <a href="#M000387">segment_5</a>&nbsp;&nbsp;
148
- <a href="#M000381">segments</a>&nbsp;&nbsp;
149
- <a href="#M000373">short_name</a>&nbsp;&nbsp;
150
- <a href="#M000376">tooltip_name</a>&nbsp;&nbsp;
151
- <a href="#M000390">url</a>&nbsp;&nbsp;
152
- </div>
153
- </div>
154
-
155
- </div>
156
-
157
-
158
- <!-- if includes -->
159
-
160
- <div id="section">
161
-
162
-
163
- <div id="constants-list">
164
- <h3 class="section-bar">Constants</h3>
165
-
166
- <div class="name-list">
167
- <table summary="Constants">
168
- <tr class="top-aligned-row context-row">
169
- <td class="context-item-name">SEPARATOR</td>
170
- <td>=</td>
171
- <td class="context-item-value">'/' unless defined? SEPARATOR</td>
172
- </tr>
173
- </table>
174
- </div>
175
- </div>
176
-
177
-
178
-
179
- <div id="attribute-list">
180
- <h3 class="section-bar">Attributes</h3>
181
-
182
- <div class="name-list">
183
- <table>
184
- <tr class="top-aligned-row context-row">
185
- <td class="context-item-name">name</td>
186
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
187
- <td class="context-item-desc"></td>
188
- </tr>
189
- </table>
190
- </div>
191
- </div>
192
-
193
-
194
-
195
- <!-- if method_list -->
196
- <div id="methods">
197
- <h3 class="section-bar">Public Class methods</h3>
198
-
199
- <div id="method-M000370" class="method-detail">
200
- <a name="M000370"></a>
201
-
202
- <div class="method-heading">
203
- <a href="#M000370" class="method-signature">
204
- <span class="method-name">for_metric_named</span><span class="method-args">(s)</span>
205
- </a>
206
- </div>
207
-
208
- <div class="method-description">
209
- <p>
210
- return a string that is parsable via the Metric parser APIs
211
- </p>
212
- <p><a class="source-toggle" href="#"
213
- onclick="toggleCode('M000370-source');return false;">[Source]</a></p>
214
- <div class="method-source-code" id="M000370-source">
215
- <pre>
216
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 28</span>
217
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">for_metric_named</span>(<span class="ruby-identifier">s</span>)
218
- <span class="ruby-identifier">category</span> = (<span class="ruby-identifier">s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^([^\/]*)/</span>) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">$1</span>
219
- <span class="ruby-identifier">parser_class</span> = <span class="ruby-keyword kw">self</span>
220
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">category</span>
221
- <span class="ruby-identifier">parser_class</span> = <span class="ruby-constant">NewRelic</span><span class="ruby-operator">::</span><span class="ruby-constant">MetricParser</span>.<span class="ruby-identifier">const_get</span>(<span class="ruby-identifier">category</span>) <span class="ruby-keyword kw">if</span> (<span class="ruby-constant">NewRelic</span><span class="ruby-operator">::</span><span class="ruby-constant">MetricParser</span>.<span class="ruby-identifier">const_defined?</span>(<span class="ruby-identifier">category</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span>)
222
- <span class="ruby-keyword kw">end</span>
223
- <span class="ruby-identifier">parser_class</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">s</span>
224
- <span class="ruby-keyword kw">end</span>
225
- </pre>
226
- </div>
227
- </div>
228
- </div>
229
-
230
- <div id="method-M000391" class="method-detail">
231
- <a name="M000391"></a>
232
-
233
- <div class="method-heading">
234
- <a href="#M000391" class="method-signature">
235
- <span class="method-name">new</span><span class="method-args">(name)</span>
236
- </a>
237
- </div>
238
-
239
- <div class="method-description">
240
- <p>
241
- returns a hash of params for url_for(), giving you a drilldown URL to an
242
- RPM page for this metric define in subclasses - TB 2009-12-18 def
243
- drilldown_url(metric_id); end
244
- </p>
245
- <p><a class="source-toggle" href="#"
246
- onclick="toggleCode('M000391-source');return false;">[Source]</a></p>
247
- <div class="method-source-code" id="M000391-source">
248
- <pre>
249
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 120</span>
250
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>)
251
- <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
252
- <span class="ruby-keyword kw">end</span>
253
- </pre>
254
- </div>
255
- </div>
256
- </div>
257
-
258
- <div id="method-M000371" class="method-detail">
259
- <a name="M000371"></a>
260
-
261
- <div class="method-heading">
262
- <a href="#M000371" class="method-signature">
263
- <span class="method-name">parse</span><span class="method-args">(s)</span>
264
- </a>
265
- </div>
266
-
267
- <div class="method-description">
268
- <p><a class="source-toggle" href="#"
269
- onclick="toggleCode('M000371-source');return false;">[Source]</a></p>
270
- <div class="method-source-code" id="M000371-source">
271
- <pre>
272
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 37</span>
273
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">s</span>)
274
- <span class="ruby-identifier">for_metric_named</span>(<span class="ruby-identifier">s</span>)
275
- <span class="ruby-keyword kw">end</span>
276
- </pre>
277
- </div>
278
- </div>
279
- </div>
280
-
281
- <h3 class="section-bar">Public Instance methods</h3>
282
-
283
- <div id="method-M000377" class="method-detail">
284
- <a name="M000377"></a>
285
-
286
- <div class="method-heading">
287
- <a href="#M000377" class="method-signature">
288
- <span class="method-name">apdex_metric_path</span><span class="method-args">()</span>
289
- </a>
290
- </div>
291
-
292
- <div class="method-description">
293
- <p><a class="source-toggle" href="#"
294
- onclick="toggleCode('M000377-source');return false;">[Source]</a></p>
295
- <div class="method-source-code" id="M000377-source">
296
- <pre>
297
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 69</span>
298
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">apdex_metric_path</span>
299
- <span class="ruby-node">&quot;Apdex/#{segments[1..-1].join('/')}&quot;</span>
300
- <span class="ruby-keyword kw">end</span>
301
- </pre>
302
- </div>
303
- </div>
304
- </div>
305
-
306
- <div id="method-M000379" class="method-detail">
307
- <a name="M000379"></a>
308
-
309
- <div class="method-heading">
310
- <a href="#M000379" class="method-signature">
311
- <span class="method-name">base_metric_name</span><span class="method-args">()</span>
312
- </a>
313
- </div>
314
-
315
- <div class="method-description">
316
- <p>
317
- Return the name of another metric if the current metric is really add-on
318
- data for another metric.
319
- </p>
320
- <p><a class="source-toggle" href="#"
321
- onclick="toggleCode('M000379-source');return false;">[Source]</a></p>
322
- <div class="method-source-code" id="M000379-source">
323
- <pre>
324
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 80</span>
325
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">base_metric_name</span>
326
- <span class="ruby-keyword kw">nil</span>
327
- <span class="ruby-keyword kw">end</span>
328
- </pre>
329
- </div>
330
- </div>
331
- </div>
332
-
333
- <div id="method-M000389" class="method-detail">
334
- <a name="M000389"></a>
335
-
336
- <div class="method-heading">
337
- <a href="#M000389" class="method-signature">
338
- <span class="method-name">call_rate_suffix</span><span class="method-args">()</span>
339
- </a>
340
- </div>
341
-
342
- <div class="method-description">
343
- <p>
344
- This is the suffix used for call rate or throughput. By default, it&#8216;s
345
- cpm but things like controller actions will override to use something like
346
- &#8216;rpm&#8217; for requests per minute
347
- </p>
348
- <p><a class="source-toggle" href="#"
349
- onclick="toggleCode('M000389-source');return false;">[Source]</a></p>
350
- <div class="method-source-code" id="M000389-source">
351
- <pre>
352
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 108</span>
353
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">call_rate_suffix</span>
354
- <span class="ruby-value str">'cpm'</span>
355
- <span class="ruby-keyword kw">end</span>
356
- </pre>
357
- </div>
358
- </div>
359
- </div>
360
-
361
- <div id="method-M000380" class="method-detail">
362
- <a name="M000380"></a>
363
-
364
- <div class="method-heading">
365
- <a href="#M000380" class="method-signature">
366
- <span class="method-name">category</span><span class="method-args">()</span>
367
- </a>
368
- </div>
369
-
370
- <div class="method-description">
371
- <p><a class="source-toggle" href="#"
372
- onclick="toggleCode('M000380-source');return false;">[Source]</a></p>
373
- <div class="method-source-code" id="M000380-source">
374
- <pre>
375
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 84</span>
376
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">category</span>
377
- <span class="ruby-identifier">segments</span>[<span class="ruby-value">0</span>]
378
- <span class="ruby-keyword kw">end</span>
379
- </pre>
380
- </div>
381
- </div>
382
- </div>
383
-
384
- <div id="method-M000375" class="method-detail">
385
- <a name="M000375"></a>
386
-
387
- <div class="method-heading">
388
- <a href="#M000375" class="method-signature">
389
- <span class="method-name">developer_name</span><span class="method-args">()</span>
390
- </a>
391
- </div>
392
-
393
- <div class="method-description">
394
- <p><a class="source-toggle" href="#"
395
- onclick="toggleCode('M000375-source');return false;">[Source]</a></p>
396
- <div class="method-source-code" id="M000375-source">
397
- <pre>
398
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 61</span>
399
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">developer_name</span>
400
- <span class="ruby-identifier">short_name</span>
401
- <span class="ruby-keyword kw">end</span>
402
- </pre>
403
- </div>
404
- </div>
405
- </div>
406
-
407
- <div id="method-M000388" class="method-detail">
408
- <a name="M000388"></a>
409
-
410
- <div class="method-heading">
411
- <a href="#M000388" class="method-signature">
412
- <span class="method-name">last_segment</span><span class="method-args">()</span>
413
- </a>
414
- </div>
415
-
416
- <div class="method-description">
417
- <p><a class="source-toggle" href="#"
418
- onclick="toggleCode('M000388-source');return false;">[Source]</a></p>
419
- <div class="method-source-code" id="M000388-source">
420
- <pre>
421
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 103</span>
422
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">last_segment</span>; <span class="ruby-identifier">segments</span>.<span class="ruby-identifier">last</span>; <span class="ruby-keyword kw">end</span>
423
- </pre>
424
- </div>
425
- </div>
426
- </div>
427
-
428
- <div id="method-M000378" class="method-detail">
429
- <a name="M000378"></a>
430
-
431
- <div class="method-heading">
432
- <a href="#M000378" class="method-signature">
433
- <span class="method-name">legend_name</span><span class="method-args">()</span>
434
- </a>
435
- </div>
436
-
437
- <div class="method-description">
438
- <p>
439
- A short name for legends in the graphs
440
- </p>
441
- <p><a class="source-toggle" href="#"
442
- onclick="toggleCode('M000378-source');return false;">[Source]</a></p>
443
- <div class="method-source-code" id="M000378-source">
444
- <pre>
445
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 74</span>
446
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">legend_name</span>
447
- <span class="ruby-identifier">short_name</span>
448
- <span class="ruby-keyword kw">end</span>
449
- </pre>
450
- </div>
451
- </div>
452
- </div>
453
-
454
- <div id="method-M000372" class="method-detail">
455
- <a name="M000372"></a>
456
-
457
- <div class="method-heading">
458
- <a href="#M000372" class="method-signature">
459
- <span class="method-name">method_missing</span><span class="method-args">(method_name, *args)</span>
460
- </a>
461
- </div>
462
-
463
- <div class="method-description">
464
- <p><a class="source-toggle" href="#"
465
- onclick="toggleCode('M000372-source');return false;">[Source]</a></p>
466
- <div class="method-source-code" id="M000372-source">
467
- <pre>
468
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 41</span>
469
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
470
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">method_name</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/^is_.*\?/</span>
471
- <span class="ruby-keyword kw">super</span>
472
- <span class="ruby-keyword kw">end</span>
473
- </pre>
474
- </div>
475
- </div>
476
- </div>
477
-
478
- <div id="method-M000374" class="method-detail">
479
- <a name="M000374"></a>
480
-
481
- <div class="method-heading">
482
- <a href="#M000374" class="method-signature">
483
- <span class="method-name">pie_chart_label</span><span class="method-args">()</span>
484
- </a>
485
- </div>
486
-
487
- <div class="method-description">
488
- <p><a class="source-toggle" href="#"
489
- onclick="toggleCode('M000374-source');return false;">[Source]</a></p>
490
- <div class="method-source-code" id="M000374-source">
491
- <pre>
492
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 57</span>
493
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pie_chart_label</span>
494
- <span class="ruby-identifier">developer_name</span>
495
- <span class="ruby-keyword kw">end</span>
496
- </pre>
497
- </div>
498
- </div>
499
- </div>
500
-
501
- <div id="method-M000382" class="method-detail">
502
- <a name="M000382"></a>
503
-
504
- <div class="method-heading">
505
- <a href="#M000382" class="method-signature">
506
- <span class="method-name">segment_0</span><span class="method-args">()</span>
507
- </a>
508
- </div>
509
-
510
- <div class="method-description">
511
- <p>
512
- &#8212; These accessors are used to allow chart to use a specific segment
513
- in the metric name for label construction as a zero-arg accessor ++
514
- </p>
515
- <p><a class="source-toggle" href="#"
516
- onclick="toggleCode('M000382-source');return false;">[Source]</a></p>
517
- <div class="method-source-code" id="M000382-source">
518
- <pre>
519
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 97</span>
520
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_0</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">0</span>]; <span class="ruby-keyword kw">end</span>
521
- </pre>
522
- </div>
523
- </div>
524
- </div>
525
-
526
- <div id="method-M000383" class="method-detail">
527
- <a name="M000383"></a>
528
-
529
- <div class="method-heading">
530
- <a href="#M000383" class="method-signature">
531
- <span class="method-name">segment_1</span><span class="method-args">()</span>
532
- </a>
533
- </div>
534
-
535
- <div class="method-description">
536
- <p><a class="source-toggle" href="#"
537
- onclick="toggleCode('M000383-source');return false;">[Source]</a></p>
538
- <div class="method-source-code" id="M000383-source">
539
- <pre>
540
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 98</span>
541
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_1</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">1</span>]; <span class="ruby-keyword kw">end</span>
542
- </pre>
543
- </div>
544
- </div>
545
- </div>
546
-
547
- <div id="method-M000384" class="method-detail">
548
- <a name="M000384"></a>
549
-
550
- <div class="method-heading">
551
- <a href="#M000384" class="method-signature">
552
- <span class="method-name">segment_2</span><span class="method-args">()</span>
553
- </a>
554
- </div>
555
-
556
- <div class="method-description">
557
- <p><a class="source-toggle" href="#"
558
- onclick="toggleCode('M000384-source');return false;">[Source]</a></p>
559
- <div class="method-source-code" id="M000384-source">
560
- <pre>
561
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 99</span>
562
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_2</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">2</span>]; <span class="ruby-keyword kw">end</span>
563
- </pre>
564
- </div>
565
- </div>
566
- </div>
567
-
568
- <div id="method-M000385" class="method-detail">
569
- <a name="M000385"></a>
570
-
571
- <div class="method-heading">
572
- <a href="#M000385" class="method-signature">
573
- <span class="method-name">segment_3</span><span class="method-args">()</span>
574
- </a>
575
- </div>
576
-
577
- <div class="method-description">
578
- <p><a class="source-toggle" href="#"
579
- onclick="toggleCode('M000385-source');return false;">[Source]</a></p>
580
- <div class="method-source-code" id="M000385-source">
581
- <pre>
582
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 100</span>
583
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_3</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">3</span>]; <span class="ruby-keyword kw">end</span>
584
- </pre>
585
- </div>
586
- </div>
587
- </div>
588
-
589
- <div id="method-M000386" class="method-detail">
590
- <a name="M000386"></a>
591
-
592
- <div class="method-heading">
593
- <a href="#M000386" class="method-signature">
594
- <span class="method-name">segment_4</span><span class="method-args">()</span>
595
- </a>
596
- </div>
597
-
598
- <div class="method-description">
599
- <p><a class="source-toggle" href="#"
600
- onclick="toggleCode('M000386-source');return false;">[Source]</a></p>
601
- <div class="method-source-code" id="M000386-source">
602
- <pre>
603
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 101</span>
604
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_4</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">4</span>]; <span class="ruby-keyword kw">end</span>
605
- </pre>
606
- </div>
607
- </div>
608
- </div>
609
-
610
- <div id="method-M000387" class="method-detail">
611
- <a name="M000387"></a>
612
-
613
- <div class="method-heading">
614
- <a href="#M000387" class="method-signature">
615
- <span class="method-name">segment_5</span><span class="method-args">()</span>
616
- </a>
617
- </div>
618
-
619
- <div class="method-description">
620
- <p><a class="source-toggle" href="#"
621
- onclick="toggleCode('M000387-source');return false;">[Source]</a></p>
622
- <div class="method-source-code" id="M000387-source">
623
- <pre>
624
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 102</span>
625
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segment_5</span>; <span class="ruby-identifier">segments</span>[<span class="ruby-value">5</span>]; <span class="ruby-keyword kw">end</span>
626
- </pre>
627
- </div>
628
- </div>
629
- </div>
630
-
631
- <div id="method-M000381" class="method-detail">
632
- <a name="M000381"></a>
633
-
634
- <div class="method-heading">
635
- <a href="#M000381" class="method-signature">
636
- <span class="method-name">segments</span><span class="method-args">()</span>
637
- </a>
638
- </div>
639
-
640
- <div class="method-description">
641
- <p><a class="source-toggle" href="#"
642
- onclick="toggleCode('M000381-source');return false;">[Source]</a></p>
643
- <div class="method-source-code" id="M000381-source">
644
- <pre>
645
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 88</span>
646
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">segments</span>
647
- <span class="ruby-keyword kw">return</span> [] <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">name</span>
648
- <span class="ruby-ivar">@segments</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">name</span>.<span class="ruby-identifier">split</span>(<span class="ruby-constant">SEPARATOR</span>).<span class="ruby-identifier">freeze</span>
649
- <span class="ruby-keyword kw">end</span>
650
- </pre>
651
- </div>
652
- </div>
653
- </div>
654
-
655
- <div id="method-M000373" class="method-detail">
656
- <a name="M000373"></a>
657
-
658
- <div class="method-heading">
659
- <a href="#M000373" class="method-signature">
660
- <span class="method-name">short_name</span><span class="method-args">()</span>
661
- </a>
662
- </div>
663
-
664
- <div class="method-description">
665
- <p>
666
- The short name for the metric is defined as all of the <a
667
- href="MetricParser.html#M000381">segments</a> of the metric name except for
668
- its first (its domain).
669
- </p>
670
- <p><a class="source-toggle" href="#"
671
- onclick="toggleCode('M000373-source');return false;">[Source]</a></p>
672
- <div class="method-source-code" id="M000373-source">
673
- <pre>
674
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 47</span>
675
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">short_name</span>
676
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">segments</span>.<span class="ruby-identifier">empty?</span>
677
- <span class="ruby-value str">''</span>
678
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">segments</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
679
- <span class="ruby-identifier">segments</span>[<span class="ruby-value">0</span>]
680
- <span class="ruby-keyword kw">else</span>
681
- <span class="ruby-identifier">segments</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">join</span>(<span class="ruby-constant">SEPARATOR</span>)
682
- <span class="ruby-keyword kw">end</span>
683
- <span class="ruby-keyword kw">end</span>
684
- </pre>
685
- </div>
686
- </div>
687
- </div>
688
-
689
- <div id="method-M000376" class="method-detail">
690
- <a name="M000376"></a>
691
-
692
- <div class="method-heading">
693
- <a href="#M000376" class="method-signature">
694
- <span class="method-name">tooltip_name</span><span class="method-args">()</span>
695
- </a>
696
- </div>
697
-
698
- <div class="method-description">
699
- <p><a class="source-toggle" href="#"
700
- onclick="toggleCode('M000376-source');return false;">[Source]</a></p>
701
- <div class="method-source-code" id="M000376-source">
702
- <pre>
703
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 65</span>
704
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">tooltip_name</span>
705
- <span class="ruby-identifier">short_name</span>
706
- <span class="ruby-keyword kw">end</span>
707
- </pre>
708
- </div>
709
- </div>
710
- </div>
711
-
712
- <div id="method-M000390" class="method-detail">
713
- <a name="M000390"></a>
714
-
715
- <div class="method-heading">
716
- <a href="#M000390" class="method-signature">
717
- <span class="method-name">url</span><span class="method-args">()</span>
718
- </a>
719
- </div>
720
-
721
- <div class="method-description">
722
- <p><a class="source-toggle" href="#"
723
- onclick="toggleCode('M000390-source');return false;">[Source]</a></p>
724
- <div class="method-source-code" id="M000390-source">
725
- <pre>
726
- <span class="ruby-comment cmt"># File lib/new_relic/metric_parser.rb, line 112</span>
727
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">url</span>
728
- <span class="ruby-value str">''</span>
729
- <span class="ruby-keyword kw">end</span>
730
- </pre>
731
- </div>
732
- </div>
733
- </div>
734
-
735
-
736
- </div>
737
-
738
-
739
- </div>
740
-
741
-
742
- <div id="validator-badges">
743
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
744
- </div>
745
-
746
- </body>
747
- </html>