newrelic_rpm 3.6.5.130 → 3.6.6.147

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. data.tar.gz.sig +0 -0
  2. data/CHANGELOG +27 -3
  3. data/Gemfile +1 -14
  4. data/Rakefile +15 -5
  5. data/config.dot +1 -1
  6. data/lib/new_relic/agent/agent.rb +15 -0
  7. data/lib/new_relic/agent/agent_logger.rb +19 -14
  8. data/lib/new_relic/agent/configuration/defaults.rb +4 -3
  9. data/lib/new_relic/agent/configuration/environment_source.rb +6 -4
  10. data/lib/new_relic/agent/configuration/manager.rb +7 -2
  11. data/lib/new_relic/agent/configuration/mask_defaults.rb +1 -2
  12. data/lib/new_relic/agent/cross_app_monitor.rb +5 -4
  13. data/lib/new_relic/agent/cross_app_tracing.rb +0 -1
  14. data/lib/new_relic/agent/error_collector.rb +30 -1
  15. data/lib/new_relic/agent/http_clients/curb_wrappers.rb +67 -0
  16. data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +59 -0
  17. data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +12 -0
  18. data/lib/new_relic/agent/instrumentation/active_merchant.rb +3 -3
  19. data/lib/new_relic/agent/instrumentation/acts_as_solr.rb +3 -3
  20. data/lib/new_relic/agent/instrumentation/authlogic.rb +3 -3
  21. data/lib/new_relic/agent/instrumentation/curb.rb +179 -0
  22. data/lib/new_relic/agent/instrumentation/data_mapper.rb +3 -3
  23. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +35 -26
  24. data/lib/new_relic/agent/instrumentation/httpclient.rb +46 -0
  25. data/lib/new_relic/agent/instrumentation/merb/controller.rb +3 -3
  26. data/lib/new_relic/agent/instrumentation/puma.rb +23 -0
  27. data/lib/new_relic/agent/instrumentation/rack.rb +40 -0
  28. data/lib/new_relic/agent/instrumentation/rails/action_web_service.rb +4 -4
  29. data/lib/new_relic/agent/instrumentation/rails/errors.rb +0 -1
  30. data/lib/new_relic/agent/instrumentation/sequel.rb +0 -1
  31. data/lib/new_relic/agent/instrumentation/sunspot.rb +1 -1
  32. data/lib/new_relic/agent/internal_agent_error.rb +18 -0
  33. data/lib/new_relic/agent/new_relic_service.rb +2 -8
  34. data/lib/new_relic/agent/request_sampler.rb +4 -6
  35. data/lib/new_relic/agent/samplers/cpu_sampler.rb +0 -1
  36. data/lib/new_relic/agent/stats.rb +9 -0
  37. data/lib/new_relic/agent/stats_engine/stats_hash.rb +44 -6
  38. data/lib/new_relic/agent/system_info.rb +1 -1
  39. data/lib/new_relic/agent/thread_profiler.rb +6 -6
  40. data/lib/new_relic/agent/transaction.rb +1 -1
  41. data/lib/new_relic/agent/transaction_info.rb +0 -1
  42. data/lib/new_relic/agent/transaction_sample_builder.rb +6 -5
  43. data/lib/new_relic/agent/transaction_sampler.rb +1 -1
  44. data/lib/new_relic/commands/deployments.rb +6 -0
  45. data/lib/new_relic/commands/install.rb +2 -2
  46. data/lib/new_relic/control/frameworks/rails.rb +1 -2
  47. data/lib/new_relic/control/instrumentation.rb +2 -2
  48. data/lib/new_relic/control/server_methods.rb +1 -2
  49. data/lib/new_relic/delayed_job_injection.rb +0 -40
  50. data/lib/new_relic/helper.rb +0 -1
  51. data/lib/new_relic/latest_changes.rb +1 -1
  52. data/lib/new_relic/local_environment.rb +9 -4
  53. data/lib/new_relic/metric_spec.rb +19 -3
  54. data/lib/new_relic/noticed_error.rb +2 -1
  55. data/lib/new_relic/rack/agent_hooks.rb +0 -1
  56. data/lib/new_relic/rack/developer_mode.rb +1 -1
  57. data/lib/new_relic/rack/error_collector.rb +42 -21
  58. data/lib/new_relic/recipes.rb +0 -1
  59. data/lib/new_relic/transaction_analysis.rb +0 -1
  60. data/lib/new_relic/transaction_sample/segment.rb +4 -4
  61. data/lib/new_relic/version.rb +1 -1
  62. data/lib/sequel/extensions/newrelic_instrumentation.rb +6 -7
  63. data/lib/sequel/plugins/newrelic_instrumentation.rb +0 -1
  64. data/lib/tasks/install.rake +2 -2
  65. data/newrelic_rpm.gemspec +11 -1
  66. data/test/active_record_fixtures.rb +2 -2
  67. data/test/agent_helper.rb +46 -3
  68. data/test/config/newrelic.yml +2 -2
  69. data/test/multiverse/.gitignore +2 -0
  70. data/test/multiverse/lib/multiverse/envfile.rb +6 -9
  71. data/test/multiverse/lib/multiverse/environment.rb +0 -1
  72. data/test/multiverse/lib/multiverse/output_collector.rb +43 -11
  73. data/test/multiverse/lib/multiverse/runner.rb +37 -5
  74. data/test/multiverse/lib/multiverse/suite.rb +149 -67
  75. data/test/multiverse/script/run_one +4 -2
  76. data/test/multiverse/script/runner +1 -5
  77. data/test/multiverse/suites/active_record/Envfile +3 -2
  78. data/test/multiverse/suites/active_record/ar_method_aliasing.rb +13 -12
  79. data/test/multiverse/suites/active_record/config/newrelic.yml +0 -3
  80. data/test/multiverse/suites/agent_only/audit_log_test.rb +30 -34
  81. data/test/multiverse/suites/agent_only/before_suite.rb +7 -0
  82. data/test/multiverse/suites/agent_only/config/newrelic.yml +1 -7
  83. data/test/multiverse/suites/agent_only/cross_application_tracing_test.rb +12 -20
  84. data/test/multiverse/suites/agent_only/http_response_code_test.rb +16 -34
  85. data/test/multiverse/suites/agent_only/key_transactions_test.rb +18 -28
  86. data/test/multiverse/suites/agent_only/logging_test.rb +25 -49
  87. data/test/multiverse/suites/agent_only/marshaling_test.rb +30 -38
  88. data/test/multiverse/suites/agent_only/pipe_manager_test.rb +12 -6
  89. data/test/multiverse/suites/agent_only/rename_rule_test.rb +30 -38
  90. data/test/multiverse/suites/agent_only/rum_instrumentation_test.rb +16 -18
  91. data/test/multiverse/suites/agent_only/service_timeout_test.rb +6 -7
  92. data/test/multiverse/suites/agent_only/set_transaction_name_test.rb +26 -32
  93. data/test/multiverse/suites/agent_only/ssl_test.rb +10 -14
  94. data/test/multiverse/suites/agent_only/start_up_test.rb +1 -1
  95. data/test/multiverse/suites/agent_only/testing_app.rb +2 -0
  96. data/test/multiverse/suites/agent_only/thread_profiling_test.rb +23 -24
  97. data/test/multiverse/suites/config_file_loading/Envfile +6 -2
  98. data/test/multiverse/suites/config_file_loading/config_file_loading_test.rb +8 -4
  99. data/test/multiverse/suites/curb/Envfile +19 -0
  100. data/test/multiverse/suites/curb/config/newrelic.yml +19 -0
  101. data/test/multiverse/suites/curb/curb_test.rb +195 -0
  102. data/test/multiverse/suites/datamapper/Envfile +2 -0
  103. data/test/multiverse/suites/datamapper/config/newrelic.yml +0 -2
  104. data/test/multiverse/suites/datamapper/datamapper_test.rb +6 -10
  105. data/test/multiverse/suites/deferred_instrumentation/Envfile +19 -0
  106. data/test/multiverse/suites/deferred_instrumentation/config/newrelic.yml +22 -0
  107. data/test/multiverse/suites/deferred_instrumentation/sinatra_test.rb +103 -0
  108. data/test/multiverse/suites/excon/config/newrelic.yml +0 -2
  109. data/test/multiverse/suites/excon/excon_test.rb +3 -3
  110. data/test/multiverse/suites/httpclient/Envfile +15 -0
  111. data/test/multiverse/suites/httpclient/config/newrelic.yml +19 -0
  112. data/test/multiverse/suites/httpclient/httpclient_test.rb +70 -0
  113. data/test/multiverse/suites/net_http/config/newrelic.yml +0 -2
  114. data/test/multiverse/suites/net_http/net_http_test.rb +9 -4
  115. data/test/multiverse/suites/padrino/Envfile +2 -0
  116. data/test/multiverse/suites/padrino/config/newrelic.yml +0 -3
  117. data/test/multiverse/suites/padrino/padrino_test.rb +5 -4
  118. data/test/multiverse/suites/rails/Envfile +3 -0
  119. data/test/multiverse/suites/rails/app.rb +1 -0
  120. data/test/multiverse/suites/rails/bad_instrumentation_test.rb +31 -0
  121. data/test/multiverse/suites/rails/config/newrelic.yml +2 -3
  122. data/test/multiverse/suites/rails/error_tracing_test.rb +32 -41
  123. data/test/multiverse/suites/rails/gc_instrumentation_test.rb +6 -16
  124. data/test/multiverse/suites/rails/queue_time_test.rb +4 -20
  125. data/test/multiverse/suites/rails/request_statistics_test.rb +7 -32
  126. data/test/multiverse/suites/rails/view_instrumentation_test.rb +6 -10
  127. data/test/multiverse/suites/resque/config/newrelic.yml +1 -3
  128. data/test/multiverse/suites/resque/instrumentation_test.rb +10 -7
  129. data/test/multiverse/suites/sequel/Envfile +8 -0
  130. data/test/multiverse/suites/sequel/config/newrelic.yml +0 -3
  131. data/test/multiverse/suites/sequel/sequel_test.rb +1 -2
  132. data/test/multiverse/suites/sidekiq/Envfile +0 -12
  133. data/test/multiverse/suites/sidekiq/config/newrelic.yml +1 -3
  134. data/test/multiverse/suites/sidekiq/sidekiq_instrumentation_test.rb +44 -100
  135. data/test/multiverse/suites/sinatra/config/newrelic.yml +0 -3
  136. data/test/multiverse/suites/sinatra/ignoring_test.rb +8 -5
  137. data/test/multiverse/suites/sinatra/sinatra_classic_test.rb +8 -1
  138. data/test/multiverse/suites/sinatra/sinatra_error_tracing_test.rb +9 -12
  139. data/test/multiverse/suites/sinatra/sinatra_metric_explosion_test.rb +9 -8
  140. data/test/multiverse/suites/sinatra/sinatra_modular_test.rb +1 -1
  141. data/test/multiverse/suites/sinatra/sinatra_routes_test.rb +6 -5
  142. data/test/multiverse/suites/sinatra/sinatra_test_cases.rb +10 -13
  143. data/test/multiverse/suites/typhoeus/config/newrelic.yml +0 -2
  144. data/test/multiverse/suites/typhoeus/typhoeus_test.rb +7 -4
  145. data/test/multiverse/test/suite_examples/one/a/a_test.rb +0 -1
  146. data/test/multiverse/test/suite_examples/one/a/config/newrelic.yml +0 -1
  147. data/test/multiverse/test/suite_examples/one/b/b_test.rb +0 -1
  148. data/test/multiverse/test/suite_examples/one/b/config/newrelic.yml +0 -1
  149. data/test/new_relic/agent/agent/connect_test.rb +1 -1
  150. data/test/new_relic/agent/agent/start_test.rb +0 -1
  151. data/test/new_relic/agent/agent/start_worker_thread_test.rb +0 -1
  152. data/test/new_relic/agent/agent_logger_test.rb +37 -3
  153. data/test/new_relic/agent/agent_test.rb +23 -1
  154. data/test/new_relic/agent/browser_monitoring_test.rb +0 -1
  155. data/test/new_relic/agent/busy_calculator_test.rb +2 -2
  156. data/test/new_relic/agent/configuration/environment_source_test.rb +22 -0
  157. data/test/new_relic/agent/error_collector/notice_error_test.rb +1 -1
  158. data/test/new_relic/agent/error_collector_test.rb +95 -13
  159. data/test/new_relic/agent/event_listener_test.rb +0 -1
  160. data/test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb +23 -0
  161. data/test/new_relic/agent/instrumentation/active_record_subscriber_test.rb +4 -2
  162. data/test/new_relic/agent/instrumentation/instrumentation_test.rb +0 -1
  163. data/test/new_relic/agent/instrumentation/queue_time_test.rb +16 -11
  164. data/test/new_relic/agent/instrumentation/rack_test.rb +0 -1
  165. data/test/new_relic/agent/memcache_instrumentation_test.rb +7 -7
  166. data/test/{multiverse/suites/agent_only/test_trace_method_with_punctuation.rb → new_relic/agent/method_interrobang_test.rb} +3 -5
  167. data/test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb +1 -2
  168. data/test/{multiverse/suites/agent_only → new_relic/agent}/method_visibility_test.rb +17 -29
  169. data/test/new_relic/agent/new_relic_service_test.rb +1 -1
  170. data/test/new_relic/agent/pipe_service_test.rb +1 -1
  171. data/test/new_relic/agent/request_sampler_test.rb +10 -10
  172. data/test/new_relic/agent/rpm_agent_test.rb +1 -2
  173. data/test/new_relic/agent/stats_hash_test.rb +83 -5
  174. data/test/new_relic/agent/stats_test.rb +0 -1
  175. data/test/new_relic/agent/thread_profiler_test.rb +7 -7
  176. data/test/new_relic/agent/threaded_test.rb +1 -2
  177. data/test/new_relic/agent/transaction/pop_test.rb +0 -1
  178. data/test/{multiverse/suites/agent_only/test_trace_transaction_with_punctuation.rb → new_relic/agent/transaction_interrobang_test.rb} +2 -4
  179. data/test/new_relic/agent/transaction_sample_builder_test.rb +13 -0
  180. data/test/new_relic/agent/transaction_test.rb +7 -5
  181. data/test/new_relic/agent/worker_loop_test.rb +0 -1
  182. data/test/new_relic/agent_test.rb +0 -27
  183. data/test/new_relic/collection_helper_test.rb +17 -17
  184. data/test/new_relic/control/class_methods_test.rb +1 -1
  185. data/test/new_relic/control_test.rb +6 -6
  186. data/test/new_relic/dependency_detection_test.rb +28 -0
  187. data/test/new_relic/evil_server.rb +0 -1
  188. data/test/new_relic/fake_collector.rb +20 -2
  189. data/test/new_relic/fake_server.rb +0 -12
  190. data/test/new_relic/http_client_test_cases.rb +20 -24
  191. data/test/new_relic/metric_spec_test.rb +18 -0
  192. data/test/new_relic/multiverse_helpers.rb +164 -0
  193. data/test/new_relic/rack/agent_hooks_test.rb +0 -1
  194. data/test/new_relic/rack/all_test.rb +0 -1
  195. data/test/new_relic/rack/deferred_instrumentation_test.rb +35 -0
  196. data/test/new_relic/rack/developer_mode_helper_test.rb +8 -9
  197. data/test/new_relic/rack/developer_mode_test.rb +0 -2
  198. data/test/new_relic/rack/error_collector_test.rb +52 -8
  199. data/test/new_relic/transaction_sample/composite_segment_test.rb +0 -1
  200. data/test/new_relic/transaction_sample/fake_segment_test.rb +0 -1
  201. data/test/new_relic/transaction_sample/segment_test.rb +0 -1
  202. data/test/new_relic/transaction_sample/summary_segment_test.rb +0 -1
  203. data/test/performance/README.md +162 -0
  204. data/test/performance/lib/performance.rb +28 -0
  205. data/test/performance/lib/performance/console_reporter.rb +51 -0
  206. data/test/performance/lib/performance/hako_client.rb +31 -0
  207. data/test/performance/lib/performance/hako_reporter.rb +26 -0
  208. data/test/performance/lib/performance/instrumentation/cpu_usage.rb +26 -0
  209. data/test/performance/lib/performance/instrumentation/gc_stats.rb +53 -0
  210. data/test/performance/lib/performance/instrumentation/perf_tools.rb +30 -0
  211. data/test/performance/lib/performance/instrumentor.rb +110 -0
  212. data/test/performance/lib/performance/json_reporter.rb +15 -0
  213. data/test/performance/lib/performance/result.rb +80 -0
  214. data/test/performance/lib/performance/runner.rb +207 -0
  215. data/test/performance/lib/performance/test_case.rb +65 -0
  216. data/test/performance/lib/performance/timer.rb +38 -0
  217. data/test/performance/script/mega-runner +37 -0
  218. data/test/performance/script/runner +81 -0
  219. data/test/performance/suites/startup.rb +12 -0
  220. data/test/performance/suites/transaction_tracing.rb +66 -0
  221. data/test/script/ci_agent-tests_runner.sh +4 -4
  222. data/test/script/ci_multiverse_runner.sh +3 -3
  223. data/test/test_helper.rb +0 -11
  224. data/ui/helpers/developer_mode_helper.rb +1 -1
  225. data/ui/views/layouts/newrelic_default.rhtml +1 -1
  226. data/ui/views/newrelic/_segment.rhtml +2 -2
  227. data/ui/views/newrelic/_segment_limit_message.rhtml +1 -1
  228. data/ui/views/newrelic/_show_sample_detail.rhtml +1 -1
  229. data/ui/views/newrelic/_show_sample_sql.rhtml +4 -4
  230. data/ui/views/newrelic/_stack_trace.rhtml +2 -2
  231. data/ui/views/newrelic/file/javascript/transaction_sample.js +3 -3
  232. data/ui/views/newrelic/file/stylesheets/style.css +13 -13
  233. data/vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb +18 -4
  234. data/vendor/gems/metric_parser-0.1.0.pre1/lib/new_relic/metric_parser/metric_parser.rb +0 -1
  235. metadata +186 -17
  236. metadata.gz.sig +0 -0
  237. data/test/multiverse/suites/active_record/encoding_test.rb +0 -30
  238. data/test/multiverse/suites/agent_only/no_dns_resolv.rb +0 -21
  239. data/test/multiverse/suites/sidekiq/app.rb +0 -25
  240. data/test/new_relic/delayed_job_injection_test.rb +0 -25
