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
@@ -90,16 +90,23 @@ class NewRelic::ControlTest < Test::Unit::TestCase
|
|
90
90
|
|
91
91
|
def test_transaction_threshold__default
|
92
92
|
|
93
|
-
forced_start :transaction_tracer => {}
|
93
|
+
forced_start :transaction_tracer => { :transaction_threshold => nil}
|
94
94
|
assert_nil c['transaction_tracer']['transaction_threshold']
|
95
95
|
assert_equal 2.0, NewRelic::Agent::Agent.instance.instance_variable_get('@slowest_transaction_threshold')
|
96
96
|
end
|
97
97
|
|
98
98
|
def test_transaction_threshold__override
|
99
|
-
forced_start :transaction_tracer => {
|
99
|
+
forced_start :transaction_tracer => { :transaction_threshold => 1}
|
100
100
|
assert_equal 1, c['transaction_tracer']['transaction_threshold']
|
101
101
|
assert_equal 1, NewRelic::Agent::Agent.instance.instance_variable_get('@slowest_transaction_threshold')
|
102
102
|
end
|
103
|
+
def test_merging_options
|
104
|
+
NewRelic::Control.send :public, :merge_options
|
105
|
+
@c.merge_options :api_port => 66, :transaction_tracer => { :explain_threshold => 2.0 }
|
106
|
+
assert_equal 66, NewRelic::Control.instance['api_port']
|
107
|
+
assert_equal 2.0, NewRelic::Control.instance['transaction_tracer']['explain_threshold']
|
108
|
+
assert_equal 'raw', NewRelic::Control.instance['transaction_tracer']['record_sql']
|
109
|
+
end
|
103
110
|
private
|
104
111
|
def forced_start overrides = {}
|
105
112
|
NewRelic::Agent.manual_start overrides
|
@@ -129,7 +129,35 @@ class NewRelic::StatsTest < Test::Unit::TestCase
|
|
129
129
|
s1.total_exclusive_time = 20
|
130
130
|
assert_equal((2.0 / 3.0), s1.exclusive_time_percentage)
|
131
131
|
end
|
132
|
-
|
132
|
+
|
133
|
+
def test_sum_merge
|
134
|
+
s1 = NewRelic::MethodTraceStats.new
|
135
|
+
s2 = NewRelic::MethodTraceStats.new
|
136
|
+
s1.trace_call 10
|
137
|
+
s2.trace_call 20
|
138
|
+
s2.freeze
|
139
|
+
|
140
|
+
validate s1, 1, 10, 10, 10
|
141
|
+
validate s2, 1, 20, 20, 20
|
142
|
+
s1.sum_merge! s2
|
143
|
+
validate s1, 1, (10+20), 10 + 20, 20 + 10
|
144
|
+
validate s2, 1, 20, 20, 20
|
145
|
+
end
|
146
|
+
|
147
|
+
def test_sum_merge_with_exclusive
|
148
|
+
s1 = NewRelic::MethodTraceStats.new
|
149
|
+
s2 = NewRelic::MethodTraceStats.new
|
150
|
+
|
151
|
+
s1.trace_call 10, 5
|
152
|
+
s2.trace_call 20, 10
|
153
|
+
s2.freeze
|
154
|
+
|
155
|
+
validate s1, 1, 10, 10, 10, 5
|
156
|
+
validate s2, 1, 20, 20, 20, 10
|
157
|
+
s1.sum_merge! s2
|
158
|
+
validate s1, 1, (10+20), 10 + 20, 20 + 10, (10+5)
|
159
|
+
end
|
160
|
+
|
133
161
|
def test_merge
|
134
162
|
s1 = NewRelic::MethodTraceStats.new
|
135
163
|
s2 = NewRelic::MethodTraceStats.new
|
@@ -48,6 +48,19 @@ class NewRelic::VersionNumberTest < Test::Unit::TestCase
|
|
48
48
|
999]
|
49
49
|
assert_equal values, values.map{|v| NewRelic::VersionNumber.new v}.sort.map(&:to_s)
|
50
50
|
end
|
51
|
+
def test_prerelease
|
52
|
+
v0 = NewRelic::VersionNumber.new '1.2.0.beta'
|
53
|
+
assert_equal [1,2,0,'beta'], v0.parts
|
54
|
+
assert v0 > '1.1.9.0'
|
55
|
+
assert v0 > '1.1.9.alpha'
|
56
|
+
assert v0 > '1.2.0.alpha'
|
57
|
+
assert v0 == '1.2.0.beta'
|
58
|
+
assert v0 < '1.2.1'
|
59
|
+
assert v0 < '1.2.0'
|
60
|
+
assert v0 < '1.2.0.c'
|
61
|
+
assert v0 < '1.2.0.0'
|
62
|
+
|
63
|
+
end
|
51
64
|
def test_compare_string
|
52
65
|
v0 = NewRelic::VersionNumber.new '1.2.0'
|
53
66
|
v1 = NewRelic::VersionNumber.new '2.2.2'
|
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'pathname'
|
2
|
-
require 'new_relic/agent/collection_helper'
|
3
2
|
module NewrelicHelper
|
4
|
-
include NewRelic::
|
3
|
+
include NewRelic::CollectionHelper
|
5
4
|
|
6
5
|
# return the host that serves static content (css, metric documentation, images, etc)
|
7
6
|
# that supports the desktop edition.
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 10
|
8
|
-
-
|
9
|
-
version: 2.10.
|
8
|
+
- 8
|
9
|
+
version: 2.10.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Bill Kayser
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-26 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -47,7 +47,6 @@ files:
|
|
47
47
|
- lib/new_relic/agent/agent.rb
|
48
48
|
- lib/new_relic/agent/busy_calculator.rb
|
49
49
|
- lib/new_relic/agent/chained_call.rb
|
50
|
-
- lib/new_relic/agent/collection_helper.rb
|
51
50
|
- lib/new_relic/agent/error_collector.rb
|
52
51
|
- lib/new_relic/agent/instrumentation/active_merchant.rb
|
53
52
|
- lib/new_relic/agent/instrumentation/active_record_instrumentation.rb
|
@@ -65,6 +64,8 @@ files:
|
|
65
64
|
- lib/new_relic/agent/instrumentation/rails/action_controller.rb
|
66
65
|
- lib/new_relic/agent/instrumentation/rails/action_web_service.rb
|
67
66
|
- lib/new_relic/agent/instrumentation/rails/errors.rb
|
67
|
+
- lib/new_relic/agent/instrumentation/rails3/action_controller.rb
|
68
|
+
- lib/new_relic/agent/instrumentation/rails3/errors.rb
|
68
69
|
- lib/new_relic/agent/instrumentation/sinatra.rb
|
69
70
|
- lib/new_relic/agent/method_tracer.rb
|
70
71
|
- lib/new_relic/agent/sampler.rb
|
@@ -79,12 +80,14 @@ files:
|
|
79
80
|
- lib/new_relic/agent/stats_engine/transactions.rb
|
80
81
|
- lib/new_relic/agent/transaction_sampler.rb
|
81
82
|
- lib/new_relic/agent/worker_loop.rb
|
83
|
+
- lib/new_relic/collection_helper.rb
|
82
84
|
- lib/new_relic/commands/deployments.rb
|
83
85
|
- lib/new_relic/commands/new_relic_commands.rb
|
84
86
|
- lib/new_relic/control.rb
|
85
87
|
- lib/new_relic/control/external.rb
|
86
88
|
- lib/new_relic/control/merb.rb
|
87
89
|
- lib/new_relic/control/rails.rb
|
90
|
+
- lib/new_relic/control/rails3.rb
|
88
91
|
- lib/new_relic/control/ruby.rb
|
89
92
|
- lib/new_relic/control/sinatra.rb
|
90
93
|
- lib/new_relic/delayed_job_injection.rb
|
@@ -124,6 +127,195 @@ files:
|
|
124
127
|
- lib/tasks/tests.rake
|
125
128
|
- newrelic.yml
|
126
129
|
- newrelic_rpm.gemspec
|
130
|
+
- rdoc/classes/NewRelic.html
|
131
|
+
- rdoc/classes/NewRelic/Agent.html
|
132
|
+
- rdoc/classes/NewRelic/Agent/Agent.html
|
133
|
+
- rdoc/classes/NewRelic/Agent/BackgroundLoadingError.html
|
134
|
+
- rdoc/classes/NewRelic/Agent/BusyCalculator.html
|
135
|
+
- rdoc/classes/NewRelic/Agent/CollectionHelper.html
|
136
|
+
- rdoc/classes/NewRelic/Agent/ErrorCollector.html
|
137
|
+
- rdoc/classes/NewRelic/Agent/ForceDisconnectException.html
|
138
|
+
- rdoc/classes/NewRelic/Agent/ForceRestartException.html
|
139
|
+
- rdoc/classes/NewRelic/Agent/IgnoreSilentlyException.html
|
140
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation.html
|
141
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/ActiveRecordInstrumentation.html
|
142
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation.html
|
143
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/ControllerInstrumentation/ClassMethods.html
|
144
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/DelayedJobInstrumentation.html
|
145
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/MetricFrame.html
|
146
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/Rack.html
|
147
|
+
- rdoc/classes/NewRelic/Agent/Instrumentation/Sinatra.html
|
148
|
+
- rdoc/classes/NewRelic/Agent/LicenseException.html
|
149
|
+
- rdoc/classes/NewRelic/Agent/MethodTracer.html
|
150
|
+
- rdoc/classes/NewRelic/Agent/MethodTracer/ClassMethods.html
|
151
|
+
- rdoc/classes/NewRelic/Agent/MethodTracer/InstanceMethods.html
|
152
|
+
- rdoc/classes/NewRelic/Agent/PostTooBigException.html
|
153
|
+
- rdoc/classes/NewRelic/Agent/Sampler.html
|
154
|
+
- rdoc/classes/NewRelic/Agent/Sampler/Unsupported.html
|
155
|
+
- rdoc/classes/NewRelic/Agent/Samplers.html
|
156
|
+
- rdoc/classes/NewRelic/Agent/Samplers/CpuSampler.html
|
157
|
+
- rdoc/classes/NewRelic/Agent/Samplers/DelayedJobLockSampler.html
|
158
|
+
- rdoc/classes/NewRelic/Agent/Samplers/MemorySampler.html
|
159
|
+
- rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/Base.html
|
160
|
+
- rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/JavaHeapSampler.html
|
161
|
+
- rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ProcStatus.html
|
162
|
+
- rdoc/classes/NewRelic/Agent/Samplers/MemorySampler/ShellPS.html
|
163
|
+
- rdoc/classes/NewRelic/Agent/Samplers/ObjectSampler.html
|
164
|
+
- rdoc/classes/NewRelic/Agent/ServerError.html
|
165
|
+
- rdoc/classes/NewRelic/Agent/ShimAgent.html
|
166
|
+
- rdoc/classes/NewRelic/Agent/StatsEngine.html
|
167
|
+
- rdoc/classes/NewRelic/Agent/StatsEngine/MetricStats.html
|
168
|
+
- rdoc/classes/NewRelic/Agent/StatsEngine/Samplers.html
|
169
|
+
- rdoc/classes/NewRelic/Agent/StatsEngine/ScopeStackElement.html
|
170
|
+
- rdoc/classes/NewRelic/Agent/StatsEngine/Transactions.html
|
171
|
+
- rdoc/classes/NewRelic/Agent/TransactionSampleBuilder.html
|
172
|
+
- rdoc/classes/NewRelic/Agent/TransactionSampler.html
|
173
|
+
- rdoc/classes/NewRelic/Agent/WorkerLoop.html
|
174
|
+
- rdoc/classes/NewRelic/Agent/WorkerLoop/LoopTask.html
|
175
|
+
- rdoc/classes/NewRelic/ApdexStats.html
|
176
|
+
- rdoc/classes/NewRelic/BasicStats.html
|
177
|
+
- rdoc/classes/NewRelic/ChainedCall.html
|
178
|
+
- rdoc/classes/NewRelic/Commands.html
|
179
|
+
- rdoc/classes/NewRelic/Commands/CommandFailure.html
|
180
|
+
- rdoc/classes/NewRelic/Commands/Deployments.html
|
181
|
+
- rdoc/classes/NewRelic/Control.html
|
182
|
+
- rdoc/classes/NewRelic/Control/External.html
|
183
|
+
- rdoc/classes/NewRelic/Control/Merb.html
|
184
|
+
- rdoc/classes/NewRelic/Control/Rails.html
|
185
|
+
- rdoc/classes/NewRelic/Control/Ruby.html
|
186
|
+
- rdoc/classes/NewRelic/Control/Sinatra.html
|
187
|
+
- rdoc/classes/NewRelic/DelayedJobInjection.html
|
188
|
+
- rdoc/classes/NewRelic/Histogram.html
|
189
|
+
- rdoc/classes/NewRelic/Histogram/Bucket.html
|
190
|
+
- rdoc/classes/NewRelic/Histogram/Shim.html
|
191
|
+
- rdoc/classes/NewRelic/LocalEnvironment.html
|
192
|
+
- rdoc/classes/NewRelic/MerbBootLoader.html
|
193
|
+
- rdoc/classes/NewRelic/MethodTraceStats.html
|
194
|
+
- rdoc/classes/NewRelic/MetricData.html
|
195
|
+
- rdoc/classes/NewRelic/MetricParser.html
|
196
|
+
- rdoc/classes/NewRelic/MetricParser/ActionMailer.html
|
197
|
+
- rdoc/classes/NewRelic/MetricParser/ActiveMerchant.html
|
198
|
+
- rdoc/classes/NewRelic/MetricParser/ActiveRecord.html
|
199
|
+
- rdoc/classes/NewRelic/MetricParser/Controller.html
|
200
|
+
- rdoc/classes/NewRelic/MetricParser/ControllerCPU.html
|
201
|
+
- rdoc/classes/NewRelic/MetricParser/Errors.html
|
202
|
+
- rdoc/classes/NewRelic/MetricParser/External.html
|
203
|
+
- rdoc/classes/NewRelic/MetricParser/MemCache.html
|
204
|
+
- rdoc/classes/NewRelic/MetricParser/OtherTransaction.html
|
205
|
+
- rdoc/classes/NewRelic/MetricParser/View.html
|
206
|
+
- rdoc/classes/NewRelic/MetricParser/WebFrontend.html
|
207
|
+
- rdoc/classes/NewRelic/MetricParser/WebService.html
|
208
|
+
- rdoc/classes/NewRelic/MetricSpec.html
|
209
|
+
- rdoc/classes/NewRelic/Metrics.html
|
210
|
+
- rdoc/classes/NewRelic/NoticedError.html
|
211
|
+
- rdoc/classes/NewRelic/Rack.html
|
212
|
+
- rdoc/classes/NewRelic/Rack/MetricApp.html
|
213
|
+
- rdoc/classes/NewRelic/Rack/Status.html
|
214
|
+
- rdoc/classes/NewRelic/ScopedMethodTraceStats.html
|
215
|
+
- rdoc/classes/NewRelic/Stats.html
|
216
|
+
- rdoc/classes/NewRelic/StatsBase.html
|
217
|
+
- rdoc/classes/NewRelic/TransactionAnalysis.html
|
218
|
+
- rdoc/classes/NewRelic/TransactionAnalysis/SegmentSummary.html
|
219
|
+
- rdoc/classes/NewRelic/TransactionSample.html
|
220
|
+
- rdoc/classes/NewRelic/TransactionSample/CompositeSegment.html
|
221
|
+
- rdoc/classes/NewRelic/TransactionSample/FakeSegment.html
|
222
|
+
- rdoc/classes/NewRelic/TransactionSample/IDGenerator.html
|
223
|
+
- rdoc/classes/NewRelic/TransactionSample/Segment.html
|
224
|
+
- rdoc/classes/NewRelic/TransactionSample/SummarySegment.html
|
225
|
+
- rdoc/classes/NewRelic/VersionNumber.html
|
226
|
+
- rdoc/classes/NewRelicApi.html
|
227
|
+
- rdoc/classes/NewRelicApi/Account.html
|
228
|
+
- rdoc/classes/NewRelicApi/Account/AccountUsage.html
|
229
|
+
- rdoc/classes/NewRelicApi/Account/AccountView.html
|
230
|
+
- rdoc/classes/NewRelicApi/Application.html
|
231
|
+
- rdoc/classes/NewRelicApi/Application/Agent.html
|
232
|
+
- rdoc/classes/NewRelicApi/Deployment.html
|
233
|
+
- rdoc/classes/NewRelicApi/Subscription.html
|
234
|
+
- rdoc/classes/NewRelicApi/ThresholdValue.html
|
235
|
+
- rdoc/classes/NewRelicApi/User.html
|
236
|
+
- rdoc/created.rid
|
237
|
+
- rdoc/files/CHANGELOG.html
|
238
|
+
- rdoc/files/LICENSE.html
|
239
|
+
- rdoc/files/lib/new_relic/agent/agent_rb.html
|
240
|
+
- rdoc/files/lib/new_relic/agent/busy_calculator_rb.html
|
241
|
+
- rdoc/files/lib/new_relic/agent/chained_call_rb.html
|
242
|
+
- rdoc/files/lib/new_relic/agent/collection_helper_rb.html
|
243
|
+
- rdoc/files/lib/new_relic/agent/error_collector_rb.html
|
244
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/active_merchant_rb.html
|
245
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/active_record_instrumentation_rb.html
|
246
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/authlogic_rb.html
|
247
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/controller_instrumentation_rb.html
|
248
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/data_mapper_rb.html
|
249
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/delayed_job_instrumentation_rb.html
|
250
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/memcache_rb.html
|
251
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/merb/controller_rb.html
|
252
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/merb/errors_rb.html
|
253
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/metric_frame_rb.html
|
254
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/net_rb.html
|
255
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/passenger_instrumentation_rb.html
|
256
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/rack_rb.html
|
257
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/rails/action_controller_rb.html
|
258
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/rails/action_web_service_rb.html
|
259
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/rails/errors_rb.html
|
260
|
+
- rdoc/files/lib/new_relic/agent/instrumentation/sinatra_rb.html
|
261
|
+
- rdoc/files/lib/new_relic/agent/method_tracer_rb.html
|
262
|
+
- rdoc/files/lib/new_relic/agent/sampler_rb.html
|
263
|
+
- rdoc/files/lib/new_relic/agent/samplers/cpu_sampler_rb.html
|
264
|
+
- rdoc/files/lib/new_relic/agent/samplers/delayed_job_lock_sampler_rb.html
|
265
|
+
- rdoc/files/lib/new_relic/agent/samplers/memory_sampler_rb.html
|
266
|
+
- rdoc/files/lib/new_relic/agent/samplers/object_sampler_rb.html
|
267
|
+
- rdoc/files/lib/new_relic/agent/shim_agent_rb.html
|
268
|
+
- rdoc/files/lib/new_relic/agent/stats_engine/metric_stats_rb.html
|
269
|
+
- rdoc/files/lib/new_relic/agent/stats_engine/samplers_rb.html
|
270
|
+
- rdoc/files/lib/new_relic/agent/stats_engine/transactions_rb.html
|
271
|
+
- rdoc/files/lib/new_relic/agent/stats_engine_rb.html
|
272
|
+
- rdoc/files/lib/new_relic/agent/transaction_sampler_rb.html
|
273
|
+
- rdoc/files/lib/new_relic/agent/worker_loop_rb.html
|
274
|
+
- rdoc/files/lib/new_relic/agent_rb.html
|
275
|
+
- rdoc/files/lib/new_relic/commands/deployments_rb.html
|
276
|
+
- rdoc/files/lib/new_relic/commands/new_relic_commands_rb.html
|
277
|
+
- rdoc/files/lib/new_relic/control/external_rb.html
|
278
|
+
- rdoc/files/lib/new_relic/control/merb_rb.html
|
279
|
+
- rdoc/files/lib/new_relic/control/rails_rb.html
|
280
|
+
- rdoc/files/lib/new_relic/control/ruby_rb.html
|
281
|
+
- rdoc/files/lib/new_relic/control/sinatra_rb.html
|
282
|
+
- rdoc/files/lib/new_relic/control_rb.html
|
283
|
+
- rdoc/files/lib/new_relic/delayed_job_injection_rb.html
|
284
|
+
- rdoc/files/lib/new_relic/histogram_rb.html
|
285
|
+
- rdoc/files/lib/new_relic/local_environment_rb.html
|
286
|
+
- rdoc/files/lib/new_relic/merbtasks_rb.html
|
287
|
+
- rdoc/files/lib/new_relic/metric_data_rb.html
|
288
|
+
- rdoc/files/lib/new_relic/metric_parser/action_mailer_rb.html
|
289
|
+
- rdoc/files/lib/new_relic/metric_parser/active_merchant_rb.html
|
290
|
+
- rdoc/files/lib/new_relic/metric_parser/active_record_rb.html
|
291
|
+
- rdoc/files/lib/new_relic/metric_parser/controller_cpu_rb.html
|
292
|
+
- rdoc/files/lib/new_relic/metric_parser/controller_rb.html
|
293
|
+
- rdoc/files/lib/new_relic/metric_parser/errors_rb.html
|
294
|
+
- rdoc/files/lib/new_relic/metric_parser/external_rb.html
|
295
|
+
- rdoc/files/lib/new_relic/metric_parser/mem_cache_rb.html
|
296
|
+
- rdoc/files/lib/new_relic/metric_parser/other_transaction_rb.html
|
297
|
+
- rdoc/files/lib/new_relic/metric_parser/view_rb.html
|
298
|
+
- rdoc/files/lib/new_relic/metric_parser/web_frontend_rb.html
|
299
|
+
- rdoc/files/lib/new_relic/metric_parser/web_service_rb.html
|
300
|
+
- rdoc/files/lib/new_relic/metric_parser_rb.html
|
301
|
+
- rdoc/files/lib/new_relic/metric_spec_rb.html
|
302
|
+
- rdoc/files/lib/new_relic/metrics_rb.html
|
303
|
+
- rdoc/files/lib/new_relic/noticed_error_rb.html
|
304
|
+
- rdoc/files/lib/new_relic/rack/metric_app_rb.html
|
305
|
+
- rdoc/files/lib/new_relic/rack_app_rb.html
|
306
|
+
- rdoc/files/lib/new_relic/recipes_rb.html
|
307
|
+
- rdoc/files/lib/new_relic/stats_rb.html
|
308
|
+
- rdoc/files/lib/new_relic/transaction_analysis_rb.html
|
309
|
+
- rdoc/files/lib/new_relic/transaction_sample_rb.html
|
310
|
+
- rdoc/files/lib/new_relic/version_rb.html
|
311
|
+
- rdoc/files/lib/new_relic_api_rb.html
|
312
|
+
- rdoc/files/lib/newrelic_rpm_rb.html
|
313
|
+
- rdoc/files/lib/tasks/all_rb.html
|
314
|
+
- rdoc/fr_class_index.html
|
315
|
+
- rdoc/fr_file_index.html
|
316
|
+
- rdoc/fr_method_index.html
|
317
|
+
- rdoc/index.html
|
318
|
+
- rdoc/rdoc-style.css
|
127
319
|
- recipes/newrelic.rb
|
128
320
|
- test/active_record_fixtures.rb
|
129
321
|
- test/config/newrelic.yml
|