newrelic_rpm 2.10.6 → 2.10.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of newrelic_rpm might be problematic. Click here for more details.
- data/CHANGELOG +14 -0
- data/lib/new_relic/agent.rb +5 -4
- data/lib/new_relic/agent/agent.rb +81 -101
- data/lib/new_relic/agent/error_collector.rb +1 -2
- data/lib/new_relic/agent/instrumentation/authlogic.rb +2 -2
- data/lib/new_relic/agent/instrumentation/merb/controller.rb +2 -2
- data/lib/new_relic/agent/instrumentation/rails3/action_controller.rb +45 -0
- data/lib/new_relic/agent/instrumentation/rails3/errors.rb +21 -0
- data/lib/new_relic/agent/method_tracer.rb +2 -2
- data/lib/new_relic/agent/samplers/delayed_job_lock_sampler.rb +1 -1
- data/lib/new_relic/agent/stats_engine/samplers.rb +1 -2
- data/lib/new_relic/agent/transaction_sampler.rb +1 -1
- data/lib/new_relic/agent/worker_loop.rb +47 -86
- data/lib/new_relic/{agent/collection_helper.rb → collection_helper.rb} +2 -4
- data/lib/new_relic/control.rb +18 -2
- data/lib/new_relic/control/rails3.rb +75 -0
- data/lib/new_relic/local_environment.rb +11 -3
- data/lib/new_relic/noticed_error.rb +2 -1
- data/lib/new_relic/version.rb +10 -9
- data/newrelic_rpm.gemspec +195 -3
- data/rdoc/classes/NewRelic.html +293 -0
- data/rdoc/classes/NewRelic/Agent.html +810 -0
- data/rdoc/classes/NewRelic/Agent/Agent.html +742 -0
- data/rdoc/classes/NewRelic/Agent/BackgroundLoadingError.html +111 -0
- data/rdoc/classes/NewRelic/Agent/BusyCalculator.html +309 -0
- data/rdoc/classes/NewRelic/Agent/CollectionHelper.html +196 -0
- data/rdoc/classes/NewRelic/Agent/ErrorCollector.html +378 -0
- data/rdoc/classes/NewRelic/Agent/ForceDisconnectException.html +118 -0
- data/rdoc/classes/NewRelic/Agent/ForceRestartException.html +117 -0
- data/rdoc/classes/NewRelic/Agent/IgnoreSilentlyException.html +118 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation.html +174 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/ActiveRecordInstrumentation.html +221 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation.html +349 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation/ClassMethods.html +277 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/DelayedJobInstrumentation.html +112 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/MetricFrame.html +1007 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/Rack.html +321 -0
- data/rdoc/classes/NewRelic/Agent/Instrumentation/Sinatra.html +176 -0
- data/rdoc/classes/NewRelic/Agent/LicenseException.html +117 -0
- data/rdoc/classes/NewRelic/Agent/MethodTracer.html +150 -0
- data/rdoc/classes/NewRelic/Agent/MethodTracer/ClassMethods.html +295 -0
- data/rdoc/classes/NewRelic/Agent/MethodTracer/InstanceMethods.html +284 -0
- data/rdoc/classes/NewRelic/Agent/PostTooBigException.html +120 -0
- data/rdoc/classes/NewRelic/Agent/Sampler.html +314 -0
- data/rdoc/classes/NewRelic/Agent/Sampler/Unsupported.html +117 -0
- data/rdoc/classes/NewRelic/Agent/Samplers.html +126 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/CpuSampler.html +327 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/DelayedJobLockSampler.html +296 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler.html +321 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/Base.html +186 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/JavaHeapSampler.html +173 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ProcStatus.html +216 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ShellPS.html +207 -0
- data/rdoc/classes/NewRelic/Agent/Samplers/ObjectSampler.html +222 -0
- data/rdoc/classes/NewRelic/Agent/ServerError.html +117 -0
- data/rdoc/classes/NewRelic/Agent/ShimAgent.html +297 -0
- data/rdoc/classes/NewRelic/Agent/StatsEngine.html +204 -0
- data/rdoc/classes/NewRelic/Agent/StatsEngine/MetricStats.html +441 -0
- data/rdoc/classes/NewRelic/Agent/StatsEngine/Samplers.html +237 -0
- data/rdoc/classes/NewRelic/Agent/StatsEngine/ScopeStackElement.html +178 -0
- data/rdoc/classes/NewRelic/Agent/StatsEngine/Transactions.html +385 -0
- data/rdoc/classes/NewRelic/Agent/TransactionSampleBuilder.html +505 -0
- data/rdoc/classes/NewRelic/Agent/TransactionSampler.html +690 -0
- data/rdoc/classes/NewRelic/Agent/WorkerLoop.html +305 -0
- data/rdoc/classes/NewRelic/Agent/WorkerLoop/LoopTask.html +224 -0
- data/rdoc/classes/NewRelic/ApdexStats.html +196 -0
- data/rdoc/classes/NewRelic/BasicStats.html +113 -0
- data/rdoc/classes/NewRelic/ChainedCall.html +180 -0
- data/rdoc/classes/NewRelic/Commands.html +112 -0
- data/rdoc/classes/NewRelic/Commands/CommandFailure.html +167 -0
- data/rdoc/classes/NewRelic/Commands/Deployments.html +285 -0
- data/rdoc/classes/NewRelic/Control.html +1760 -0
- data/rdoc/classes/NewRelic/Control/External.html +148 -0
- data/rdoc/classes/NewRelic/Control/Merb.html +227 -0
- data/rdoc/classes/NewRelic/Control/Rails.html +542 -0
- data/rdoc/classes/NewRelic/Control/Ruby.html +266 -0
- data/rdoc/classes/NewRelic/Control/Sinatra.html +178 -0
- data/rdoc/classes/NewRelic/DelayedJobInjection.html +118 -0
- data/rdoc/classes/NewRelic/Histogram.html +226 -0
- data/rdoc/classes/NewRelic/Histogram/Bucket.html +319 -0
- data/rdoc/classes/NewRelic/Histogram/Shim.html +144 -0
- data/rdoc/classes/NewRelic/LocalEnvironment.html +572 -0
- data/rdoc/classes/NewRelic/MerbBootLoader.html +146 -0
- data/rdoc/classes/NewRelic/MethodTraceStats.html +250 -0
- data/rdoc/classes/NewRelic/MetricData.html +347 -0
- data/rdoc/classes/NewRelic/MetricParser.html +747 -0
- data/rdoc/classes/NewRelic/MetricParser/ActionMailer.html +170 -0
- data/rdoc/classes/NewRelic/MetricParser/ActiveMerchant.html +267 -0
- data/rdoc/classes/NewRelic/MetricParser/ActiveRecord.html +250 -0
- data/rdoc/classes/NewRelic/MetricParser/Controller.html +363 -0
- data/rdoc/classes/NewRelic/MetricParser/ControllerCPU.html +319 -0
- data/rdoc/classes/NewRelic/MetricParser/Errors.html +170 -0
- data/rdoc/classes/NewRelic/MetricParser/External.html +339 -0
- data/rdoc/classes/NewRelic/MetricParser/MemCache.html +340 -0
- data/rdoc/classes/NewRelic/MetricParser/OtherTransaction.html +205 -0
- data/rdoc/classes/NewRelic/MetricParser/View.html +381 -0
- data/rdoc/classes/NewRelic/MetricParser/WebFrontend.html +182 -0
- data/rdoc/classes/NewRelic/MetricParser/WebService.html +172 -0
- data/rdoc/classes/NewRelic/MetricSpec.html +406 -0
- data/rdoc/classes/NewRelic/Metrics.html +138 -0
- data/rdoc/classes/NewRelic/NoticedError.html +200 -0
- data/rdoc/classes/NewRelic/Rack.html +112 -0
- data/rdoc/classes/NewRelic/Rack/MetricApp.html +193 -0
- data/rdoc/classes/NewRelic/Rack/Status.html +165 -0
- data/rdoc/classes/NewRelic/ScopedMethodTraceStats.html +225 -0
- data/rdoc/classes/NewRelic/Stats.html +917 -0
- data/rdoc/classes/NewRelic/StatsBase.html +346 -0
- data/rdoc/classes/NewRelic/TransactionAnalysis.html +269 -0
- data/rdoc/classes/NewRelic/TransactionAnalysis/SegmentSummary.html +338 -0
- data/rdoc/classes/NewRelic/TransactionSample.html +766 -0
- data/rdoc/classes/NewRelic/TransactionSample/CompositeSegment.html +195 -0
- data/rdoc/classes/NewRelic/TransactionSample/FakeSegment.html +113 -0
- data/rdoc/classes/NewRelic/TransactionSample/IDGenerator.html +178 -0
- data/rdoc/classes/NewRelic/TransactionSample/Segment.html +920 -0
- data/rdoc/classes/NewRelic/TransactionSample/SummarySegment.html +180 -0
- data/rdoc/classes/NewRelic/VersionNumber.html +338 -0
- data/rdoc/classes/NewRelicApi.html +270 -0
- data/rdoc/classes/NewRelicApi/Account.html +178 -0
- data/rdoc/classes/NewRelicApi/Account/AccountUsage.html +111 -0
- data/rdoc/classes/NewRelicApi/Account/AccountView.html +146 -0
- data/rdoc/classes/NewRelicApi/Application.html +139 -0
- data/rdoc/classes/NewRelicApi/Application/Agent.html +119 -0
- data/rdoc/classes/NewRelicApi/Deployment.html +123 -0
- data/rdoc/classes/NewRelicApi/Subscription.html +111 -0
- data/rdoc/classes/NewRelicApi/ThresholdValue.html +174 -0
- data/rdoc/classes/NewRelicApi/User.html +111 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/CHANGELOG.html +649 -0
- data/rdoc/files/LICENSE.html +143 -0
- data/rdoc/files/lib/new_relic/agent/agent_rb.html +113 -0
- data/rdoc/files/lib/new_relic/agent/busy_calculator_rb.html +115 -0
- data/rdoc/files/lib/new_relic/agent/chained_call_rb.html +107 -0
- data/rdoc/files/lib/new_relic/agent/collection_helper_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/error_collector_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/active_merchant_rb.html +107 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/active_record_instrumentation_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/authlogic_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/controller_instrumentation_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/data_mapper_rb.html +191 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/delayed_job_instrumentation_rb.html +109 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/memcache_rb.html +152 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/merb/controller_rb.html +155 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/merb/errors_rb.html +107 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/metric_frame_rb.html +113 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/net_rb.html +172 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/passenger_instrumentation_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/rack_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/rails/action_controller_rb.html +152 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/rails/action_web_service_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/rails/errors_rb.html +167 -0
- data/rdoc/files/lib/new_relic/agent/instrumentation/sinatra_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/method_tracer_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/sampler_rb.html +116 -0
- data/rdoc/files/lib/new_relic/agent/samplers/cpu_sampler_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/samplers/delayed_job_lock_sampler_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/samplers/memory_sampler_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/samplers/object_sampler_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/shim_agent_rb.html +108 -0
- data/rdoc/files/lib/new_relic/agent/stats_engine/metric_stats_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/stats_engine/samplers_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/stats_engine/transactions_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/stats_engine_rb.html +110 -0
- data/rdoc/files/lib/new_relic/agent/transaction_sampler_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent/worker_loop_rb.html +101 -0
- data/rdoc/files/lib/new_relic/agent_rb.html +204 -0
- data/rdoc/files/lib/new_relic/commands/deployments_rb.html +119 -0
- data/rdoc/files/lib/new_relic/commands/new_relic_commands_rb.html +108 -0
- data/rdoc/files/lib/new_relic/control/external_rb.html +117 -0
- data/rdoc/files/lib/new_relic/control/merb_rb.html +101 -0
- data/rdoc/files/lib/new_relic/control/rails_rb.html +108 -0
- data/rdoc/files/lib/new_relic/control/ruby_rb.html +110 -0
- data/rdoc/files/lib/new_relic/control/sinatra_rb.html +108 -0
- data/rdoc/files/lib/new_relic/control_rb.html +116 -0
- data/rdoc/files/lib/new_relic/delayed_job_injection_rb.html +180 -0
- data/rdoc/files/lib/new_relic/histogram_rb.html +114 -0
- data/rdoc/files/lib/new_relic/local_environment_rb.html +111 -0
- data/rdoc/files/lib/new_relic/merbtasks_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_data_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/action_mailer_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/active_merchant_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/active_record_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/controller_cpu_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/controller_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/errors_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/external_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/mem_cache_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/other_transaction_rb.html +108 -0
- data/rdoc/files/lib/new_relic/metric_parser/view_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser/web_frontend_rb.html +107 -0
- data/rdoc/files/lib/new_relic/metric_parser/web_service_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_parser_rb.html +101 -0
- data/rdoc/files/lib/new_relic/metric_spec_rb.html +108 -0
- data/rdoc/files/lib/new_relic/metrics_rb.html +101 -0
- data/rdoc/files/lib/new_relic/noticed_error_rb.html +107 -0
- data/rdoc/files/lib/new_relic/rack/metric_app_rb.html +108 -0
- data/rdoc/files/lib/new_relic/rack_app_rb.html +110 -0
- data/rdoc/files/lib/new_relic/recipes_rb.html +128 -0
- data/rdoc/files/lib/new_relic/stats_rb.html +101 -0
- data/rdoc/files/lib/new_relic/transaction_analysis_rb.html +108 -0
- data/rdoc/files/lib/new_relic/transaction_sample_rb.html +101 -0
- data/rdoc/files/lib/new_relic/version_rb.html +101 -0
- data/rdoc/files/lib/new_relic_api_rb.html +145 -0
- data/rdoc/files/lib/newrelic_rpm_rb.html +147 -0
- data/rdoc/files/lib/tasks/all_rb.html +107 -0
- data/rdoc/fr_class_index.html +134 -0
- data/rdoc/fr_file_index.html +103 -0
- data/rdoc/fr_method_index.html +568 -0
- data/rdoc/index.html +24 -0
- data/rdoc/rdoc-style.css +208 -0
- data/test/new_relic/agent/active_record_instrumentation_test.rb +16 -5
- data/test/new_relic/agent/collection_helper_test.rb +1 -1
- data/test/new_relic/agent/error_collector_test.rb +2 -4
- data/test/new_relic/agent/rpm_agent_test.rb +1 -1
- data/test/new_relic/agent/task_instrumentation_test.rb +1 -1
- data/test/new_relic/agent/worker_loop_test.rb +33 -76
- data/test/new_relic/control_test.rb +9 -2
- data/test/new_relic/stats_test.rb +29 -1
- data/test/new_relic/version_number_test.rb +13 -0
- data/ui/helpers/newrelic_helper.rb +1 -2
- metadata +196 -4
@@ -0,0 +1,111 @@
|
|
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: NewRelicApi::Subscription</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">NewRelicApi::Subscription</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/new_relic_api_rb.html">
|
59
|
+
lib/new_relic_api.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
|
+
BaseResource
|
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
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
<!-- if includes -->
|
90
|
+
|
91
|
+
<div id="section">
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<!-- if method_list -->
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
|
106
|
+
<div id="validator-badges">
|
107
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
+
</div>
|
109
|
+
|
110
|
+
</body>
|
111
|
+
</html>
|
@@ -0,0 +1,174 @@
|
|
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: NewRelicApi::ThresholdValue</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">NewRelicApi::ThresholdValue</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/new_relic_api_rb.html">
|
59
|
+
lib/new_relic_api.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
|
+
BaseResource
|
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
|
+
A threshold value represents a single health indicator for an application
|
84
|
+
such as CPU, memory or response time.
|
85
|
+
</p>
|
86
|
+
<h2>Fields</h2>
|
87
|
+
<table>
|
88
|
+
<tr><td valign="top"><tt>name</tt>:</td><td>The name of the threshold setting associated with this threshold value.
|
89
|
+
|
90
|
+
</td></tr>
|
91
|
+
<tr><td valign="top"><tt>threshold_value</tt>:</td><td>A value of 0, 1, 2 or 3 representing gray (not reporting), green, yellow
|
92
|
+
and red
|
93
|
+
|
94
|
+
</td></tr>
|
95
|
+
<tr><td valign="top"><tt>metric_value</tt>:</td><td>The metric value associated with this threshold
|
96
|
+
|
97
|
+
</td></tr>
|
98
|
+
</table>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div id="method-list">
|
106
|
+
<h3 class="section-bar">Methods</h3>
|
107
|
+
|
108
|
+
<div class="name-list">
|
109
|
+
<a href="#M000542">color_value</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
|
116
|
+
<!-- if includes -->
|
117
|
+
|
118
|
+
<div id="section">
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<!-- if method_list -->
|
128
|
+
<div id="methods">
|
129
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
130
|
+
|
131
|
+
<div id="method-M000542" class="method-detail">
|
132
|
+
<a name="M000542"></a>
|
133
|
+
|
134
|
+
<div class="method-heading">
|
135
|
+
<a href="#M000542" class="method-signature">
|
136
|
+
<span class="method-name">color_value</span><span class="method-args">()</span>
|
137
|
+
</a>
|
138
|
+
</div>
|
139
|
+
|
140
|
+
<div class="method-description">
|
141
|
+
<p>
|
142
|
+
Returns the color value for this threshold (Gray, Green, Yellow or Red).
|
143
|
+
</p>
|
144
|
+
<p><a class="source-toggle" href="#"
|
145
|
+
onclick="toggleCode('M000542-source');return false;">[Source]</a></p>
|
146
|
+
<div class="method-source-code" id="M000542-source">
|
147
|
+
<pre>
|
148
|
+
<span class="ruby-comment cmt"># File lib/new_relic_api.rb, line 204</span>
|
149
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">color_value</span>
|
150
|
+
<span class="ruby-keyword kw">case</span> <span class="ruby-identifier">threshold_value</span>
|
151
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">3</span><span class="ruby-operator">:</span> <span class="ruby-value str">'Red'</span>
|
152
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">2</span><span class="ruby-operator">:</span> <span class="ruby-value str">'Yellow'</span>
|
153
|
+
<span class="ruby-keyword kw">when</span> <span class="ruby-value">1</span><span class="ruby-operator">:</span> <span class="ruby-value str">'Green'</span>
|
154
|
+
<span class="ruby-keyword kw">else</span> <span class="ruby-value str">'Gray'</span>
|
155
|
+
<span class="ruby-keyword kw">end</span>
|
156
|
+
<span class="ruby-keyword kw">end</span>
|
157
|
+
</pre>
|
158
|
+
</div>
|
159
|
+
</div>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
|
166
|
+
</div>
|
167
|
+
|
168
|
+
|
169
|
+
<div id="validator-badges">
|
170
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
</body>
|
174
|
+
</html>
|
@@ -0,0 +1,111 @@
|
|
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: NewRelicApi::User</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">NewRelicApi::User</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/new_relic_api_rb.html">
|
59
|
+
lib/new_relic_api.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
|
+
BaseResource
|
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
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
|
89
|
+
<!-- if includes -->
|
90
|
+
|
91
|
+
<div id="section">
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<!-- if method_list -->
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
|
106
|
+
<div id="validator-badges">
|
107
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
108
|
+
</div>
|
109
|
+
|
110
|
+
</body>
|
111
|
+
</html>
|
data/rdoc/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Fri, 05 Mar 2010 15:09:04 -0800
|
@@ -0,0 +1,649 @@
|
|
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: CHANGELOG</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>CHANGELOG</h1>
|
51
|
+
<table class="header-table">
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>Path:</strong></td>
|
54
|
+
<td>CHANGELOG
|
55
|
+
</td>
|
56
|
+
</tr>
|
57
|
+
<tr class="top-aligned-row">
|
58
|
+
<td><strong>Last Update:</strong></td>
|
59
|
+
<td>Fri Mar 05 15:00:59 -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
|
+
v2.10.6
|
74
|
+
</p>
|
75
|
+
<pre>
|
76
|
+
* fix missing URL and referer on some traced errors and transactions
|
77
|
+
* gather traced errors *after* executing the rescue chain in ActionController
|
78
|
+
* always load controller instrumentation
|
79
|
+
* pick up token validation from newrelic.yml
|
80
|
+
</pre>
|
81
|
+
<p>
|
82
|
+
v2.10.5
|
83
|
+
</p>
|
84
|
+
<pre>
|
85
|
+
* fix bug in delayed_job instrumentation occurring when there was no DJ log
|
86
|
+
</pre>
|
87
|
+
<p>
|
88
|
+
v2.10.4
|
89
|
+
</p>
|
90
|
+
<pre>
|
91
|
+
* fix incompatibility with Capistrano 2.5.16
|
92
|
+
* strip down URLs reported in transactions and errors to path only
|
93
|
+
</pre>
|
94
|
+
<p>
|
95
|
+
v2.10.3
|
96
|
+
</p>
|
97
|
+
<pre>
|
98
|
+
* optimization to reduce overhead: move background samplers into foreground thread
|
99
|
+
* change default config file to ignore RoutingErrors
|
100
|
+
* moved the background task instrumentation into a separate tab in the RPM UI
|
101
|
+
* allow override of the RPM application name via NEWRELIC_APP_NAME environment variable
|
102
|
+
* revised Delayed::Job instrumentation so no manual_start is required
|
103
|
+
* send buffered data on shutdown
|
104
|
+
* expanded support for queue length and queue time
|
105
|
+
* remove calls to starts_with to fix Sinatra and non-rails deployments
|
106
|
+
* fix problem with apdex scores recording too low in some circumstances
|
107
|
+
* switch to jeweler for gem building
|
108
|
+
* minor fixes, test improvements, doc and rakefile improvements
|
109
|
+
* fix incompatibility with Hoptoad where Hoptoad was not getting errors handled by New Relic
|
110
|
+
* many other optimizations, bug fixes and documentation improvements
|
111
|
+
</pre>
|
112
|
+
<p>
|
113
|
+
v2.10.2.
|
114
|
+
</p>
|
115
|
+
<pre>
|
116
|
+
* beta release of 2.10
|
117
|
+
* fix bugs with Sinatra app instrumentation
|
118
|
+
* minor doc updates
|
119
|
+
</pre>
|
120
|
+
<p>
|
121
|
+
v2.10.1.
|
122
|
+
</p>
|
123
|
+
<pre>
|
124
|
+
* alpha release of 2.10
|
125
|
+
* rack support, including metal; ignores 404s; requires a module inclusion (see docs)
|
126
|
+
* sinatra support, displays actions named by the URI pattern matched
|
127
|
+
* add API method to abort transaction recording for in-flight transactions
|
128
|
+
* remove account management calls from newrelic_api.rb
|
129
|
+
* truncating extremely large transaction traces for efficiency
|
130
|
+
* fix error reporting in recipes; add newrelic_rails_env option to recipes to
|
131
|
+
override the rails env used to pull the app_name out of newrelic.yml
|
132
|
+
* added TorqueBox recognition (thanks Bob McWhirter)
|
133
|
+
* renamed config settings: enabled => monitor_mode; developer => developer_mode;
|
134
|
+
old names will still work in newrelic.yml
|
135
|
+
* instrumentation for DelayedJob (thanks Travis Tilley)
|
136
|
+
* added config switches to turn off certain instrumentation when you aren't
|
137
|
+
interested in the metrics, to save on overhead--see newrelic.yml for details.
|
138
|
+
* add profiling support to dev mode; very experimental!
|
139
|
+
* add 'multi_threaded' config option to indicate when the app is running
|
140
|
+
multi-threaded, so we can disable some instrumentation
|
141
|
+
* fix test failures in JRuby, REE
|
142
|
+
* improve Net::HTTP instrumentation so its more efficient and distinguishes calls
|
143
|
+
between web and non-web transactions.
|
144
|
+
* database instrumentation notices all database commands in addition to the core commands
|
145
|
+
* add support for textmate to dev mode
|
146
|
+
* added add_transaction_tracer method to support instrumenting methods as
|
147
|
+
if they were web transactions; this will facilitate better visibility of background
|
148
|
+
tasks and eventually things like rack, metal and Sinatra
|
149
|
+
* adjusted apdex scores to reflect time spent in the mongrel queue
|
150
|
+
* fixed incompatibility with JRuby on startup
|
151
|
+
* implmented CPU measure for JRuby which reflects the cpu burn for
|
152
|
+
all controller actions (does not include background tasks)
|
153
|
+
* fixed scope issue with GC instrumentation, subtracting time from caller
|
154
|
+
* added # of GC calls to GC instrumentation
|
155
|
+
* renamed the dispatcher metric
|
156
|
+
* refactored stats_engine code for readability
|
157
|
+
* optimization: reduce wakeup times for harvest thread
|
158
|
+
</pre>
|
159
|
+
<p>
|
160
|
+
v2.10.0.
|
161
|
+
</p>
|
162
|
+
<pre>
|
163
|
+
* alpha release of 2.10
|
164
|
+
* support unicorn
|
165
|
+
* instrumentation of GC for REE and MRE with GC patch
|
166
|
+
* support agent restarting when changes are made to the account
|
167
|
+
* removed #newrelic_notice_error from Object class, replaced by NewRelic::Agent#notic_error
|
168
|
+
* collect histogram statistics
|
169
|
+
* add custom parameters to newrelic_notice_error call to display
|
170
|
+
extra info for errors
|
171
|
+
* add method disable_all_tracing(&block) to execute a block without
|
172
|
+
capturing metrics
|
173
|
+
* newrelic_ignore now blocks all instrumentation collection for
|
174
|
+
the specified actions
|
175
|
+
* added doc to method_tracer API and removed second arg
|
176
|
+
requirement for add_method_tracer call
|
177
|
+
* instrumentation for Net::HTTP
|
178
|
+
* remove method_tracer shim to avoid timing problems in monitoring daemons
|
179
|
+
* for non-rails daemons, look at APP_ROOT and NRCONFIG env vars for custom locations
|
180
|
+
</pre>
|
181
|
+
<p>
|
182
|
+
v2.9.9.
|
183
|
+
</p>
|
184
|
+
<pre>
|
185
|
+
* Disable at_exit handler for Unicorn which sometimes caused the
|
186
|
+
agent to stop reporting immediately.
|
187
|
+
</pre>
|
188
|
+
<p>
|
189
|
+
v2.9.8.
|
190
|
+
</p>
|
191
|
+
<pre>
|
192
|
+
* add instrumentation for Net::HTTP calls, to show up as "External"
|
193
|
+
* added support for validating agents in the cloud.
|
194
|
+
* recognize Unicorn dispatcher
|
195
|
+
* add NewRelic module definitions to ActiveRecord instrumentation
|
196
|
+
</pre>
|
197
|
+
<p>
|
198
|
+
v2.9.5.
|
199
|
+
</p>
|
200
|
+
<pre>
|
201
|
+
* Snow Leopard memory fix
|
202
|
+
</pre>
|
203
|
+
<p>
|
204
|
+
v2.9.4.
|
205
|
+
</p>
|
206
|
+
<pre>
|
207
|
+
* clamp size of data sent to server
|
208
|
+
* reset statistics for passenger when forking to avoid erroneous data
|
209
|
+
* fix problem deserializing errors from the server
|
210
|
+
* fix incompatibility with postgres introduced in 2.9.
|
211
|
+
</pre>
|
212
|
+
<p>
|
213
|
+
v2.9.3.
|
214
|
+
</p>
|
215
|
+
<pre>
|
216
|
+
* fix startup failure in Windows due to memory sampler
|
217
|
+
* add JRuby environment information
|
218
|
+
</pre>
|
219
|
+
<p>
|
220
|
+
v2.9.2.
|
221
|
+
</p>
|
222
|
+
<pre>
|
223
|
+
* change default apdex_t to 0.5 seconds
|
224
|
+
* fix bug in deployments introduced by multi_homed setting
|
225
|
+
* support overriding the log in the agent api
|
226
|
+
* fix JRuby problem using objectspace
|
227
|
+
* display custom parameters when looking at transactions in dev mode
|
228
|
+
* display count of sql statements on the list of transactions in dev mode
|
229
|
+
* fixes for merb--thanks to Carl Lerche
|
230
|
+
</pre>
|
231
|
+
<p>
|
232
|
+
v2.9.1.
|
233
|
+
</p>
|
234
|
+
<pre>
|
235
|
+
* add newrelic_ignore_apdex method to controller classes to allow
|
236
|
+
you to omit some actions from apdex statistics
|
237
|
+
* Add hook for Passenger shutdown events to get more timely shutdown
|
238
|
+
notices; this will help in more accurate memory readings in
|
239
|
+
Passenger
|
240
|
+
* add newrelic_notice_error to Object class
|
241
|
+
* optional ability to verify SSL certificates, note that this has some
|
242
|
+
performance and reliability implications
|
243
|
+
* support multi-homed host with multiple apps running on duplicate
|
244
|
+
ports
|
245
|
+
</pre>
|
246
|
+
<p>
|
247
|
+
v2.9.0.
|
248
|
+
</p>
|
249
|
+
<pre>
|
250
|
+
Noteworthy Enhancements
|
251
|
+
* give visibility to templates and partials in Rails 2.1 and later, in
|
252
|
+
dev mode and production
|
253
|
+
* change active record metrics to capture statistics in adapter log()
|
254
|
+
call, resulting in lower overhead and improved visibility into
|
255
|
+
different DB operations; only AR operations that are not hitting the
|
256
|
+
query cache will be measured to avoid overhead
|
257
|
+
* added mongrel_rpm to the gem, a standalone daemon listening for custom
|
258
|
+
metric values sent from local processes (experimental); do mongrel_rpm
|
259
|
+
--help
|
260
|
+
* add API for system monitoring daemons (refer to KB articles); changed
|
261
|
+
API for manual starting of the agent; refer to
|
262
|
+
NewRelic::Agent.manual_start for details
|
263
|
+
* do certificate verification on ssl connections to
|
264
|
+
collector.newrelic.com
|
265
|
+
* support instances appearing in more than one application by allowing a
|
266
|
+
semicolon separated list of names for the newrelic.yml app_name
|
267
|
+
setting.
|
268
|
+
* combined agent logfiles into a single logfile
|
269
|
+
* use rpm server time for transaction traces rather than agent time
|
270
|
+
|
271
|
+
Developer Mode (only) Enhancements
|
272
|
+
* show partial rendering in traces
|
273
|
+
* improved formatting of metric names in traces
|
274
|
+
* added number of queries to transactions in the transaction list
|
275
|
+
* added some sorting options for the transaction list
|
276
|
+
* added a page showing the list of active threads
|
277
|
+
|
278
|
+
Compatibility Enhancements
|
279
|
+
* ruby 1.9.1 compatibility
|
280
|
+
* support concurrency when determining busy times, for 2.2 compatibility
|
281
|
+
* in jruby, use Java used heap for memory sampling if the system memory
|
282
|
+
is not accessible from an unsupported platform
|
283
|
+
* jruby will no longer start the agent now when running the console or
|
284
|
+
rake tasks
|
285
|
+
* API support for RPM as a footnote add-in
|
286
|
+
* webrick support restored
|
287
|
+
|
288
|
+
Noteworthy bugfixes
|
289
|
+
* sample memory on linux by reading /proc/#{$$}/status file
|
290
|
+
* fixed ambiguous 'View' metrics showing up in controller breakdown
|
291
|
+
* removed Numeric extensions, including round_to, and to_ms
|
292
|
+
* using a different timeout mechanism when we post data to RPM
|
293
|
+
* remove usage of Rails::Info which had a side effect of enabling
|
294
|
+
ActiveRecord even when it wasn't an active framework
|
295
|
+
* moved CPU sampler off background thread and onto the harvest thread
|
296
|
+
* tests now run cleanly in any rails app using test:newrelic or
|
297
|
+
test:plugins
|
298
|
+
|
299
|
+
Agent improvements to support future RPM enhancements
|
300
|
+
* add instrumentation to capture metrics on response codes; not yet
|
301
|
+
working in rails 2.3.*
|
302
|
+
* added http referer to traced errors
|
303
|
+
* capture gem requirements from rails
|
304
|
+
* capture cpu utilization adjusted for processor count
|
305
|
+
* transaction sampling
|
306
|
+
</pre>
|
307
|
+
<p>
|
308
|
+
v2.8.10.
|
309
|
+
</p>
|
310
|
+
<pre>
|
311
|
+
* fix thin support with rails 2.3.2 when using script/server
|
312
|
+
* fix incompatibility with rails 2.3.2 and script/server options
|
313
|
+
processing
|
314
|
+
* minor tweak to environment gathering for gem mode
|
315
|
+
</pre>
|
316
|
+
<p>
|
317
|
+
v2.8.9.
|
318
|
+
</p>
|
319
|
+
<pre>
|
320
|
+
* fix problem finding the newrelic controller in dev mode
|
321
|
+
* fix incompatibility with older versions of optparse
|
322
|
+
* fix potential jvm problem with jruby
|
323
|
+
* remove test:all task definition to avoid conflicts
|
324
|
+
* change error message about window sampler in windows not supported to a
|
325
|
+
warning message
|
326
|
+
</pre>
|
327
|
+
<p>
|
328
|
+
v2.8.8.
|
329
|
+
</p>
|
330
|
+
<pre>
|
331
|
+
* fix error with jruby on windows
|
332
|
+
* fix problem where webrick was being incorrectly detected causing some
|
333
|
+
problems with mongrel application assignments--had to disable webrick
|
334
|
+
for now
|
335
|
+
</pre>
|
336
|
+
<p>
|
337
|
+
v2.8.7.
|
338
|
+
</p>
|
339
|
+
<pre>
|
340
|
+
* fix for ssl connection hanging problems
|
341
|
+
* fix problem recognizing mongrel in rails 2.3.2
|
342
|
+
* fastcgi support in rails 2.3.2
|
343
|
+
* put back webrick support
|
344
|
+
</pre>
|
345
|
+
<p>
|
346
|
+
v2.8.6.
|
347
|
+
</p>
|
348
|
+
<pre>
|
349
|
+
* fix for capture_params when using file uploads in controller actions
|
350
|
+
* use pure ruby NS lookup for collector host to eliminate possibly
|
351
|
+
blocking applications
|
352
|
+
</pre>
|
353
|
+
<p>
|
354
|
+
v2.8.5.
|
355
|
+
</p>
|
356
|
+
<pre>
|
357
|
+
* fix reference to CommandError which was breaking some cap scripts
|
358
|
+
* fix incompatibility with Rails 2.0 in the server API
|
359
|
+
* fix problem with litespeed with Lite accounts
|
360
|
+
* fix problem when ActiveRecord is disabled
|
361
|
+
* moved merb instrumentation to Merb::Controller instead of
|
362
|
+
AbstractController to address incompatibility with MailController
|
363
|
+
* fix problem in devmode displaying sql with embedded urls
|
364
|
+
</pre>
|
365
|
+
<p>
|
366
|
+
v2.8.4.
|
367
|
+
</p>
|
368
|
+
<pre>
|
369
|
+
* fix bug in capistrano recipe causing cap commands to fail with error
|
370
|
+
about not finding Version class
|
371
|
+
</pre>
|
372
|
+
<p>
|
373
|
+
v2.8.3.
|
374
|
+
</p>
|
375
|
+
<pre>
|
376
|
+
* refactor unit tests so they will run in a generic rails environment
|
377
|
+
* require classes in advance to avoid autoloading. this is to address
|
378
|
+
incompatibilities with desert as well as more flexibility in gem
|
379
|
+
initialization
|
380
|
+
* fixed newrelic_helper.rb 1.9 incompatibility
|
381
|
+
</pre>
|
382
|
+
<p>
|
383
|
+
v2.8.2.
|
384
|
+
</p>
|
385
|
+
<pre>
|
386
|
+
* fix Ruby 1.9 syntax compatibility errors
|
387
|
+
* update the class loading sanity check, will notify server of errors
|
388
|
+
* fix agent output on script and rake task execution
|
389
|
+
</pre>
|
390
|
+
<p>
|
391
|
+
v2.8.1.
|
392
|
+
</p>
|
393
|
+
<pre>
|
394
|
+
* Convert the deployment information upload script to an executable and
|
395
|
+
put in the bin directory. When installed as a gem this command is
|
396
|
+
symlinked to /usr/bin. Usage: newrelic_cmd deployments --help
|
397
|
+
* Fix issue invoking api when host is not set in newrelic.yml
|
398
|
+
* Fix deployments api so it will work from a gem
|
399
|
+
* Fix thin incompatibility in developer mode
|
400
|
+
</pre>
|
401
|
+
<p>
|
402
|
+
v2.8.0.
|
403
|
+
</p>
|
404
|
+
<pre>
|
405
|
+
* add beta of api in new_relic_api.rb
|
406
|
+
* instrumented dynamic finders in ActiveRecord
|
407
|
+
* preliminary support for capturing deployment information via capistrano
|
408
|
+
* change memory sampler for solaris to use /usr/bin/ps
|
409
|
+
* allow ERB in newrelic.yml file
|
410
|
+
* merged support for merb into this version
|
411
|
+
* fix incompatibility in the developer mode with the safe_erb plugin
|
412
|
+
* fix module namespace issue causing an error accessing
|
413
|
+
NewRelic::Instrumentation modules
|
414
|
+
* fix issue where the agent sometimes failed to start up if there was a
|
415
|
+
transient network problem
|
416
|
+
* fix IgnoreSilentlyException message
|
417
|
+
</pre>
|
418
|
+
<p>
|
419
|
+
v2.7.4.
|
420
|
+
</p>
|
421
|
+
<pre>
|
422
|
+
* fix error when trying to serialize some kinds of Enumerable objects
|
423
|
+
* added extra debug logging
|
424
|
+
* added app_name to app mapping
|
425
|
+
</pre>
|
426
|
+
<p>
|
427
|
+
v2.7.3.
|
428
|
+
</p>
|
429
|
+
<pre>
|
430
|
+
* fix compatibility issue with 1.8.5 causing error with Dir.glob
|
431
|
+
</pre>
|
432
|
+
<p>
|
433
|
+
v2.7.2.
|
434
|
+
</p>
|
435
|
+
<pre>
|
436
|
+
* fix problem with passenger edge not being a detected environment
|
437
|
+
</pre>
|
438
|
+
<p>
|
439
|
+
v2.7.1.
|
440
|
+
</p>
|
441
|
+
<pre>
|
442
|
+
* fix problem with skipped dispatcher instrumentation
|
443
|
+
</pre>
|
444
|
+
<p>
|
445
|
+
v2.7.0.
|
446
|
+
</p>
|
447
|
+
<pre>
|
448
|
+
* Repackage to support both plugin and Gem installation
|
449
|
+
* Support passenger/litespeed/jruby application naming
|
450
|
+
* Update method for calculating dispatcher queue time
|
451
|
+
* Show stack traces in RPM Transaction Traces
|
452
|
+
* Capture error source for TemplateErrors
|
453
|
+
* Clean up error stack traces.
|
454
|
+
* Support query plans from postgres
|
455
|
+
* Performance tuning
|
456
|
+
* bugfixes
|
457
|
+
</pre>
|
458
|
+
<p>
|
459
|
+
v2.5.3.
|
460
|
+
</p>
|
461
|
+
<pre>
|
462
|
+
* fix error in transaction tracing causing traces not to show up
|
463
|
+
</pre>
|
464
|
+
<p>
|
465
|
+
v2.5.2.
|
466
|
+
</p>
|
467
|
+
<pre>
|
468
|
+
* fixes for postgres explain plan support
|
469
|
+
</pre>
|
470
|
+
<p>
|
471
|
+
v2.5.1.
|
472
|
+
</p>
|
473
|
+
<pre>
|
474
|
+
* bugfixes
|
475
|
+
</pre>
|
476
|
+
<p>
|
477
|
+
v2.5.0.
|
478
|
+
</p>
|
479
|
+
<pre>
|
480
|
+
* add agent support for rpm 1.1 features
|
481
|
+
* Fix regression error with thin support
|
482
|
+
</pre>
|
483
|
+
<p>
|
484
|
+
v2.4.3.
|
485
|
+
</p>
|
486
|
+
<pre>
|
487
|
+
* added 'newrelic_ignore' controller class method with :except and :only options for finer grained control
|
488
|
+
over the blocking of instrumentation in controllers.
|
489
|
+
* bugfixes
|
490
|
+
</pre>
|
491
|
+
<p>
|
492
|
+
v2.4.2.
|
493
|
+
</p>
|
494
|
+
<pre>
|
495
|
+
* error reporting in early access
|
496
|
+
</pre>
|
497
|
+
<p>
|
498
|
+
v2.4.1.
|
499
|
+
</p>
|
500
|
+
<pre>
|
501
|
+
* bugfix: initializing developer mode
|
502
|
+
</pre>
|
503
|
+
<p>
|
504
|
+
v2.4.0.
|
505
|
+
</p>
|
506
|
+
<pre>
|
507
|
+
* Beta support for LiteSpeed and Passenger
|
508
|
+
</pre>
|
509
|
+
<p>
|
510
|
+
v2.3.7.
|
511
|
+
</p>
|
512
|
+
<pre>
|
513
|
+
* bugfixes
|
514
|
+
</pre>
|
515
|
+
<p>
|
516
|
+
v2.3.6.
|
517
|
+
</p>
|
518
|
+
<pre>
|
519
|
+
* bugfixes
|
520
|
+
</pre>
|
521
|
+
<p>
|
522
|
+
v2.3.5.
|
523
|
+
</p>
|
524
|
+
<pre>
|
525
|
+
* bugfixes: pie chart data, rails 1.1 compability
|
526
|
+
</pre>
|
527
|
+
<p>
|
528
|
+
v2.3.4.
|
529
|
+
</p>
|
530
|
+
<pre>
|
531
|
+
* bugfix
|
532
|
+
</pre>
|
533
|
+
<p>
|
534
|
+
v2.3.3.
|
535
|
+
</p>
|
536
|
+
<pre>
|
537
|
+
* bugfix for non-mysql databases
|
538
|
+
</pre>
|
539
|
+
<p>
|
540
|
+
v2.3.2.
|
541
|
+
</p>
|
542
|
+
<pre>
|
543
|
+
* bugfixes
|
544
|
+
* Add enhancement for Transaction Traces early access feature
|
545
|
+
</pre>
|
546
|
+
<p>
|
547
|
+
v2.3.1.
|
548
|
+
</p>
|
549
|
+
<pre>
|
550
|
+
* bugfixes
|
551
|
+
</pre>
|
552
|
+
<p>
|
553
|
+
v2.3.0.
|
554
|
+
</p>
|
555
|
+
<pre>
|
556
|
+
+ Add support for Transaction Traces early access feature
|
557
|
+
</pre>
|
558
|
+
<p>
|
559
|
+
v2.2.2.
|
560
|
+
</p>
|
561
|
+
<pre>
|
562
|
+
* bugfixes
|
563
|
+
</pre>
|
564
|
+
<p>
|
565
|
+
v2.2.1.
|
566
|
+
</p>
|
567
|
+
<pre>
|
568
|
+
+ Add rails 2.1 support for Developer Mode
|
569
|
+
+ Changes to memory sampler: Add support for JRuby and fix Solaris support.
|
570
|
+
* Stop catching exceptions and start catching StandardError; other exception cleanup
|
571
|
+
* Add protective exception catching to the stats engine
|
572
|
+
* Improved support for thin domain sockets
|
573
|
+
* Support JRuby environments
|
574
|
+
</pre>
|
575
|
+
<p>
|
576
|
+
v2.1.6.
|
577
|
+
</p>
|
578
|
+
<pre>
|
579
|
+
* bugfixes
|
580
|
+
</pre>
|
581
|
+
<p>
|
582
|
+
v2.1.5.
|
583
|
+
</p>
|
584
|
+
<pre>
|
585
|
+
* bugfixes
|
586
|
+
</pre>
|
587
|
+
<p>
|
588
|
+
v2.1.4.
|
589
|
+
</p>
|
590
|
+
<pre>
|
591
|
+
* bugfixes
|
592
|
+
</pre>
|
593
|
+
<p>
|
594
|
+
v2.1.3.
|
595
|
+
</p>
|
596
|
+
<pre>
|
597
|
+
* bugfixes
|
598
|
+
</pre>
|
599
|
+
<p>
|
600
|
+
v2.1.2.
|
601
|
+
</p>
|
602
|
+
<pre>
|
603
|
+
* bugfixes
|
604
|
+
</pre>
|
605
|
+
<p>
|
606
|
+
v2.1.1.
|
607
|
+
</p>
|
608
|
+
<pre>
|
609
|
+
* bugfixes
|
610
|
+
</pre>
|
611
|
+
<p>
|
612
|
+
v2.1.0.
|
613
|
+
</p>
|
614
|
+
<pre>
|
615
|
+
* release for private beta
|
616
|
+
</pre>
|
617
|
+
|
618
|
+
</div>
|
619
|
+
|
620
|
+
|
621
|
+
</div>
|
622
|
+
|
623
|
+
|
624
|
+
</div>
|
625
|
+
|
626
|
+
|
627
|
+
<!-- if includes -->
|
628
|
+
|
629
|
+
<div id="section">
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
<!-- if method_list -->
|
639
|
+
|
640
|
+
|
641
|
+
</div>
|
642
|
+
|
643
|
+
|
644
|
+
<div id="validator-badges">
|
645
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
646
|
+
</div>
|
647
|
+
|
648
|
+
</body>
|
649
|
+
</html>
|