@@ -0,0 +1,66 @@
1
+ # encoding: utf-8
2
+ # This file is distributed under New Relic's license terms.
3
+ # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.
4
+
5
+ class TransactionTracingPerfTests < Performance::TestCase
6
+ def klass(instrument)
7
+ Class.new do
8
+ def self.name
9
+ "CustomClass#{object_id}"
10
+ end
11
+
12
+ def short_transaction
13
+ method_4
14
+ end
15
+
16
+ def long_transaction(n)
17
+ n.times do
18
+ method_1
19
+ end
20
+ end
21
+
22
+ def method_1
23
+ method_2
24
+ method_3
25
+ end
26
+
27
+ def method_2
28
+ end
29
+
30
+ def method_3
31
+ end
32
+
33
+ def method_4
34
+ end
35
+
36
+ if instrument
37
+ include NewRelic::Agent::Instrumentation::ControllerInstrumentation
38
+ include NewRelic::Agent::MethodTracer
39
+ add_method_tracer :method_1
40
+ add_method_tracer :method_2
41
+ add_method_tracer :method_3
42
+ add_method_tracer :method_4
43
+ add_transaction_tracer :short_transaction
44
+ add_transaction_tracer :long_transaction
45
+ end
46
+
47
+ end
48
+ end
49
+
50
+ def setup
51
+ @dummy = klass(true).new
52
+ NewRelic::Agent.manual_start(:developer_mode => false)
53
+ end
54
+
55
+ def teardown
56
+ NewRelic::Agent.shutdown
57
+ end
58
+
59
+ def test_short_transactions
60
+ iterations.times { @dummy.short_transaction }
61
+ end
62
+
63
+ def test_long_transactions
64
+ @dummy.long_transaction(iterations)
65
+ end
66
+ end
@@ -3,7 +3,7 @@
3
3
  SCRATH_DIR=./agent-tests_tmp
