newrelic_rpm 3.6.8.168 → 3.6.9.171
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gitignore +1 -0
- data/.yardopts +17 -0
- data/CHANGELOG +48 -0
- data/README.md +8 -6
- data/lib/new_relic/agent.rb +65 -17
- data/lib/new_relic/agent/agent.rb +42 -113
- data/lib/new_relic/agent/browser_monitoring.rb +9 -1
- data/lib/new_relic/agent/configuration/default_source.rb +12 -0
- data/lib/new_relic/agent/error_collector.rb +13 -6
- data/lib/new_relic/agent/instrumentation/active_record_subscriber.rb +5 -5
- data/lib/new_relic/agent/instrumentation/controller_instrumentation.rb +15 -0
- data/lib/new_relic/agent/instrumentation/curb.rb +2 -2
- data/lib/new_relic/agent/instrumentation/metric_frame.rb +2 -2
- data/lib/new_relic/agent/instrumentation/rack.rb +2 -0
- data/lib/new_relic/agent/instrumentation/resque.rb +9 -3
- data/lib/new_relic/agent/instrumentation/sidekiq.rb +5 -0
- data/lib/new_relic/agent/method_tracer.rb +45 -27
- data/lib/new_relic/agent/new_relic_service.rb +14 -6
- data/lib/new_relic/agent/pipe_service.rb +1 -1
- data/lib/new_relic/agent/request_sampler.rb +10 -7
- data/lib/new_relic/agent/rules_engine.rb +5 -0
- data/lib/new_relic/agent/samplers/object_sampler.rb +1 -1
- data/lib/new_relic/agent/sql_sampler.rb +4 -2
- data/lib/new_relic/agent/stats_engine.rb +3 -0
- data/lib/new_relic/agent/stats_engine/gc_profiler.rb +17 -7
- data/lib/new_relic/agent/stats_engine/metric_stats.rb +5 -7
- data/lib/new_relic/agent/stats_engine/stats_hash.rb +2 -0
- data/lib/new_relic/agent/supported_versions.rb +247 -0
- data/lib/new_relic/agent/threading/backtrace_service.rb +1 -1
- data/lib/new_relic/agent/threading/thread_profile.rb +2 -1
- data/lib/new_relic/agent/transaction.rb +7 -6
- data/lib/new_relic/agent/transaction/developer_mode_sample_buffer.rb +11 -5
- data/lib/new_relic/agent/transaction/force_persist_sample_buffer.rb +3 -3
- data/lib/new_relic/agent/transaction/slowest_sample_buffer.rb +3 -3
- data/lib/new_relic/agent/transaction/transaction_sample_buffer.rb +23 -4
- data/lib/new_relic/agent/transaction/xray_sample_buffer.rb +4 -4
- data/lib/new_relic/agent/transaction_sampler.rb +14 -18
- data/lib/new_relic/agent/worker_loop.rb +1 -0
- data/lib/new_relic/control.rb +1 -0
- data/lib/new_relic/control/instance_methods.rb +0 -1
- data/lib/new_relic/helper.rb +1 -2
- data/lib/new_relic/language_support.rb +12 -2
- data/lib/new_relic/local_environment.rb +12 -11
- data/lib/new_relic/rack.rb +9 -0
- data/lib/new_relic/rack/agent_hooks.rb +6 -0
- data/lib/new_relic/rack/browser_monitoring.rb +9 -2
- data/lib/new_relic/rack/developer_mode.rb +15 -1
- data/lib/new_relic/rack/error_collector.rb +7 -0
- data/lib/new_relic/recipes.rb +2 -0
- data/lib/new_relic/transaction_sample.rb +39 -48
- data/lib/new_relic/version.rb +1 -1
- data/lib/tasks/install.rake +44 -2
- data/lib/tasks/versions.html.erb +31 -0
- data/lib/tasks/versions.rake +52 -0
- data/lib/tasks/versions.txt.erb +14 -0
- data/newrelic_rpm.gemspec +4 -2
- data/test/agent_helper.rb +21 -1
- data/test/environments/lib/environments/runner.rb +19 -5
- data/test/environments/norails/Gemfile +4 -1
- data/test/environments/rails21/Gemfile +4 -6
- data/test/environments/rails21/Rakefile +4 -0
- data/test/environments/rails21/config/database.yml +2 -7
- data/test/environments/rails22/Gemfile +6 -13
- data/test/environments/rails22/Rakefile +4 -0
- data/test/environments/rails22/config/database.yml +2 -7
- data/test/environments/rails22/config/environment.rb +1 -1
- data/test/environments/rails23/Gemfile +3 -4
- data/test/environments/rails23/Rakefile +4 -0
- data/test/environments/rails23/config/database.yml +2 -7
- data/test/environments/rails30/Gemfile +2 -4
- data/test/environments/rails30/Rakefile +2 -0
- data/test/environments/rails30/config/database.yml +2 -7
- data/test/environments/rails31/Gemfile +2 -4
- data/test/environments/rails31/Rakefile +2 -0
- data/test/environments/rails31/config/database.yml +2 -7
- data/test/environments/rails32/Gemfile +2 -5
- data/test/environments/rails32/Rakefile +2 -0
- data/test/environments/rails32/config/database.yml +1 -1
- data/test/environments/rails40/Gemfile +7 -4
- data/test/environments/rails40/Rakefile +2 -0
- data/test/environments/rails40/config/database.yml +2 -7
- data/test/helpers/runtime_detection.rb +17 -0
- data/test/multiverse/lib/multiverse/suite.rb +20 -4
- data/test/multiverse/suites/agent_only/key_transactions_test.rb +1 -1
- data/test/multiverse/suites/agent_only/marshaling_test.rb +1 -1
- data/test/multiverse/suites/agent_only/thread_profiling_test.rb +32 -7
- data/test/multiverse/suites/agent_only/xray_sessions_test.rb +1 -0
- data/test/multiverse/suites/config_file_loading/config_file_loading_test.rb +4 -3
- data/test/multiverse/suites/curb/curb_test.rb +8 -0
- data/test/multiverse/suites/excon/excon_test.rb +8 -0
- data/test/multiverse/suites/httpclient/httpclient_test.rb +8 -0
- data/test/multiverse/suites/net_http/net_http_test.rb +8 -0
- data/test/multiverse/suites/padrino/Envfile +3 -2
- data/test/multiverse/suites/rails/gc_instrumentation_test.rb +17 -8
- data/test/multiverse/suites/resque/Envfile +3 -3
- data/test/multiverse/suites/resque/instrumentation_test.rb +47 -5
- data/test/multiverse/suites/sequel/Envfile +0 -3
- data/test/multiverse/suites/sequel/database.rb +53 -0
- data/test/{new_relic/agent/instrumentation/sequel_test.rb → multiverse/suites/sequel/sequel_instrumentation_test.rb} +12 -53
- data/test/multiverse/suites/sequel/{sequel_test.rb → sequel_safety_test.rb} +2 -17
- data/test/multiverse/suites/sidekiq/sidekiq_instrumentation_test.rb +50 -5
- data/test/multiverse/suites/sinatra/sinatra_metric_explosion_test.rb +15 -2
- data/test/multiverse/suites/typhoeus/typhoeus_test.rb +8 -0
- data/test/new_relic/agent/agent/connect_test.rb +3 -2
- data/test/new_relic/agent/agent_test.rb +89 -82
- data/test/new_relic/agent/browser_monitoring_test.rb +44 -1
- data/test/new_relic/agent/error_collector_test.rb +17 -20
- data/test/new_relic/agent/instrumentation/active_record_instrumentation_test.rb +13 -10
- data/test/new_relic/agent/instrumentation/active_record_subscriber_test.rb +16 -1
- data/test/new_relic/agent/instrumentation/task_instrumentation_test.rb +2 -2
- data/test/new_relic/agent/method_tracer/instance_methods/trace_execution_scoped_test.rb +1 -1
- data/test/new_relic/agent/new_relic_service_test.rb +78 -9
- data/test/new_relic/agent/pipe_channel_manager_test.rb +7 -9
- data/test/new_relic/agent/pipe_service_test.rb +4 -4
- data/test/new_relic/agent/request_sampler_test.rb +2 -2
- data/test/new_relic/agent/stats_engine/gc_profiler_test.rb +15 -35
- data/test/new_relic/agent/stats_engine/metric_stats_test.rb +15 -7
- data/test/new_relic/agent/stats_engine_test.rb +4 -3
- data/test/new_relic/agent/threading/backtrace_service_test.rb +2 -0
- data/test/new_relic/agent/threading/thread_profile_test.rb +19 -0
- data/test/new_relic/agent/transaction/developer_mode_sample_buffer_test.rb +4 -4
- data/test/new_relic/agent/transaction/force_persist_sample_buffer_test.rb +1 -1
- data/test/new_relic/agent/transaction_sampler_test.rb +60 -45
- data/test/new_relic/fake_collector.rb +37 -2
- data/test/new_relic/http_client_test_cases.rb +26 -1
- data/test/new_relic/language_support_test.rb +12 -31
- data/test/new_relic/local_environment_test.rb +6 -2
- data/test/new_relic/multiverse_helpers.rb +2 -5
- data/test/new_relic/transaction_sample_test.rb +57 -36
- data/test/performance/suites/config.rb +76 -0
- data/test/rum/no_html_and_no_header.result.html +3 -0
- data/test/rum/no_html_and_no_header.source.html +3 -0
- data/test/script/ci.sh +0 -2
- data/test/test_helper.rb +5 -0
- metadata +43 -26
- metadata.gz.sig +0 -0
data/test/test_helper.rb
CHANGED
@@ -15,6 +15,10 @@ $LOAD_PATH.uniq!
|
|
15
15
|
require 'rubygems'
|
16
16
|
require 'rake'
|
17
17
|
|
18
|
+
Dir.glob(File.join(NEWRELIC_PLUGIN_DIR,'test/helpers/*.rb')).each do |helper|
|
19
|
+
require helper
|
20
|
+
end
|
21
|
+
|
18
22
|
# We can speed things up in tests that don't need to load rails.
|
19
23
|
# You can also run the tests in a mode without rails. Many tests
|
20
24
|
# will be skipped.
|
@@ -148,6 +152,7 @@ def fixture_tcp_socket( response )
|
|
148
152
|
socket = stub("socket") do
|
149
153
|
stubs(:closed?).returns(false)
|
150
154
|
stubs(:close)
|
155
|
+
stubs(:setsockopt)
|
151
156
|
|
152
157
|
# Simulate a bunch of socket-ey stuff since Mocha doesn't really
|
153
158
|
# provide any other way to do it
|
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.
|
4
|
+
version: 3.6.9.171
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -40,7 +40,7 @@ cert_chain:
|
|
40
40
|
cHUySWFQWE92bTNUOEc0TzZxWnZobkxoL1VpZW4rK0RqOGVGQmVjVFBvTThw
|
41
41
|
VmpLM3BoNQpuL0V3dVpDY0U2Z2h0Q0NNCi0tLS0tRU5EIENFUlRJRklDQVRF
|
42
42
|
LS0tLS0K
|
43
|
-
date: 2013-
|
43
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
44
44
|
dependencies:
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: rake
|
@@ -191,33 +191,33 @@ dependencies:
|
|
191
191
|
requirement: !ruby/object:Gem::Requirement
|
192
192
|
none: false
|
193
193
|
requirements:
|
194
|
-
- -
|
194
|
+
- - ~>
|
195
195
|
- !ruby/object:Gem::Version
|
196
|
-
version:
|
196
|
+
version: 1.8.3
|
197
197
|
type: :development
|
198
198
|
prerelease: false
|
199
199
|
version_requirements: !ruby/object:Gem::Requirement
|
200
200
|
none: false
|
201
201
|
requirements:
|
202
|
-
- -
|
202
|
+
- - ~>
|
203
203
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
204
|
+
version: 1.8.3
|
205
205
|
- !ruby/object:Gem::Dependency
|
206
206
|
name: guard-test
|
207
207
|
requirement: !ruby/object:Gem::Requirement
|
208
208
|
none: false
|
209
209
|
requirements:
|
210
|
-
- -
|
210
|
+
- - ~>
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
version:
|
212
|
+
version: 1.0.0
|
213
213
|
type: :development
|
214
214
|
prerelease: false
|
215
215
|
version_requirements: !ruby/object:Gem::Requirement
|
216
216
|
none: false
|
217
217
|
requirements:
|
218
|
-
- -
|
218
|
+
- - ~>
|
219
219
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
220
|
+
version: 1.0.0
|
221
221
|
- !ruby/object:Gem::Dependency
|
222
222
|
name: rb-fsevent
|
223
223
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,6 +264,7 @@ files:
|
|
264
264
|
- .gitignore
|
265
265
|
- .project
|
266
266
|
- .travis.yml
|
267
|
+
- .yardopts
|
267
268
|
- CHANGELOG
|
268
269
|
- GUIDELINES_FOR_CONTRIBUTING.md
|
269
270
|
- Gemfile
|
@@ -390,6 +391,7 @@ files:
|
|
390
391
|
- lib/new_relic/agent/stats_engine/samplers.rb
|
391
392
|
- lib/new_relic/agent/stats_engine/stats_hash.rb
|
392
393
|
- lib/new_relic/agent/stats_engine/transactions.rb
|
394
|
+
- lib/new_relic/agent/supported_versions.rb
|
393
395
|
- lib/new_relic/agent/system_info.rb
|
394
396
|
- lib/new_relic/agent/threading/agent_thread.rb
|
395
397
|
- lib/new_relic/agent/threading/backtrace_node.rb
|
@@ -460,6 +462,9 @@ files:
|
|
460
462
|
- lib/tasks/all.rb
|
461
463
|
- lib/tasks/install.rake
|
462
464
|
- lib/tasks/tests.rake
|
465
|
+
- lib/tasks/versions.html.erb
|
466
|
+
- lib/tasks/versions.rake
|
467
|
+
- lib/tasks/versions.txt.erb
|
463
468
|
- newrelic.yml
|
464
469
|
- newrelic_rpm.gemspec
|
465
470
|
- recipes/newrelic.rb
|
@@ -540,6 +545,7 @@ files:
|
|
540
545
|
- test/environments/rails40/config/environment.rb
|
541
546
|
- test/environments/rails40/db/schema.rb
|
542
547
|
- test/fixtures/proc_cpuinfo.txt
|
548
|
+
- test/helpers/runtime_detection.rb
|
543
549
|
- test/intentional_fail.rb
|
544
550
|
- test/multiverse/.gitignore
|
545
551
|
- test/multiverse/README.md
|
@@ -620,7 +626,9 @@ files:
|
|
620
626
|
- test/multiverse/suites/resque/instrumentation_test.rb
|
621
627
|
- test/multiverse/suites/sequel/Envfile
|
622
628
|
- test/multiverse/suites/sequel/config/newrelic.yml
|
623
|
-
- test/multiverse/suites/sequel/
|
629
|
+
- test/multiverse/suites/sequel/database.rb
|
630
|
+
- test/multiverse/suites/sequel/sequel_instrumentation_test.rb
|
631
|
+
- test/multiverse/suites/sequel/sequel_safety_test.rb
|
624
632
|
- test/multiverse/suites/sidekiq/Envfile
|
625
633
|
- test/multiverse/suites/sidekiq/config/newrelic.yml
|
626
634
|
- test/multiverse/suites/sidekiq/log/.gitkeep
|
@@ -691,7 +699,6 @@ files:
|
|
691
699
|
- test/new_relic/agent/instrumentation/net_instrumentation_test.rb
|
692
700
|
- test/new_relic/agent/instrumentation/queue_time_test.rb
|
693
701
|
- test/new_relic/agent/instrumentation/rack_test.rb
|
694
|
-
- test/new_relic/agent/instrumentation/sequel_test.rb
|
695
702
|
- test/new_relic/agent/instrumentation/sinatra/transaction_namer_test.rb
|
696
703
|
- test/new_relic/agent/instrumentation/sinatra_test.rb
|
697
704
|
- test/new_relic/agent/instrumentation/task_instrumentation_test.rb
|
@@ -797,6 +804,7 @@ files:
|
|
797
804
|
- test/performance/script/baselines
|
798
805
|
- test/performance/script/mega-runner
|
799
806
|
- test/performance/script/runner
|
807
|
+
- test/performance/suites/config.rb
|
800
808
|
- test/performance/suites/rum_autoinsertion.rb
|
801
809
|
- test/performance/suites/startup.rb
|
802
810
|
- test/performance/suites/thread_profiling.rb
|
@@ -823,6 +831,8 @@ files:
|
|
823
831
|
- test/rum/no_body.source.html
|
824
832
|
- test/rum/no_header.result.html
|
825
833
|
- test/rum/no_header.source.html
|
834
|
+
- test/rum/no_html_and_no_header.result.html
|
835
|
+
- test/rum/no_html_and_no_header.source.html
|
826
836
|
- test/rum/no_start_header.result.html
|
827
837
|
- test/rum/no_start_header.source.html
|
828
838
|
- test/rum/script1.result.html
|
@@ -924,20 +934,27 @@ files:
|
|
924
934
|
- lib/new_relic/build.rb
|
925
935
|
homepage: http://www.github.com/newrelic/rpm
|
926
936
|
licenses: []
|
927
|
-
post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
937
|
+
post_install_message: ! "# New Relic Ruby Agent Release Notes #\n\n## v3.6.9 ##\n\n*
|
938
|
+
Experimental Rubinius 2.x support\n\n The agent is now being tested against the
|
939
|
+
latest version of Rubinius. While\n support is still considered experimental, you
|
940
|
+
can track the progress at\n http://docs.newrelic.com/docs/ruby/rubinius for up
|
941
|
+
to date status.\n\n* Capture arguments for Resque and Sidekiq jobs\n\n The agent
|
942
|
+
can optionally record arguments for your Resque and Sidekiq jobs on\n transaction
|
943
|
+
traces and traced errors. This is disabled by default, but may be\n enabled by
|
944
|
+
setting resque.capture_params or sidekiq.capture_params.\n\n Thanks to Juan Ignacio
|
945
|
+
Pumarino, Ken Mayer, Paul Henry, and Eric Saxby for\n their help with this feature!\n\n*
|
946
|
+
Supported versions rake task and documentation\n\n We've improved our documentation
|
947
|
+
for what Ruby and gem versions we support.\n Run `rake newrelic:supported_versions`
|
948
|
+
or see the latest agent's versions at\n https://docs.newrelic.com/docs/ruby/supported-frameworks.\n\n*
|
949
|
+
ActiveRecord 4.0 explain plans for JRuby and Rubinius\n\n The agent's ActiveRecord
|
950
|
+
4.0 instrumentation could not gather SQL explain\n plans on JRuby by default because
|
951
|
+
of a dependency on ObjectSpace, which isn't\n avialable by default. This has been
|
952
|
+
fixed.\n\n* Fix for Curb http_put_with_newrelic\n\n A bug in the agent caused PUT
|
953
|
+
calls in the Curb gem to crash. This has been\n fixed. Thanks to Michael D'Auria
|
954
|
+
and Kirk Diggler for the contributions!\n\n* Fix for head position on RUM injection\n\n
|
955
|
+
\ Certain unusual HTML documents resulted in browser monitoring injecting\n incorrect
|
956
|
+
content. Thanks Alex McHale for the contribution!\n\n* Specify the Content-Type
|
957
|
+
header in developer mode\n\n Thanks Jared Ning for the contribution!\n\nSee https://github.com/newrelic/rpm/blob/master/CHANGELOG
|
941
958
|
for a full list of\nchanges.\n"
|
942
959
|
rdoc_options:
|
943
960
|
- --line-numbers
|
metadata.gz.sig
CHANGED
Binary file
|