newrelic_rpm 3.6.6.147 → 3.6.7.152

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. data.tar.gz.sig +0 -0
  2. data/.gitignore +0 -1
  3. data/CHANGELOG +55 -17
  4. data/Guardfile +7 -0
  5. data/Rakefile +6 -0
  6. data/bin/mongrel_rpm +33 -0
  7. data/bin/newrelic +13 -0
  8. data/bin/newrelic_cmd +5 -0
  9. data/bin/nrdebug +273 -0
  10. data/install.rb +3 -3
  11. data/lib/new_relic/agent.rb +4 -6
  12. data/lib/new_relic/agent/agent.rb +76 -72
  13. data/lib/new_relic/agent/autostart.rb +18 -5
  14. data/lib/new_relic/agent/browser_monitoring.rb +41 -35
  15. data/lib/new_relic/agent/browser_token.rb +38 -0
  16. data/lib/new_relic/agent/busy_calculator.rb +7 -5
  17. data/lib/new_relic/agent/commands/agent_command.rb +19 -0
  18. data/lib/new_relic/agent/commands/agent_command_router.rb +88 -0
  19. data/lib/new_relic/agent/commands/thread_profiler.rb +80 -0
  20. data/lib/new_relic/agent/configuration/default_source.rb +700 -0
  21. data/lib/new_relic/agent/configuration/environment_source.rb +83 -30
  22. data/lib/new_relic/agent/configuration/manager.rb +8 -8
  23. data/lib/new_relic/agent/configuration/mask_defaults.rb +2 -2
  24. data/lib/new_relic/agent/cross_app_monitor.rb +10 -21
  25. data/lib/new_relic/agent/cross_app_tracing.rb +3 -3
  26. data/lib/new_relic/agent/error_collector.rb +7 -10
  27. data/lib/new_relic/agent/http_clients/curb_wrappers.rb +1 -1
  28. data/lib/new_relic/agent/http_clients/excon_wrappers.rb +5 -1
  29. data/lib/new_relic/agent/http_clients/httpclient_wrappers.rb +5 -1
  30. data/lib/new_relic/agent/http_clients/net_http_wrappers.rb +5 -1
  31. data/lib/new_relic/agent/http_clients/typhoeus_wrappers.rb +1 -1
  32. data/lib/new_relic/agent/instrumentation/action_controller_subscriber.rb +5 -12
  33. data/lib/new_relic/agent/instrumentation/action_view_subscriber.rb +4 -0
  34. data/lib/new_relic/agent/instrumentation/{rails4/active_record.rb → active_record_4.rb} +1 -1
  35. data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +11 -11
  36. data/lib/new_relic/agent/instrumentation/authlogic.rb +8 -6
  37. data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +12 -6
  38. data/lib/new_relic/agent/instrumentation/curb.rb +11 -2
  39. data/lib/new_relic/agent/instrumentation/delayed_job_instrumentation.rb +1 -3
  40. data/lib/new_relic/agent/instrumentation/evented_subscriber.rb +11 -2
  41. data/lib/new_relic/agent/instrumentation/excon/middleware.rb +13 -4
  42. data/lib/new_relic/agent/instrumentation/puma.rb +2 -1
  43. data/lib/new_relic/agent/instrumentation/rack.rb +15 -17
  44. data/lib/new_relic/agent/method_tracer.rb +181 -191
  45. data/lib/new_relic/agent/new_relic_service.rb +16 -14
  46. data/lib/new_relic/agent/pipe_channel_manager.rb +1 -1
  47. data/lib/new_relic/agent/request_sampler.rb +32 -165
  48. data/lib/new_relic/agent/sampled_buffer.rb +79 -0
  49. data/lib/new_relic/agent/samplers/delayed_job_sampler.rb +1 -8
  50. data/lib/new_relic/agent/sql_sampler.rb +3 -3
  51. data/lib/new_relic/agent/stats_engine.rb +1 -1
  52. data/lib/new_relic/agent/stats_engine/gc_profiler.rb +1 -1
  53. data/lib/new_relic/agent/stats_engine/metric_stats.rb +2 -3
  54. data/lib/new_relic/agent/stats_engine/transactions.rb +2 -22
  55. data/lib/new_relic/agent/threading/agent_thread.rb +41 -0
  56. data/lib/new_relic/agent/threading/backtrace_node.rb +71 -0
  57. data/lib/new_relic/agent/threading/thread_profile.rb +172 -0
  58. data/lib/new_relic/agent/transaction.rb +16 -4
  59. data/lib/new_relic/agent/transaction_sample_builder.rb +13 -3
  60. data/lib/new_relic/agent/transaction_sampler.rb +5 -8
  61. data/lib/new_relic/agent/transaction_state.rb +166 -0
  62. data/lib/new_relic/agent/transaction_timings.rb +53 -0
  63. data/lib/new_relic/cli/command.rb +91 -0
  64. data/lib/new_relic/{commands → cli}/deployments.rb +13 -9
  65. data/lib/new_relic/{commands → cli}/install.rb +2 -2
  66. data/lib/new_relic/control/frameworks/rails.rb +1 -8
  67. data/lib/new_relic/control/instance_methods.rb +1 -2
  68. data/lib/new_relic/helper.rb +9 -0
  69. data/lib/new_relic/local_environment.rb +16 -63
  70. data/lib/new_relic/rack/browser_monitoring.rb +8 -5
  71. data/lib/new_relic/recipes.rb +44 -31
  72. data/lib/new_relic/transaction_sample.rb +6 -2
  73. data/lib/new_relic/version.rb +1 -1
  74. data/lib/tasks/install.rake +21 -1
  75. data/newrelic_rpm.gemspec +5 -1
  76. data/test/agent_helper.rb +4 -9
  77. data/test/environments/.gitignore +16 -0
  78. data/test/environments/lib/environments/runner.rb +104 -0
  79. data/test/environments/norails/Gemfile +11 -0
  80. data/test/environments/norails/Rakefile +9 -0
  81. data/test/environments/rails21/Gemfile +24 -0
  82. data/test/environments/rails21/Rakefile +12 -0
  83. data/test/environments/rails21/app/controllers/application.rb +20 -0
  84. data/test/environments/rails21/config/boot.rb +113 -0
  85. data/test/environments/rails21/config/database.yml +31 -0
  86. data/test/environments/rails21/config/environment.rb +28 -0
  87. data/test/environments/rails21/config/environments/development.rb +16 -0
  88. data/test/environments/rails21/config/environments/production.rb +8 -0
  89. data/test/environments/rails21/config/environments/test.rb +10 -0
  90. data/test/environments/rails21/config/routes.rb +5 -0
  91. data/test/environments/rails21/db/schema.rb +5 -0
  92. data/test/environments/rails22/Gemfile +29 -0
  93. data/test/environments/rails22/Rakefile +12 -0
  94. data/test/environments/rails22/app/controllers/application.rb +20 -0
  95. data/test/environments/rails22/config/boot.rb +113 -0
  96. data/test/environments/rails22/config/database.yml +31 -0
  97. data/test/environments/rails22/config/environment.rb +27 -0
  98. data/test/environments/rails22/config/environments/development.rb +16 -0
  99. data/test/environments/rails22/config/environments/production.rb +8 -0
  100. data/test/environments/rails22/config/environments/test.rb +10 -0
  101. data/test/environments/rails22/config/routes.rb +5 -0
  102. data/test/environments/rails22/db/schema.rb +5 -0
  103. data/test/environments/rails23/Gemfile +22 -0
  104. data/test/environments/rails23/Rakefile +12 -0
  105. data/test/environments/rails23/app/controllers/application.rb +20 -0
  106. data/test/environments/rails23/config/boot.rb +127 -0
  107. data/test/environments/rails23/config/database.yml +31 -0
  108. data/test/environments/rails23/config/environment.rb +25 -0
  109. data/test/environments/rails23/config/environments/development.rb +16 -0
  110. data/test/environments/rails23/config/environments/production.rb +8 -0
  111. data/test/environments/rails23/config/environments/test.rb +10 -0
  112. data/test/environments/rails23/config/preinitializer.rb +25 -0
  113. data/test/environments/rails23/config/routes.rb +5 -0
  114. data/test/environments/rails23/db/schema.rb +5 -0
  115. data/test/environments/rails30/Gemfile +19 -0
  116. data/test/environments/rails30/Rakefile +9 -0
  117. data/test/environments/rails30/config/application.rb +17 -0
  118. data/test/environments/rails30/config/boot.rb +10 -0
  119. data/test/environments/rails30/config/database.yml +31 -0
  120. data/test/environments/rails30/config/environment.rb +6 -0
  121. data/test/environments/rails30/config/initializers/new_rails_defaults.rb +11 -0
  122. data/test/environments/rails30/db/schema.rb +5 -0
  123. data/test/environments/rails31/Gemfile +19 -0
  124. data/test/environments/rails31/Rakefile +9 -0
  125. data/test/environments/rails31/config/application.rb +18 -0
  126. data/test/environments/rails31/config/boot.rb +10 -0
  127. data/test/environments/rails31/config/database.yml +31 -0
  128. data/test/environments/rails31/config/environment.rb +6 -0
  129. data/test/environments/rails31/config/initializers/new_rails_defaults.rb +21 -0
  130. data/test/environments/rails31/db/schema.rb +5 -0
  131. data/test/environments/rails32/Gemfile +25 -0
  132. data/test/environments/rails32/Rakefile +9 -0
  133. data/test/environments/rails32/config/application.rb +19 -0
  134. data/test/environments/rails32/config/boot.rb +10 -0
  135. data/test/environments/rails32/config/database.yml +31 -0
  136. data/test/environments/rails32/config/environment.rb +6 -0
  137. data/test/environments/rails32/db/schema.rb +5 -0
  138. data/test/environments/rails40/Gemfile +25 -0
  139. data/test/environments/rails40/Rakefile +9 -0
  140. data/test/environments/rails40/config/application.rb +18 -0
  141. data/test/environments/rails40/config/boot.rb +10 -0
  142. data/test/environments/rails40/config/database.yml +31 -0
  143. data/test/environments/rails40/config/environment.rb +6 -0
  144. data/test/environments/rails40/db/schema.rb +5 -0
  145. data/test/multiverse/lib/multiverse/suite.rb +24 -12
  146. data/test/multiverse/suites/agent_only/logging_test.rb +18 -1
  147. data/test/multiverse/suites/agent_only/rum_instrumentation_test.rb +1 -8
  148. data/test/multiverse/suites/agent_only/thread_profiling_test.rb +10 -7
  149. data/test/multiverse/suites/curb/curb_test.rb +17 -3
  150. data/test/multiverse/suites/excon/Envfile +1 -1
  151. data/test/multiverse/suites/excon/excon_test.rb +18 -2
  152. data/test/multiverse/suites/httpclient/httpclient_test.rb +2 -2
  153. data/test/multiverse/suites/net_http/net_http_test.rb +2 -2
  154. data/test/multiverse/suites/rails/error_tracing_test.rb +35 -8
  155. data/test/multiverse/suites/rails/ignore_test.rb +48 -0
  156. data/test/multiverse/suites/rails/mongrel_queue_depth_test.rb +44 -0
  157. data/test/multiverse/suites/sequel/sequel_test.rb +11 -0
  158. data/test/multiverse/suites/sinatra/ignoring_test.rb +2 -2
  159. data/test/multiverse/suites/typhoeus/Envfile +9 -2
  160. data/test/multiverse/suites/typhoeus/typhoeus_test.rb +3 -2
  161. data/test/new_relic/agent/agent/start_test.rb +3 -22
  162. data/test/new_relic/agent/agent_test.rb +6 -5
  163. data/test/new_relic/agent/autostart_test.rb +39 -1
  164. data/test/new_relic/agent/browser_monitoring_test.rb +43 -88
  165. data/test/new_relic/agent/browser_token_test.rb +52 -0
  166. data/test/new_relic/agent/busy_calculator_test.rb +1 -1
  167. data/test/new_relic/agent/commands/agent_command_router_test.rb +98 -0
  168. data/test/new_relic/agent/commands/agent_command_test.rb +37 -0
  169. data/test/new_relic/agent/commands/thread_profiler_test.rb +177 -0
  170. data/test/new_relic/agent/configuration/default_source_test.rb +81 -0
  171. data/test/new_relic/agent/configuration/environment_source_test.rb +81 -7
  172. data/test/new_relic/agent/configuration/manager_test.rb +16 -1
  173. data/test/new_relic/agent/cross_app_monitor_test.rb +3 -5
  174. data/test/new_relic/agent/error_collector_test.rb +14 -0
  175. data/test/new_relic/agent/instrumentation/action_controller_subscriber_test.rb +1 -1
  176. data/test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb +2 -3
  177. data/test/new_relic/agent/instrumentation/active_record_subscriber_test.rb +29 -31
  178. data/test/new_relic/agent/instrumentation/controller_instrumentation_test.rb +22 -0
  179. data/test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb +2 -2
  180. data/test/new_relic/agent/method_tracer_test.rb +2 -2
  181. data/test/new_relic/agent/new_relic_service_test.rb +5 -49
  182. data/test/new_relic/agent/pipe_channel_manager_test.rb +1 -0
  183. data/test/new_relic/agent/request_sampler_test.rb +32 -95
  184. data/test/new_relic/agent/rpm_agent_test.rb +7 -5
  185. data/test/new_relic/agent/sampled_buffer_test.rb +178 -0
  186. data/test/new_relic/agent/stats_engine/metric_stats_test.rb +0 -1
  187. data/test/new_relic/agent/stats_engine_test.rb +10 -17
  188. data/test/new_relic/agent/threading/agent_thread_test.rb +107 -0
  189. data/test/new_relic/agent/threading/backtrace_node_test.rb +96 -0
  190. data/test/new_relic/agent/{threaded_test.rb → threading/fake_thread.rb} +0 -25
  191. data/test/new_relic/agent/threading/thread_profile_test.rb +308 -0
  192. data/test/new_relic/agent/threading/threaded_test_case.rb +33 -0
  193. data/test/new_relic/agent/transaction/pop_test.rb +0 -16
  194. data/test/new_relic/agent/transaction_sample_builder_test.rb +23 -4
  195. data/test/new_relic/agent/transaction_sampler_test.rb +14 -15
  196. data/test/new_relic/agent/transaction_state_test.rb +75 -0
  197. data/test/new_relic/agent/transaction_test.rb +15 -0
  198. data/test/new_relic/agent/transaction_timings_test.rb +81 -0
  199. data/test/new_relic/agent_test.rb +12 -14
  200. data/test/new_relic/{command → cli}/deployments_test.rb +41 -13
  201. data/test/new_relic/control/frameworks/rails_test.rb +1 -2
  202. data/test/new_relic/control_test.rb +1 -2
  203. data/test/new_relic/dependency_detection_test.rb +14 -0
  204. data/test/new_relic/fake_collector.rb +1 -0
  205. data/test/new_relic/helper_test.rb +7 -2
  206. data/test/new_relic/http_client_test_cases.rb +33 -1
  207. data/test/new_relic/local_environment_test.rb +0 -23
  208. data/test/new_relic/metric_data_test.rb +4 -0
  209. data/test/new_relic/rack/browser_monitoring_test.rb +31 -30
  210. data/test/performance/lib/performance/result.rb +15 -4
  211. data/test/performance/lib/performance/timer.rb +7 -1
  212. data/test/performance/script/baselines +102 -0
  213. data/test/performance/suites/rum_autoinsertion.rb +57 -0
  214. data/test/rum/basic.result.html +10 -0
  215. data/test/rum/basic.source.html +10 -0
  216. data/test/rum/comments1.result.html +24 -0
  217. data/test/rum/comments1.source.html +24 -0
  218. data/test/rum/comments2.result.html +24 -0
  219. data/test/rum/comments2.source.html +24 -0
  220. data/test/rum/gt_in_quotes1.result.html +27 -0
  221. data/test/rum/gt_in_quotes1.source.html +27 -0
  222. data/test/rum/gt_in_quotes2.result.html +24 -0
  223. data/test/rum/gt_in_quotes2.source.html +24 -0
  224. data/test/rum/gt_in_quotes_mismatch.result.html +24 -0
  225. data/test/rum/gt_in_quotes_mismatch.source.html +24 -0
  226. data/test/rum/gt_in_single_quotes1.result.html +25 -0
  227. data/test/rum/gt_in_single_quotes1.source.html +25 -0
  228. data/test/rum/gt_in_single_quotes_mismatch.result.html +25 -0
  229. data/test/rum/gt_in_single_quotes_mismatch.source.html +25 -0
  230. data/test/rum/incomplete_non_meta_tags.result.html +10 -0
  231. data/test/rum/incomplete_non_meta_tags.source.html +10 -0
  232. data/test/rum/no_body.result.html +21 -0
  233. data/test/rum/no_body.source.html +21 -0
  234. data/test/rum/no_header.result.html +7 -0
  235. data/test/rum/no_header.source.html +7 -0
  236. data/test/rum/no_start_header.result.html +9 -0
  237. data/test/rum/no_start_header.source.html +9 -0
  238. data/test/rum/script1.result.html +19 -0
  239. data/test/rum/script1.source.html +19 -0
  240. data/test/rum/script2.result.html +17 -0
  241. data/test/rum/script2.source.html +17 -0
  242. data/test/rum/x_ua_meta_tag.result.html +10 -0
  243. data/test/rum/x_ua_meta_tag.source.html +10 -0
  244. data/test/rum/x_ua_meta_tag_multiline.result.html +11 -0
  245. data/test/rum/x_ua_meta_tag_multiline.source.html +11 -0
  246. data/test/rum/x_ua_meta_tag_with_others.result.html +11 -0
  247. data/test/rum/x_ua_meta_tag_with_others.source.html +11 -0
  248. data/test/rum/x_ua_meta_tag_with_spaces.result.html +10 -0
  249. data/test/rum/x_ua_meta_tag_with_spaces.source.html +10 -0
  250. data/test/script/ci.sh +1 -12
  251. data/test/test_helper.rb +1 -0
  252. data/vendor/gems/dependency_detection-0.0.1.build/lib/dependency_detection.rb +11 -0
  253. metadata +225 -32
  254. metadata.gz.sig +0 -0
  255. data/lib/new_relic/agent/configuration/defaults.rb +0 -157
  256. data/lib/new_relic/agent/instrumentation/browser_monitoring_timings.rb +0 -56
  257. data/lib/new_relic/agent/thread.rb +0 -37
  258. data/lib/new_relic/agent/thread_profiler.rb +0 -323
  259. data/lib/new_relic/agent/transaction_info.rb +0 -114
  260. data/lib/new_relic/command.rb +0 -89
  261. data/test/new_relic/agent/agent_test_controller_test.rb +0 -348
  262. data/test/new_relic/agent/instrumentation/browser_monitoring_timings_test.rb +0 -70
  263. data/test/new_relic/agent/thread_profiler_test.rb +0 -586
  264. data/test/new_relic/agent/thread_test.rb +0 -93
  265. data/test/new_relic/agent/transaction_info_test.rb +0 -99
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>|||I AM THE RUM HEADER|||
3
+
4
+ <link href="/>
5
+ <link href=/>
6
+ </head>
7
+ <body>
8
+ Cribbed from the Java agent
9
+ |||I AM THE RUM FOOTER|||</body>
10
+ </html>
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>
3
+
4
+ <link href="/>
5
+ <link href=/>
6
+ </head>
7
+ <body>
8
+ Cribbed from the Java agent
9
+ </body>
10
+ </html>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/>
5
+ <meta http-equiv="Pragma" content="no-cache"/>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
7
+ <meta name="Author" content="DubKnowledge by Nebu B.V."/>
8
+ <meta name="INFO" content="mailto:info@nebu.com"/>
9
+ <meta name="description" content="Nebu B.V. is a software consultancy and developper for commercial organisations. It was founded in 1991. Nebu is active in the following three areas, Consultancy for sales and marketing organisations, Software for sales and marketing and Capi and Cati market research systems."/>
10
+ <meta name="KEYWORDS" content="marketresearch, CAPI, CATI, Webresearch"/>
11
+
12
+ <LINK href="/DubKnowledge/Icons/Nebu/dub.ico" rel="shortcut icon">
13
+ <title>Nebu DubKnowledge System</title>
14
+ <script type="text/javascript">
15
+ </script>
16
+ </head>
17
+ <frameset onload="try{window.frames['menu'].onmainloaded}catch(err){}" cols="172,*" frameborder="no" framespacing="0">
18
+ <frame src="Menu.jsp?action=loginpage" name="menu" noresize frameborder="1" marginwidth="10" marginheight="10"/>
19
+ <frame name="main" noresize frameborder="0" marginwidth="0" marginheight="0"/>
20
+ </frameset>
21
+ </html>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/>
5
+ <meta http-equiv="Pragma" content="no-cache"/>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
7
+ <meta name="Author" content="DubKnowledge by Nebu B.V."/>
8
+ <meta name="INFO" content="mailto:info@nebu.com"/>
9
+ <meta name="description" content="Nebu B.V. is a software consultancy and developper for commercial organisations. It was founded in 1991. Nebu is active in the following three areas, Consultancy for sales and marketing organisations, Software for sales and marketing and Capi and Cati market research systems."/>
10
+ <meta name="KEYWORDS" content="marketresearch, CAPI, CATI, Webresearch"/>
11
+
12
+ <LINK href="/DubKnowledge/Icons/Nebu/dub.ico" rel="shortcut icon">
13
+ <title>Nebu DubKnowledge System</title>
14
+ <script type="text/javascript">
15
+ </script>
16
+ </head>
17
+ <frameset onload="try{window.frames['menu'].onmainloaded}catch(err){}" cols="172,*" frameborder="no" framespacing="0">
18
+ <frame src="Menu.jsp?action=loginpage" name="menu" noresize frameborder="1" marginwidth="10" marginheight="10"/>
19
+ <frame name="main" noresize frameborder="0" marginwidth="0" marginheight="0"/>
20
+ </frameset>
21
+ </html>
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ |||I AM THE RUM HEADER|||<body>
5
+ Cribbed from the Java agent
6
+ |||I AM THE RUM FOOTER|||</body>
7
+ </html>
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <body>
5
+ Cribbed from the Java agent
6
+ </body>
7
+ </html>
@@ -0,0 +1,9 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+
5
+ </head>
6
+ |||I AM THE RUM HEADER|||<body>
7
+ Cribbed from the Java agent
8
+ |||I AM THE RUM FOOTER|||</body>
9
+ </html>
@@ -0,0 +1,9 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+
5
+ </head>
6
+ <body>
7
+ Cribbed from the Java agent
8
+ </body>
9
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>|||I AM THE RUM HEADER|||
5
+
6
+ <anotherTag>Castor
7
+ </anotherTag>
8
+ </head>
9
+ <body>
10
+ <script language="javascript" >
11
+ var strFrameInfoWrapper = "";
12
+ strFrameInfoWrapper+= "<body style='overflow-y:hidden;padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;' >";
13
+ strFrameInfoWrapper+= "<div id='communicationsButton' style='display:none; position: absolute; z-index: 9999; right:0px; top:-2px; cursor: hand;'>";
14
+ strFrameInfoWrapper+= "</div>";
15
+ strFrameInfoWrapper+= "</body>";
16
+ </script>
17
+ |||I AM THE RUM FOOTER|||</body>
18
+
19
+ </html>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+
6
+ <anotherTag>Castor
7
+ </anotherTag>
8
+ </head>
9
+ <body>
10
+ <script language="javascript" >
11
+ var strFrameInfoWrapper = "";
12
+ strFrameInfoWrapper+= "<body style='overflow-y:hidden;padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;' >";
13
+ strFrameInfoWrapper+= "<div id='communicationsButton' style='display:none; position: absolute; z-index: 9999; right:0px; top:-2px; cursor: hand;'>";
14
+ strFrameInfoWrapper+= "</div>";
15
+ strFrameInfoWrapper+= "</body>";
16
+ </script>
17
+ </body>
18
+
19
+ </html>
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>|||I AM THE RUM HEADER|||
5
+ <title>Castor</title>
6
+ </head>
7
+ <body>
8
+ <script language="javascript" >
9
+ var strFrameInfoWrapper = "";
10
+ strFrameInfoWrapper+= "<body style='overflow-y:hidden;padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;' >";
11
+ strFrameInfoWrapper+= "<div id='communicationsButton' style='display:none; position: absolute; z-index: 9999; right:0px; top:-2px; cursor: hand;'>";
12
+ strFrameInfoWrapper+= "</div>";
13
+ strFrameInfoWrapper+= "</body>";
14
+ </script>
15
+ |||I AM THE RUM FOOTER|||</body>
16
+
17
+ </html>
@@ -0,0 +1,17 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <title>Castor</title>
6
+ </head>
7
+ <body>
8
+ <script language="javascript" >
9
+ var strFrameInfoWrapper = "";
10
+ strFrameInfoWrapper+= "<body style='overflow-y:hidden;padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;' >";
11
+ strFrameInfoWrapper+= "<div id='communicationsButton' style='display:none; position: absolute; z-index: 9999; right:0px; top:-2px; cursor: hand;'>";
12
+ strFrameInfoWrapper+= "</div>";
13
+ strFrameInfoWrapper+= "</body>";
14
+ </script>
15
+ </body>
16
+
17
+ </html>
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM HEADER|||
5
+ <script>
6
+ junk
7
+ </script>
8
+ </head>
9
+ <body>im some body text|||I AM THE RUM FOOTER|||</body>
10
+ </html>
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
5
+ <script>
6
+ junk
7
+ </script>
8
+ </head>
9
+ <body>im some body text</body>
10
+ </html>
@@ -0,0 +1,11 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <META http-equiv='x-ua-compatible'
5
+ content="IE=edge,chrome=1" />|||I AM THE RUM HEADER|||
6
+ <script>
7
+ junk
8
+ </script>
9
+ </head>
10
+ <body>im some body text|||I AM THE RUM FOOTER|||</body>
11
+ </html>
@@ -0,0 +1,11 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <META http-equiv='x-ua-compatible'
5
+ content="IE=edge,chrome=1" />
6
+ <script>
7
+ junk
8
+ </script>
9
+ </head>
10
+ <body>im some body text</body>
11
+ </html>
@@ -0,0 +1,11 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>|||I AM THE RUM HEADER|||
5
+ <meta name="keywords" content="testing,rum,insertion" >
6
+ <script>
7
+ junk
8
+ </script>
9
+ </head>
10
+ <body>im some body text|||I AM THE RUM FOOTER|||</body>
11
+ </html>
@@ -0,0 +1,11 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
5
+ <meta name="keywords" content="testing,rum,insertion" >
6
+ <script>
7
+ junk
8
+ </script>
9
+ </head>
10
+ <body>im some body text</body>
11
+ </html>
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <META http-equiv='x-ua-compatible' content="IE=edge,chrome=1" />|||I AM THE RUM HEADER|||
5
+ <script>
6
+ junk
7
+ </script>
8
+ </head>
9
+ <body>im some body text|||I AM THE RUM FOOTER|||</body>
10
+ </html>
@@ -0,0 +1,10 @@
1
+ <html>
2
+ <head>
3
+ <title>im a title</title>
4
+ <META http-equiv='x-ua-compatible' content="IE=edge,chrome=1" />
5
+ <script>
6
+ junk
7
+ </script>
8
+ </head>
9
+ <body>im some body text</body>
10
+ </html>
data/test/script/ci.sh CHANGED
@@ -169,15 +169,4 @@ bundle -v
169
169
 