4
4
  #git pull git@github.com:newrelic/ruby_agent-tests.git
5
5
 
6
- #echo $PWD
6
+ #echo $PWD
7
7
  script_dirname=`dirname $0`
8
8
  #echo $script_dirname
9
9
  #echo $0
@@ -17,7 +17,7 @@ cd "$script_dirname/../../"
17
17
  if [ -x $SCRATH_DIR ] ; then
18
18
  echo "found tmp, deleting"
19
19
  rm -fr $SCRATH_DIR
20
- fi
20
+ fi
21
21
 
22
22
  mkdir $SCRATH_DIR
23
23
  cd $SCRATH_DIR
@@ -27,7 +27,7 @@ git clone --depth=1 git@github.com:newrelic/rpm_contrib.git rpm_contrib
27
27
 
28
28
  if [ -x ../../Ruby_Agent ] ; then
29
29
  ln -s ../../Ruby_Agent ./ruby_agent
30
- else
30
+ else
31
31
  echo "*********** Ruby_Agent can't be found ***********"
32
32
  exit 1
33
33
  fi
@@ -35,7 +35,7 @@ fi
35
35
  #exit 0
36
36
 
37
37
  cd ruby_agent-tests
38
- ./ci_run.sh
38
+ ./ci_run.sh
39
39
 
40
40
  #echo "creating tmp dir"
41
41
  #mkdir tmp
@@ -21,7 +21,7 @@ script_dirname=`dirname $0`
21
21
  # make sure that we're in the project root
22
22
  cd "$script_dirname/../../"
23
23
 
24
- #pwd
24
+ #pwd
25
25
 
26
26
  if [ -x $SCRATH_DIR ] ; then
27
27
  echo "found tmp, deleting"
@@ -31,8 +31,8 @@ fi
31
31
  mkdir $SCRATH_DIR
32
32
  cd $SCRATH_DIR
33
33
 
34
- #pwd
35
- if [[ $JOB_NAME =~ "Pangalactic" ]] ; then
34
+ #pwd
35
+ if [[ $JOB_NAME =~ "Pangalactic" ]] ; then
36
36
  AGENT_LOCATION="../../../../../../Ruby_Agent"
37
37
  else
38
38
  AGENT_LOCATION="../../Ruby_Agent"
data/test/test_helper.rb CHANGED
@@ -214,17 +214,6 @@ ensure
214
214
  end
215
215
 
216
216
 
217
- def with_debug_logging
218
- orig_logger = NewRelic::Agent.logger
219
- $stderr.puts '', '---', ''
220
- NewRelic::Agent.logger =
221
- NewRelic::Agent::AgentLogger.new( {:log_level => 'debug'}, '', Logger.new($stderr) )
222
- yield
223
- ensure
224
- NewRelic::Agent.logger = orig_logger
225
- end
226
-
227
-
228
217
  module TransactionSampleTestHelper
229
218
  module_function
230
219
  def make_sql_transaction(*sql)
@@ -233,7 +233,7 @@ module NewRelic::DeveloperModeHelper
233
233
  end
234
234
 
235
235
  private
236
- # return three objects, the file path, the line in the file, and the gem the file belongs to
236
+ # return three objects, the file path, the line in the file, and the gem the file belongs to
237
237
  # if found
238
238
  def file_and_line(stack_trace_line)
239
239
  if stack_trace_line =~ /^(?:(\w+) \([\d.]*\) )?(.*):(\d+)/
@@ -4,7 +4,7 @@
4
4
  <script type="text/javascript" src="/newrelic/file/javascript/jquery-1.4.2.js"></script>
5
5
  <meta charset="utf-8" />
6
6
  <title>New Relic Developer Mode</title>
7
- <link href="/newrelic/file/stylesheets/style.css"
7
+ <link href="/newrelic/file/stylesheets/style.css"
8
8
  media="screen" rel="stylesheet" type="text/css" />
9
9
  </head>
10
10
  <body>
@@ -1,6 +1,6 @@
1
1
  <% segment, indent, repeat = object %>
2
2
  <tr style="<%= 'display:none' if indent > 1 %>" child_row_class="<%=segment_child_row_class(segment)%>" onmouseover="mouse_over_row(this)" onmouseout="mouse_out_row(this)" class='<%=segment_row_classes(segment, indent)%>'>