170
170
  export RAILS_ENV=test
171
171
  bundle --local || bundle
172
-
173
- # FIXME: Here we actually trigger the tests. Since the agent deals so heavily
174
- # in units of time we have many tests that assert that durations are measured
175
- # correctly. These almost always pass, but as the CI machine has come under
176
- # heavier load there tend to be discrepencies between the duration measured in
177
- # the test and the duration the agent measures. This is due to lags in CPU
178
- # scheduling since many processes are running on the box simultaneously.
179
- # To reduce the noise from these sporardic failures we rerun the test suite if
180
- # there are failures to see if they are transient (instead of re-running it by
181
- # hand). Ultimately we'll move towards a more elegant solution.
182
-
183
- bundle exec rake --trace db:create:all test:newrelic || bundle exec rake --trace test:newrelic
172
+ bundle exec rake --trace db:create:all test:newrelic
data/test/test_helper.rb CHANGED
@@ -87,6 +87,7 @@ def default_service(stubbed_method_overrides = {})
87
87
  :transaction_sample_data => nil,
88
88
  :sql_trace_data => nil,
89
89
  :get_agent_commands => [],
90
+ :agent_command_results => nil,
90
91
  :analytic_event_data => nil
91
92
  }
92
93
 
@@ -6,10 +6,21 @@ require 'dependency_detection/version'
6
6
  module DependencyDetection