3
-
3
+
4
4
  <td nowrap=true>
5
5
  <div class="segment_indent_level<%=indent%> <%='leaf_segment' if segment.called_segments.empty?%>">
6
6
  <div style="display:inline;">
@@ -25,4 +25,4 @@
25
25
  <%= explain_sql_links(segment) if indent > 0 %>
26
26
  </small>
27
27
  </td>
28
- </tr>
28
+ </tr>
@@ -1 +1 @@
1
- This report is limited to <%= trace_row_display_limit %> rows.
1
+ This report is limited to <%= trace_row_display_limit %> rows.
@@ -2,7 +2,7 @@
2
2
  var EXPANDED_IMAGE = '<%=expanded_image_path%>';
3
3
  var COLLAPSED_IMAGE = '<%= collapsed_image_path %>';
4
4
  function Tip(tip) {}
5
- function UnTip() {}
5
+ function UnTip() {}
6
6
  </script>
7
7
  <span>
8
8
  <%= link_to_function("Expand All", 'expand_all_segments()') %>&nbsp;&nbsp;
@@ -1,9 +1,9 @@
1
1
  <% if rows_logger_present? %>
2
2
  <h3>Plugin Incompatibility</h3>
3
- The Rows Logger plugin rewrites part of Active Record, which in effect turns off the
3
+ The Rows Logger plugin rewrites part of Active Record, which in effect turns off the
4
4
  SQL statement tracing functionality of NewRelic Developer Mode. To gain SQL statement
5
- visibility, you must remove <samp>rows_logger_plugin</samp>, or change your plugin load order
6
- so that the rows logger is loaded first.
5
+ visibility, you must remove <samp>rows_logger_plugin</samp>, or change your plugin load order
6
+ so that the rows logger is loaded first.
7
7
  <% else %>
8
8
  <%= render :partial => 'segment_limit_message' if trace_row_display_limit_reached %>
9
9
  <table width="100%" class="segment_list_table">
@@ -18,7 +18,7 @@
18
18
  <td>SQL</td>
19
19
  </tr>
20
20
  </thead>
21
-
21
+
22
22
  <%= render :partial => 'sql_row', :collection => @sql_segments[0...trace_row_display_limit] %>
23
23
  </table>
24
24
  <% end %>
@@ -6,10 +6,10 @@
6
6
  <a id="hide_rails_link<%=unique_id %>" href="#" onclick="hide_rails('<%=unique_id %>'); return false" style="display:none">Hide Rails</a>
7
7
 
8
8
  <div id='application_stack_trace<%=unique_id %>' class="application_stack_trace">
9
- <%= application_stack_trace(trace, false).collect { |trace_line| write_stack_trace_line(trace_line)}.join("<br/>") %>
9
+ <%= application_stack_trace(trace, false).collect { |trace_line| write_stack_trace_line(trace_line)}.join("<br/>") %>
10
10
  </div>
11
11
 
12
12
  <div id="full_stack_trace<%=unique_id %>" style="display: none;" class="full_stack_trace">
13
13
  <%= application_stack_trace(trace, true).collect { |trace_line| write_stack_trace_line(trace_line)}.join("<br/>") %>
14
14
  </div>
15
-
15
+
@@ -8,9 +8,9 @@ function show_request_params()
8
8
  }
9
9
 
10
10
  function show_view(page_id){
11
- $('#show_sample_summary, #show_sample_sql, #show_sample_detail').hide();
11
+ $('#show_sample_summary, #show_sample_sql, #show_sample_detail').hide();
12
12
  $('#' + page_id).show();
13
- }
13
+ }
14
14
 
15
15
  function toggle_row_class(theLink)
16
16
  {
@@ -120,4 +120,4 @@ function jump_to_metric(metric_name)
120
120
  }
121
121
  function highlight(elements) {
122
122
  elements.css('background-color', 'lightyellow');
123
- }
123
+ }
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- /*
3
+ /*
4
4
  Originally based on the theme credited below.
5
5
  Tweaks by Lew Cirne and Victoria Wesson for New Relic
6
6
 
@@ -29,7 +29,7 @@ table.profile th {
29
29
  text-align: left;
30
30
  border-top: 1px solid #aaaaaa;
31
31
  border-bottom: 1px solid #aaaaaa;
32
- background: #dddddd;
32
+ background: #dddddd;
33
33
  border-left: 1px solid silver;
34
34
  }
35
35
 
@@ -78,7 +78,7 @@ body{
78
78
  #wrap{
79
79
  margin:0 auto;
80
80
  text-align:left;
81
- width:76em;
81
+ width:76em;
82
82
  }
83
83
  #content{
84
84
  width: 984px;
@@ -182,7 +182,7 @@ th.left
182
182
  {
183
183
  text-align: left;
184
184
  }
185
- th.title
185
+ th.title
186
186
  {
187
187
  font-size: 1.2em;
188
188
  text-align: left;
@@ -195,7 +195,7 @@ td.locals
195
195
  text-align: left;
196
196
  font-family: monospace;
197
197
  }
198
-
198
+
199
199
  /*************************************
200
200
  +New Relic Specific - need to preserve
201
201
  *************************************/
@@ -203,7 +203,7 @@ td.locals
203
203
  {
204
204
  background-color: #FAFEFE;
205
205
  }
206
- div.flash, #errorExplanation
206
+ div.flash, #errorExplanation
207
207
  {
208
208
  margin: 8px 10px 8px 10px;
209
209
  border: 2px;
@@ -221,13 +221,13 @@ div.flash
221
221
  color: #bb0011;
222
222
  }
223
223
 
224
- div.flash.error
224
+ div.flash.error
225
225
  {
226
226
  border-color: #bb0011;
227
227
  color: #bb0011;
228
228
  }
229
229
 
230
- div.flash.notice
230
+ div.flash.notice
231
231
  {
232
232
  border-color: #eeaa33;
233
233
  color: #eeaa33;
@@ -317,7 +317,7 @@ div.flash.notice
317
317
  }
318
318
 
319
319
  .application_stack_trace, .full_stack_trace
320
- {
320
+ {
321
321
  font-family: monospace;
322
322
  margin-top: 10px;
323
323
  margin-left: 20px;
@@ -385,7 +385,7 @@ thead a, thead a:hover
385
385
 
386
386
  tfoot
387
387
  {
388
- background-color: #6688aa;
388
+ background-color: #6688aa;
389
389
  color: #333;
390
390
  }
391
391
 
@@ -427,7 +427,7 @@ ul.tab_list {
427
427
  }
428
428
 
429
429
  ul.tab_list li {
430
- padding-left: 1em;
430
+ padding-left: 1em;
431
431
  }
432
432
  .selected {
433
433
  background: url(/newrelic/image?file=arrow-close.png) no-repeat;
@@ -461,9 +461,9 @@ ul.tab_list li {
461
461
  }
462
462
 
463
463
  .scrolling_container {
464
- overflow: auto;
464
+ overflow: auto;
465
465
  padding-left: 5px;
466
- max-height: 150px;
466
+ max-height: 150px;
467
467
  border: 1px solid #898989;
468
468
  }
469
469
 
@@ -40,7 +40,7 @@ module DependencyDetection
40
40
 
41
41
  class Dependent
42
42
  attr_reader :executed
43
- attr_reader :name
43
+ attr_accessor :name
44
44
  def executed!
45
45
  @executed = true
46
46
  end
@@ -50,6 +50,7 @@ module DependencyDetection
50
50
  def initialize
51
51
  @dependencies = []
52
52
  @executes = []
53
+ @name = nil
53
54
  end
54
55
 
55
56
  def dependencies_satisfied?
@@ -58,14 +59,27 @@ module DependencyDetection
58
59
 
59
60
  def execute
60
61
  @executes.each do |x|
61
- x.call
62
+ begin
63
+ x.call
64
+ rescue => err
65
+ NewRelic::Agent.logger.error( "Error while installing #{self.name} instrumentation:", err )
66
+ break
67
+ end
62
68
  end
63
69
  ensure
64
70
  executed!
65
71
  end
66
72
 
67
73
  def check_dependencies
68
- dependencies && dependencies.all? { |d| d.call }
74
+ return false unless dependencies
75
+ dependencies.all? do |dep|
76
+ begin
77
+ dep.call
78
+ rescue => err
79
+ NewRelic::Agent.logger.error( "Error while detecting #{self.name}:", err )
80
+ false
81
+ end
82
+ end
69
83
  end
70
84
 
71
85
  def depends_on
@@ -73,7 +87,7 @@ module DependencyDetection
73
87
  end
74
88
 
75
89
  def named(new_name)
76
- name = new_name
90
+ self.name = new_name
77
91
  depends_on do
78
92
  key = "disable_#{new_name}".to_sym
79
93
  if (::NewRelic::Agent.config[key] == true)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.5.130
4
+ version: 3.6.6.147
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -41,8 +41,136 @@ cert_chain:
41
41
  cHUySWFQWE92bTNUOEc0TzZxWnZobkxoL1VpZW4rK0RqOGVGQmVjVFBvTThw
42
42
  VmpLM3BoNQpuL0V3dVpDY0U2Z2h0Q0NNCi0tLS0tRU5EIENFUlRJRklDQVRF
43
43
  LS0tLS0K
44
- date: 2013-06-27 00:00:00.000000000 Z
45
- dependencies: []
44
+ date: 2013-07-25 00:00:00.000000000 Z
45
+ dependencies:
46
+ - !ruby/object:Gem::Dependency
47
+ name: rake
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 10.1.0
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 10.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: minitest
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: 4.7.5
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 4.7.5
78
+ - !ruby/object:Gem::Dependency
79
+ name: mocha
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: 0.13.0
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.13.0
94
+ - !ruby/object:Gem::Dependency
95
+ name: sdoc-helpers
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rdoc
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: 2.4.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 2.4.2
126
+ - !ruby/object:Gem::Dependency
127
+ name: rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: 3.2.13
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: 3.2.13
142
+ - !ruby/object:Gem::Dependency
143
+ name: sqlite3
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: sequel
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ~>
164
+ - !ruby/object:Gem::Version
165
+ version: 3.46.0
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: 3.46.0
46
174
  description: ! 'New Relic is a performance management system, developed by New Relic,
47
175
 
48
176
  Inc (http://www.newrelic.com). New Relic provides you with deep
@@ -61,6 +189,7 @@ executables:
61
189
  - mongrel_rpm
62
190
  - newrelic_cmd
63
191
  - newrelic
192
+ - nrdebug
64
193
  extensions: []
65
194
  extra_rdoc_files:
66
195
  - CHANGELOG
@@ -81,6 +210,7 @@ files:
81
210
  - bin/mongrel_rpm
82
211
  - bin/newrelic
83
212
  - bin/newrelic_cmd
213
+ - bin/nrdebug
84
214
  - cert/cacert.pem
85
215
  - cert/oldsite.pem
86
216
  - cert/site.pem
@@ -112,7 +242,9 @@ files:
112
242
  - lib/new_relic/agent/database.rb
113
243
  - lib/new_relic/agent/error_collector.rb
114
244
  - lib/new_relic/agent/event_listener.rb
245
+ - lib/new_relic/agent/http_clients/curb_wrappers.rb
115
246
  - lib/new_relic/agent/http_clients/excon_wrappers.rb
247
+ - lib/new_relic/agent/http_clients/httpclient_wrappers.rb
116
248
  - lib/new_relic/agent/http_clients/net_http_wrappers.rb
117
249
  - lib/new_relic/agent/http_clients/typhoeus_wrappers.rb
118
250
  - lib/new_relic/agent/http_clients/uri_util.rb
@@ -127,12 +259,14 @@ files:
127
259
  - lib/new_relic/agent/instrumentation/authlogic.rb
128
260
  - lib/new_relic/agent/instrumentation/browser_monitoring_timings.rb
129
261
  - lib/new_relic/agent/instrumentation/controller_instrumentation.rb
262
+ - lib/new_relic/agent/instrumentation/curb.rb
130
263
  - lib/new_relic/agent/instrumentation/data_mapper.rb
131
264
  - lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb
132
265
  - lib/new_relic/agent/instrumentation/evented_subscriber.rb
133
266
  - lib/new_relic/agent/instrumentation/excon.rb
134
267
  - lib/new_relic/agent/instrumentation/excon/connection.rb
135
268
  - lib/new_relic/agent/instrumentation/excon/middleware.rb
269
+ - lib/new_relic/agent/instrumentation/httpclient.rb
136
270
  - lib/new_relic/agent/instrumentation/memcache.rb
137
271
  - lib/new_relic/agent/instrumentation/merb/controller.rb
138
272
  - lib/new_relic/agent/instrumentation/merb/errors.rb
@@ -140,6 +274,7 @@ files:
140
274
  - lib/new_relic/agent/instrumentation/net.rb
141
275
  - lib/new_relic/agent/instrumentation/padrino.rb
142
276
  - lib/new_relic/agent/instrumentation/passenger_instrumentation.rb
277
+ - lib/new_relic/agent/instrumentation/puma.rb
143
278
  - lib/new_relic/agent/instrumentation/queue_time.rb
144
279
  - lib/new_relic/agent/instrumentation/rack.rb
145
280
  - lib/new_relic/agent/instrumentation/rails/action_controller.rb
@@ -161,6 +296,7 @@ files:
161
296
  - lib/new_relic/agent/instrumentation/sunspot.rb
162
297
  - lib/new_relic/agent/instrumentation/typhoeus.rb
163
298
  - lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb
299
+ - lib/new_relic/agent/internal_agent_error.rb
164
300
  - lib/new_relic/agent/method_tracer.rb
165
301
  - lib/new_relic/agent/new_relic_service.rb
166
302
  - lib/new_relic/agent/null_logger.rb
@@ -271,17 +407,15 @@ files:
271
407
  - test/multiverse/suites/active_record/Envfile
272
408
  - test/multiverse/suites/active_record/ar_method_aliasing.rb
273
409
  - test/multiverse/suites/active_record/config/newrelic.yml
274
- - test/multiverse/suites/active_record/encoding_test.rb
275
410
  - test/multiverse/suites/agent_only/Envfile
276
411
  - test/multiverse/suites/agent_only/audit_log_test.rb
412
+ - test/multiverse/suites/agent_only/before_suite.rb
277
413
  - test/multiverse/suites/agent_only/config/newrelic.yml
278
414
  - test/multiverse/suites/agent_only/cross_application_tracing_test.rb
279
415
  - test/multiverse/suites/agent_only/http_response_code_test.rb
280
416
  - test/multiverse/suites/agent_only/key_transactions_test.rb
281
417
  - test/multiverse/suites/agent_only/logging_test.rb
282
418
  - test/multiverse/suites/agent_only/marshaling_test.rb
283
- - test/multiverse/suites/agent_only/method_visibility_test.rb
284
- - test/multiverse/suites/agent_only/no_dns_resolv.rb
285
419
  - test/multiverse/suites/agent_only/pipe_manager_test.rb
286
420
  - test/multiverse/suites/agent_only/rename_rule_test.rb
287
421
  - test/multiverse/suites/agent_only/rum_instrumentation_test.rb
@@ -289,18 +423,25 @@ files:
289
423
  - test/multiverse/suites/agent_only/set_transaction_name_test.rb
290
424
  - test/multiverse/suites/agent_only/ssl_test.rb
291
425
  - test/multiverse/suites/agent_only/start_up_test.rb
292
- - test/multiverse/suites/agent_only/test_trace_method_with_punctuation.rb
293
- - test/multiverse/suites/agent_only/test_trace_transaction_with_punctuation.rb
294
426
  - test/multiverse/suites/agent_only/testing_app.rb
295
427
  - test/multiverse/suites/agent_only/thread_profiling_test.rb
296
428
  - test/multiverse/suites/config_file_loading/Envfile
297
429
  - test/multiverse/suites/config_file_loading/config_file_loading_test.rb
430
+ - test/multiverse/suites/curb/Envfile
431
+ - test/multiverse/suites/curb/config/newrelic.yml
432
+ - test/multiverse/suites/curb/curb_test.rb
298
433
  - test/multiverse/suites/datamapper/Envfile
299
434
  - test/multiverse/suites/datamapper/config/newrelic.yml
300
435
  - test/multiverse/suites/datamapper/datamapper_test.rb
436
+ - test/multiverse/suites/deferred_instrumentation/Envfile
437
+ - test/multiverse/suites/deferred_instrumentation/config/newrelic.yml
438
+ - test/multiverse/suites/deferred_instrumentation/sinatra_test.rb
301
439
  - test/multiverse/suites/excon/Envfile
302
440
  - test/multiverse/suites/excon/config/newrelic.yml
303
441
  - test/multiverse/suites/excon/excon_test.rb
442
+ - test/multiverse/suites/httpclient/Envfile
443
+ - test/multiverse/suites/httpclient/config/newrelic.yml
444
+ - test/multiverse/suites/httpclient/httpclient_test.rb
304
445
  - test/multiverse/suites/net_http/Envfile
305
446
  - test/multiverse/suites/net_http/config/newrelic.yml
306
447
  - test/multiverse/suites/net_http/net_http_test.rb
@@ -316,6 +457,7 @@ files:
316
457
  - test/multiverse/suites/rails/app/views/views/deep_partial.html.erb
317
458
  - test/multiverse/suites/rails/app/views/views/haml_view.html.haml
318
459
  - test/multiverse/suites/rails/app/views/views/index.html.erb
460
+ - test/multiverse/suites/rails/bad_instrumentation_test.rb
319
461
  - test/multiverse/suites/rails/config/newrelic.yml
320
462
  - test/multiverse/suites/rails/error_tracing_test.rb
321
463
  - test/multiverse/suites/rails/gc_instrumentation_test.rb
@@ -330,7 +472,6 @@ files:
330
472
  - test/multiverse/suites/sequel/config/newrelic.yml
331
473
  - test/multiverse/suites/sequel/sequel_test.rb
332
474
  - test/multiverse/suites/sidekiq/Envfile
333
- - test/multiverse/suites/sidekiq/app.rb
334
475
  - test/multiverse/suites/sidekiq/config/newrelic.yml
335
476
  - test/multiverse/suites/sidekiq/log/.gitkeep
336
477
  - test/multiverse/suites/sidekiq/sidekiq_instrumentation_test.rb
@@ -399,9 +540,11 @@ files:
399
540
  - test/new_relic/agent/instrumentation/sinatra_test.rb
400
541
  - test/new_relic/agent/instrumentation/task_instrumentation_test.rb
401
542
  - test/new_relic/agent/memcache_instrumentation_test.rb
543
+ - test/new_relic/agent/method_interrobang_test.rb
402
544
  - test/new_relic/agent/method_tracer/class_methods/add_method_tracer_test.rb
403
545
  - test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb
404
546
  - test/new_relic/agent/method_tracer_test.rb
547
+ - test/new_relic/agent/method_visibility_test.rb
405
548
  - test/new_relic/agent/mock_scope_listener.rb
406
549
  - test/new_relic/agent/new_relic_service_test.rb
407
550
  - test/new_relic/agent/pipe_channel_manager_test.rb
@@ -424,6 +567,7 @@ files:
424
567
  - test/new_relic/agent/threaded_test.rb
425
568
  - test/new_relic/agent/transaction/pop_test.rb
426
569
  - test/new_relic/agent/transaction_info_test.rb
570
+ - test/new_relic/agent/transaction_interrobang_test.rb
427
571
  - test/new_relic/agent/transaction_sample_builder_test.rb
428
572
  - test/new_relic/agent/transaction_sampler_test.rb
429
573
  - test/new_relic/agent/transaction_test.rb
@@ -435,7 +579,6 @@ files:
435
579
  - test/new_relic/control/class_methods_test.rb
436
580
  - test/new_relic/control/frameworks/rails_test.rb
437
581
  - test/new_relic/control_test.rb
438
- - test/new_relic/delayed_job_injection_test.rb
439
582
  - test/new_relic/dependency_detection_test.rb
440
583
  - test/new_relic/dispatcher_test.rb
441
584
  - test/new_relic/environment_report_test.rb
@@ -453,10 +596,12 @@ files:
453
596
  - test/new_relic/metric_data_test.rb
454
597
  - test/new_relic/metric_parser/metric_parser_test.rb
455
598
  - test/new_relic/metric_spec_test.rb
599
+ - test/new_relic/multiverse_helpers.rb
456
600
  - test/new_relic/noticed_error_test.rb
457
601
  - test/new_relic/rack/agent_hooks_test.rb
458
602
  - test/new_relic/rack/all_test.rb
459
603
  - test/new_relic/rack/browser_monitoring_test.rb
604
+ - test/new_relic/rack/deferred_instrumentation_test.rb
460
605
  - test/new_relic/rack/developer_mode_helper_test.rb
461
606
  - test/new_relic/rack/developer_mode_test.rb
462
607
  - test/new_relic/rack/error_collector_test.rb
@@ -469,6 +614,24 @@ files:
469
614
  - test/new_relic/transaction_sample_subtest_test.rb
470
615
  - test/new_relic/transaction_sample_test.rb
471
616
  - test/new_relic/version_number_test.rb
617
+ - test/performance/README.md
618
+ - test/performance/lib/performance.rb
619
+ - test/performance/lib/performance/console_reporter.rb
620
+ - test/performance/lib/performance/hako_client.rb
621
+ - test/performance/lib/performance/hako_reporter.rb
622
+ - test/performance/lib/performance/instrumentation/cpu_usage.rb
623
+ - test/performance/lib/performance/instrumentation/gc_stats.rb
624
+ - test/performance/lib/performance/instrumentation/perf_tools.rb
625
+ - test/performance/lib/performance/instrumentor.rb
626
+ - test/performance/lib/performance/json_reporter.rb
627
+ - test/performance/lib/performance/result.rb
628
+ - test/performance/lib/performance/runner.rb
629
+ - test/performance/lib/performance/test_case.rb
630
+ - test/performance/lib/performance/timer.rb
631
+ - test/performance/script/mega-runner
632
+ - test/performance/script/runner
633
+ - test/performance/suites/startup.rb
634
+ - test/performance/suites/transaction_tracing.rb
472
635
  - test/script/build_test_gem.sh
473
636
  - test/script/ci.sh
474
637
  - test/script/ci_agent-tests_runner.sh
@@ -556,13 +719,19 @@ files:
556
719
  - lib/new_relic/build.rb
557
720
  homepage: http://www.github.com/newrelic/rpm
558
721
  licenses: []
559
- post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.5 ##\n\n*
560
- Rails 4.0 Support\n\n The Ruby agent is all set for the recent general release
561
- of Rails 4.0! We've\n been tracking the RC's, and that work paid off. Versions
562
- 3.6.5 and 3.6.4 of\n the Ruby agent should work fine with Rails 4.0.0.\n\n* Excon
563
- and Typhoeus support\n\n The Ruby agent now supports the Excon and Typhoeus HTTP
564
- libraries! For more\n details see https://newrelic.com/docs/ruby/ruby-http-clients.\n\nSee
565
- https://github.com/newrelic/rpm/blob/master/CHANGELOG for a full list of\nchanges.\n"
722
+ post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.6 ##\n\n*
723
+ HTTPClient and Curb support\n\n The Ruby agent now supports the HTTPClient and
724
+ Curb HTTP libraries! Cross\n application tracing and more is fully supported for
725
+ these libraries. For more\n details see https://newrelic.com/docs/ruby/ruby-http-clients.\n\n*
726
+ Sinatra startup improvements\n\n In earlier agent versions, newrelic_rpm had to
727
+ be required after Sinatra to\n get instrumentation. Now the agent should start
728
+ when your Sinatra app starts\n up in rackup, thin, unicorn, or similar web servers.\n\n*
729
+ Puma clustered mode support\n\n Clustered mode in Puma was not reporting data without
730
+ manually adding a hook\n to Puma's configuration. The agent will now automatically
731
+ add this hook.\n\n* SSL certificate verification\n\n Early versions of the agent's
732
+ SSL support provided an option to skip\n certificate verification. This option
733
+ has been removed.\n\nSee https://github.com/newrelic/rpm/blob/master/CHANGELOG for
734
+ a full list of\nchanges.\n"
566
735
  rdoc_options:
567
736
  - --line-numbers
568
737
  - --inline-source