7
7
 
8
8
  module_function
9
+
9
10
  @items = []
11
+
10
12
  def defer(&block)
11
13
  item = Dependent.new
12
14
  item.instance_eval(&block)
15
+
16
+ if item.name
17
+ seen_names = @items.map { |i| i.name }.compact
18
+ if seen_names.include?(item.name)
19
+ NewRelic::Agent.logger.warn("Refusing to re-register DependencyDetection block with name '#{item.name}'")
20
+ return @items
21
+ end
22
+ end
23
+
13
24
  @items << item
14
25
  end
15
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.6.147
4
+ version: 3.6.7.152
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jason Clark
9
9
  - Sam Goldstein
10
10
  - Michael Granger
11
- - Jon Guymon
11
+ - Jonan Scheffler
12
12
  - Ben Weintraub
13
13
  autorequire:
14
14
  bindir: bin
@@ -41,7 +41,7 @@ cert_chain:
41
41
  cHUySWFQWE92bTNUOEc0TzZxWnZobkxoL1VpZW4rK0RqOGVGQmVjVFBvTThw
42
42
  VmpLM3BoNQpuL0V3dVpDY0U2Z2h0Q0NNCi0tLS0tRU5EIENFUlRJRklDQVRF
43
43
  LS0tLS0K
44
- date: 2013-07-25 00:00:00.000000000 Z
44
+ date: 2013-09-05 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
@@ -171,6 +171,70 @@ dependencies:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
173
  version: 3.46.0
174
+ - !ruby/object:Gem::Dependency
175
+ name: pry
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ - !ruby/object:Gem::Dependency
191
+ name: guard
192
+ requirement: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ type: :development
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ - !ruby/object:Gem::Dependency
207
+ name: guard-test
208
+ requirement: !ruby/object:Gem::Requirement
209
+ none: false
210
+ requirements:
211
+ - - ! '>='
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ type: :development
215
+ prerelease: false
216
+ version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ - !ruby/object:Gem::Dependency
223
+ name: rb-fsevent
224
+ requirement: !ruby/object:Gem::Requirement
225
+ none: false
226
+ requirements:
227
+ - - ~>
228
+ - !ruby/object:Gem::Version
229
+ version: 0.9.1
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ~>
236
+ - !ruby/object:Gem::Version
237
+ version: 0.9.1
174
238
  description: ! 'New Relic is a performance management system, developed by New Relic,
175
239
 
176
240
  Inc (http://www.newrelic.com). New Relic provides you with deep
@@ -204,6 +268,7 @@ files:
204
268
  - CHANGELOG
205
269
  - GUIDELINES_FOR_CONTRIBUTING.md
206
270
  - Gemfile
271
+ - Guardfile
207
272
  - LICENSE
208
273
  - README.md
209
274
  - Rakefile
@@ -228,10 +293,14 @@ files:
228
293
  - lib/new_relic/agent/autostart.rb
229
294
  - lib/new_relic/agent/beacon_configuration.rb
230
295
  - lib/new_relic/agent/browser_monitoring.rb
296
+ - lib/new_relic/agent/browser_token.rb
231
297
  - lib/new_relic/agent/busy_calculator.rb
232
298
  - lib/new_relic/agent/chained_call.rb
299
+ - lib/new_relic/agent/commands/agent_command.rb
300
+ - lib/new_relic/agent/commands/agent_command_router.rb
301
+ - lib/new_relic/agent/commands/thread_profiler.rb
233
302
  - lib/new_relic/agent/configuration.rb
234
- - lib/new_relic/agent/configuration/defaults.rb
303
+ - lib/new_relic/agent/configuration/default_source.rb
235
304
  - lib/new_relic/agent/configuration/environment_source.rb
236
305
  - lib/new_relic/agent/configuration/manager.rb
237
306
  - lib/new_relic/agent/configuration/mask_defaults.rb
@@ -253,11 +322,11 @@ files:
253
322
  - lib/new_relic/agent/instrumentation/action_view_subscriber.rb
254
323
  - lib/new_relic/agent/instrumentation/active_merchant.rb
255
324
  - lib/new_relic/agent/instrumentation/active_record.rb
325
+ - lib/new_relic/agent/instrumentation/active_record_4.rb
256
326
  - lib/new_relic/agent/instrumentation/active_record_helper.rb
257
327
  - lib/new_relic/agent/instrumentation/active_record_subscriber.rb
258
328
  - lib/new_relic/agent/instrumentation/acts_as_solr.rb
259
329
  - lib/new_relic/agent/instrumentation/authlogic.rb
260
- - lib/new_relic/agent/instrumentation/browser_monitoring_timings.rb
261
330
  - lib/new_relic/agent/instrumentation/controller_instrumentation.rb
262
331
  - lib/new_relic/agent/instrumentation/curb.rb
263
332
  - lib/new_relic/agent/instrumentation/data_mapper.rb
@@ -284,7 +353,6 @@ files:
284
353
  - lib/new_relic/agent/instrumentation/rails3/errors.rb
285
354
  - lib/new_relic/agent/instrumentation/rails4/action_controller.rb
286
355
  - lib/new_relic/agent/instrumentation/rails4/action_view.rb
287
- - lib/new_relic/agent/instrumentation/rails4/active_record.rb
288
356
  - lib/new_relic/agent/instrumentation/rails4/errors.rb
289
357
  - lib/new_relic/agent/instrumentation/rainbows_instrumentation.rb
290
358
  - lib/new_relic/agent/instrumentation/resque.rb
@@ -304,6 +372,7 @@ files:
304
372
  - lib/new_relic/agent/pipe_service.rb
305
373
  - lib/new_relic/agent/request_sampler.rb
306
374
  - lib/new_relic/agent/rules_engine.rb
375
+ - lib/new_relic/agent/sampled_buffer.rb
307
376
  - lib/new_relic/agent/sampler.rb
308
377
  - lib/new_relic/agent/sampler_collection.rb
309
378
  - lib/new_relic/agent/samplers/cpu_sampler.rb
@@ -320,19 +389,21 @@ files:
320
389
  - lib/new_relic/agent/stats_engine/stats_hash.rb
321
390
  - lib/new_relic/agent/stats_engine/transactions.rb
322
391
  - lib/new_relic/agent/system_info.rb
323
- - lib/new_relic/agent/thread.rb
324
- - lib/new_relic/agent/thread_profiler.rb
392
+ - lib/new_relic/agent/threading/agent_thread.rb
393
+ - lib/new_relic/agent/threading/backtrace_node.rb
394
+ - lib/new_relic/agent/threading/thread_profile.rb
325
395
  - lib/new_relic/agent/transaction.rb
326
396
  - lib/new_relic/agent/transaction/pop.rb
327
- - lib/new_relic/agent/transaction_info.rb
328
397
  - lib/new_relic/agent/transaction_sample_builder.rb
329
398
  - lib/new_relic/agent/transaction_sampler.rb
399
+ - lib/new_relic/agent/transaction_state.rb
400
+ - lib/new_relic/agent/transaction_timings.rb
330
401
  - lib/new_relic/agent/worker_loop.rb
402
+ - lib/new_relic/cli/command.rb
403
+ - lib/new_relic/cli/deployments.rb
404
+ - lib/new_relic/cli/install.rb
331
405
  - lib/new_relic/coerce.rb
332
406
  - lib/new_relic/collection_helper.rb
333
- - lib/new_relic/command.rb
334
- - lib/new_relic/commands/deployments.rb
335
- - lib/new_relic/commands/install.rb
336
407
  - lib/new_relic/control.rb
337
408
  - lib/new_relic/control/class_methods.rb
338
409
  - lib/new_relic/control/frameworks.rb
@@ -392,6 +463,74 @@ files:
392
463
  - test/config/test.cert.key
393
464
  - test/config/test_control.rb
394
465
  - test/config/testing-privkey.pem
466
+ - test/environments/.gitignore
467
+ - test/environments/lib/environments/runner.rb
468
+ - test/environments/norails/Gemfile
469
+ - test/environments/norails/Rakefile
470
+ - test/environments/rails21/Gemfile
471
+ - test/environments/rails21/Rakefile
472
+ - test/environments/rails21/app/controllers/application.rb
473
+ - test/environments/rails21/config/boot.rb
474
+ - test/environments/rails21/config/database.yml
475
+ - test/environments/rails21/config/environment.rb
476
+ - test/environments/rails21/config/environments/development.rb
477
+ - test/environments/rails21/config/environments/production.rb
478
+ - test/environments/rails21/config/environments/test.rb
479
+ - test/environments/rails21/config/routes.rb
480
+ - test/environments/rails21/db/schema.rb
481
+ - test/environments/rails22/Gemfile
482
+ - test/environments/rails22/Rakefile
483
+ - test/environments/rails22/app/controllers/application.rb
484
+ - test/environments/rails22/config/boot.rb
485
+ - test/environments/rails22/config/database.yml
486
+ - test/environments/rails22/config/environment.rb
487
+ - test/environments/rails22/config/environments/development.rb
488
+ - test/environments/rails22/config/environments/production.rb
489
+ - test/environments/rails22/config/environments/test.rb
490
+ - test/environments/rails22/config/routes.rb
491
+ - test/environments/rails22/db/schema.rb
492
+ - test/environments/rails23/Gemfile
493
+ - test/environments/rails23/Rakefile
494
+ - test/environments/rails23/app/controllers/application.rb
495
+ - test/environments/rails23/config/boot.rb
496
+ - test/environments/rails23/config/database.yml
497
+ - test/environments/rails23/config/environment.rb
498
+ - test/environments/rails23/config/environments/development.rb
499
+ - test/environments/rails23/config/environments/production.rb
500
+ - test/environments/rails23/config/environments/test.rb
501
+ - test/environments/rails23/config/preinitializer.rb
502
+ - test/environments/rails23/config/routes.rb
503
+ - test/environments/rails23/db/schema.rb
504
+ - test/environments/rails30/Gemfile
505
+ - test/environments/rails30/Rakefile
506
+ - test/environments/rails30/config/application.rb
507
+ - test/environments/rails30/config/boot.rb
508
+ - test/environments/rails30/config/database.yml
509
+ - test/environments/rails30/config/environment.rb
510
+ - test/environments/rails30/config/initializers/new_rails_defaults.rb
511
+ - test/environments/rails30/db/schema.rb
512
+ - test/environments/rails31/Gemfile
513
+ - test/environments/rails31/Rakefile
514
+ - test/environments/rails31/config/application.rb
515
+ - test/environments/rails31/config/boot.rb
516
+ - test/environments/rails31/config/database.yml
517
+ - test/environments/rails31/config/environment.rb
518
+ - test/environments/rails31/config/initializers/new_rails_defaults.rb
519
+ - test/environments/rails31/db/schema.rb
520
+ - test/environments/rails32/Gemfile
521
+ - test/environments/rails32/Rakefile
522
+ - test/environments/rails32/config/application.rb
523
+ - test/environments/rails32/config/boot.rb
524
+ - test/environments/rails32/config/database.yml
525
+ - test/environments/rails32/config/environment.rb
526
+ - test/environments/rails32/db/schema.rb
527
+ - test/environments/rails40/Gemfile
528
+ - test/environments/rails40/Rakefile
529
+ - test/environments/rails40/config/application.rb
530
+ - test/environments/rails40/config/boot.rb
531
+ - test/environments/rails40/config/database.yml
532
+ - test/environments/rails40/config/environment.rb
533
+ - test/environments/rails40/db/schema.rb
395
534
  - test/fixtures/proc_cpuinfo.txt
396
535
  - test/intentional_fail.rb
397
536
  - test/multiverse/.gitignore
@@ -461,6 +600,8 @@ files:
461
600
  - test/multiverse/suites/rails/config/newrelic.yml
462
601
  - test/multiverse/suites/rails/error_tracing_test.rb
463
602
  - test/multiverse/suites/rails/gc_instrumentation_test.rb
603
+ - test/multiverse/suites/rails/ignore_test.rb
604
+ - test/multiverse/suites/rails/mongrel_queue_depth_test.rb
464
605
  - test/multiverse/suites/rails/queue_time_test.rb
465
606
  - test/multiverse/suites/rails/request_statistics_test.rb
466
607
  - test/multiverse/suites/rails/view_instrumentation_test.rb
@@ -506,13 +647,17 @@ files:
506
647
  - test/new_relic/agent/agent_logger_test.rb
507
648
  - test/new_relic/agent/agent_test.rb
508
649
  - test/new_relic/agent/agent_test_controller.rb
509
- - test/new_relic/agent/agent_test_controller_test.rb
510
650
  - test/new_relic/agent/apdex_from_server_test.rb
511
651
  - test/new_relic/agent/audit_logger_test.rb
512
652
  - test/new_relic/agent/autostart_test.rb
513
653
  - test/new_relic/agent/beacon_configuration_test.rb
514
654
  - test/new_relic/agent/browser_monitoring_test.rb
655
+ - test/new_relic/agent/browser_token_test.rb
515
656
  - test/new_relic/agent/busy_calculator_test.rb
657
+ - test/new_relic/agent/commands/agent_command_router_test.rb
658
+ - test/new_relic/agent/commands/agent_command_test.rb
659
+ - test/new_relic/agent/commands/thread_profiler_test.rb
660
+ - test/new_relic/agent/configuration/default_source_test.rb
516
661
  - test/new_relic/agent/configuration/environment_source_test.rb
517
662
  - test/new_relic/agent/configuration/manager_test.rb
518
663
  - test/new_relic/agent/configuration/server_source_test.rb
@@ -528,7 +673,6 @@ files:
528
673
  - test/new_relic/agent/instrumentation/active_record_helper_test.rb
529
674
  - test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb
530
675
  - test/new_relic/agent/instrumentation/active_record_subscriber_test.rb
531
- - test/new_relic/agent/instrumentation/browser_monitoring_timings_test.rb
532
676
  - test/new_relic/agent/instrumentation/controller_instrumentation_test.rb
533
677
  - test/new_relic/agent/instrumentation/instrumentation_test.rb
534
678
  - test/new_relic/agent/instrumentation/metric_frame_test.rb
@@ -552,6 +696,7 @@ files:
552
696
  - test/new_relic/agent/request_sampler_test.rb
553
697
  - test/new_relic/agent/rpm_agent_test.rb
554
698
  - test/new_relic/agent/rules_engine_test.rb
699
+ - test/new_relic/agent/sampled_buffer_test.rb
555
700
  - test/new_relic/agent/sampler_collection_test.rb
556
701
  - test/new_relic/agent/sampler_test.rb
557
702
  - test/new_relic/agent/shim_agent_test.rb
@@ -562,20 +707,23 @@ files:
562
707
  - test/new_relic/agent/stats_engine_test.rb
563
708
  - test/new_relic/agent/stats_hash_test.rb
564
709
  - test/new_relic/agent/stats_test.rb
565
- - test/new_relic/agent/thread_profiler_test.rb
566
- - test/new_relic/agent/thread_test.rb
567
- - test/new_relic/agent/threaded_test.rb
710
+ - test/new_relic/agent/threading/agent_thread_test.rb
711
+ - test/new_relic/agent/threading/backtrace_node_test.rb
712
+ - test/new_relic/agent/threading/fake_thread.rb
713
+ - test/new_relic/agent/threading/thread_profile_test.rb
714
+ - test/new_relic/agent/threading/threaded_test_case.rb
568
715
  - test/new_relic/agent/transaction/pop_test.rb
569
- - test/new_relic/agent/transaction_info_test.rb
570
716
  - test/new_relic/agent/transaction_interrobang_test.rb
571
717
  - test/new_relic/agent/transaction_sample_builder_test.rb
572
718
  - test/new_relic/agent/transaction_sampler_test.rb
719
+ - test/new_relic/agent/transaction_state_test.rb
573
720
  - test/new_relic/agent/transaction_test.rb
721
+ - test/new_relic/agent/transaction_timings_test.rb
574
722
  - test/new_relic/agent/worker_loop_test.rb
575
723
  - test/new_relic/agent_test.rb
724
+ - test/new_relic/cli/deployments_test.rb
576
725
  - test/new_relic/coerce_test.rb
577
726
  - test/new_relic/collection_helper_test.rb
578
- - test/new_relic/command/deployments_test.rb
579
727
  - test/new_relic/control/class_methods_test.rb
580
728
  - test/new_relic/control/frameworks/rails_test.rb
581
729
  - test/new_relic/control_test.rb
@@ -628,10 +776,48 @@ files:
628
776
  - test/performance/lib/performance/runner.rb
629
777
  - test/performance/lib/performance/test_case.rb
630
778
  - test/performance/lib/performance/timer.rb
779
+ - test/performance/script/baselines
631
780
  - test/performance/script/mega-runner
632
781
  - test/performance/script/runner
782
+ - test/performance/suites/rum_autoinsertion.rb
633
783
  - test/performance/suites/startup.rb
634
784
  - test/performance/suites/transaction_tracing.rb
785
+ - test/rum/basic.result.html
786
+ - test/rum/basic.source.html
787
+ - test/rum/comments1.result.html
788
+ - test/rum/comments1.source.html
789
+ - test/rum/comments2.result.html
790
+ - test/rum/comments2.source.html
791
+ - test/rum/gt_in_quotes1.result.html
792
+ - test/rum/gt_in_quotes1.source.html
793
+ - test/rum/gt_in_quotes2.result.html
794
+ - test/rum/gt_in_quotes2.source.html
795
+ - test/rum/gt_in_quotes_mismatch.result.html
796
+ - test/rum/gt_in_quotes_mismatch.source.html
797
+ - test/rum/gt_in_single_quotes1.result.html
798
+ - test/rum/gt_in_single_quotes1.source.html
799
+ - test/rum/gt_in_single_quotes_mismatch.result.html
800
+ - test/rum/gt_in_single_quotes_mismatch.source.html
801
+ - test/rum/incomplete_non_meta_tags.result.html
802
+ - test/rum/incomplete_non_meta_tags.source.html
803
+ - test/rum/no_body.result.html
804
+ - test/rum/no_body.source.html
805
+ - test/rum/no_header.result.html
806
+ - test/rum/no_header.source.html
807
+ - test/rum/no_start_header.result.html
808
+ - test/rum/no_start_header.source.html
809
+ - test/rum/script1.result.html
810
+ - test/rum/script1.source.html
811
+ - test/rum/script2.result.html
812
+ - test/rum/script2.source.html
813
+ - test/rum/x_ua_meta_tag.result.html
814
+ - test/rum/x_ua_meta_tag.source.html
815
+ - test/rum/x_ua_meta_tag_multiline.result.html
816
+ - test/rum/x_ua_meta_tag_multiline.source.html
817
+ - test/rum/x_ua_meta_tag_with_others.result.html
818
+ - test/rum/x_ua_meta_tag_with_others.source.html
819
+ - test/rum/x_ua_meta_tag_with_spaces.result.html
820
+ - test/rum/x_ua_meta_tag_with_spaces.source.html
635
821
  - test/script/build_test_gem.sh
636
822
  - test/script/ci.sh
637
823
  - test/script/ci_agent-tests_runner.sh
@@ -719,19 +905,26 @@ files:
719
905
  - lib/new_relic/build.rb
720
906
  homepage: http://www.github.com/newrelic/rpm
721
907
  licenses: []
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"
908
+ post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.7 ##\n\n*
909
+ Resque-pool support\n\n Resque processes started via the resque-pool gem weren't
910
+ recognized by the\n Ruby agent. The agent now starts correctly in those worker
911
+ processes.\n\n* Environment-based configuration\n\n All settings in newrelic.yml
912
+ can now be configured via environment variables.\n See https://newrelic.com/docs/ruby/ruby-agent-configuration
913
+ for full details.\n\n* Fix compatibility issues with excon and curb instrumentation\n\n
914
+ \ This release of the agent fixes a warning seen under certain circumstances\n with
915
+ the excon gem (most notably, when excon was used by fog), as well as\n a bug with
916
+ the curb instrumentation that conflicted with the feedzirra gem.\n\n* Allow license
917
+ key to be set by Capistrano variables\n\n A license key can be passed via a Capistrano
918
+ variable where previously it\n could only be in newrelic.yml. Thanks Chris Marshall
919
+ for the contribution!\n\n* Make HTTP client instrumentation aware of \"Host\" request
920
+ header\n\n If a \"Host\" header is set explicitly on an HTTP request, that hostname
921
+ will\n be used for external metrics. Thanks Mislav Marohnić for the contribution!\n\n*
922
+ Fix ActiveSupport::Concern warnings with MethodTracer\n\n Including NewRelic::Agent::MethodTracer
923
+ in a class using Concerns could cause\n deprecation warnings. Thanks Mike Połtyn
924
+ for the contribution!\n\n* Fix Authlogic constant name\n\n Code checking for the
925
+ Authlogic module was using in the wrong case. Thanks\n Dharam Gollapudi for the
926
+ contribution!\n\nSee https://github.com/newrelic/rpm/blob/master/CHANGELOG for a
927
+ full list of\nchanges.\n"
735
928
  rdoc_options:
736
929
  - --line-numbers
737
930
  - --inline-source