traceview 3.8.3-java → 3.8.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -14
- data/CONFIG.md +1 -2
- data/LICENSE +118 -124
- data/README.md +27 -34
- data/Rakefile +1 -1
- data/examples/DNT.md +1 -1
- data/examples/tracing_async_threads.rb +1 -2
- data/ext/oboe_metal/extconf.rb +1 -1
- data/ext/oboe_metal/tests/test.rb +1 -1
- data/gemfiles/delayed_job.gemfile +6 -1
- data/gemfiles/libraries.gemfile +2 -0
- data/gemfiles/rails40.gemfile +1 -1
- data/gemfiles/rails41.gemfile +1 -1
- data/gemfiles/rails42.gemfile +1 -1
- data/init.rb +1 -1
- data/lib/joboe_metal.rb +3 -3
- data/lib/oboe.rb +1 -1
- data/lib/oboe_metal.rb +1 -1
- data/lib/rails/generators/traceview/install_generator.rb +3 -3
- data/lib/rails/generators/traceview/templates/traceview_initializer.rb +4 -4
- data/lib/traceview.rb +1 -1
- data/lib/traceview/api.rb +2 -2
- data/lib/traceview/api/layerinit.rb +1 -1
- data/lib/traceview/api/logging.rb +1 -1
- data/lib/traceview/api/memcache.rb +1 -1
- data/lib/traceview/api/profiling.rb +1 -1
- data/lib/traceview/api/tracing.rb +1 -1
- data/lib/traceview/api/util.rb +1 -1
- data/lib/traceview/base.rb +1 -1
- data/lib/traceview/config.rb +2 -2
- data/lib/traceview/frameworks/grape.rb +1 -1
- data/lib/traceview/frameworks/padrino.rb +1 -1
- data/lib/traceview/frameworks/padrino/templates.rb +1 -1
- data/lib/traceview/frameworks/rails.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller2.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller3.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller4.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller5.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_controller_api.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view_2x.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/action_view_30.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/active_record.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/mysql2.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/postgresql.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils5x.rb +1 -1
- data/lib/traceview/frameworks/sinatra.rb +1 -1
- data/lib/traceview/frameworks/sinatra/templates.rb +1 -1
- data/lib/traceview/inst/bunny-client.rb +1 -1
- data/lib/traceview/inst/bunny-consumer.rb +1 -1
- data/lib/traceview/inst/curb.rb +1 -1
- data/lib/traceview/inst/dalli.rb +1 -1
- data/lib/traceview/inst/delayed_job.rb +1 -1
- data/lib/traceview/inst/em-http-request.rb +1 -1
- data/lib/traceview/inst/excon.rb +1 -1
- data/lib/traceview/inst/faraday.rb +1 -1
- data/lib/traceview/inst/http.rb +1 -1
- data/lib/traceview/inst/httpclient.rb +1 -1
- data/lib/traceview/inst/memcache.rb +1 -1
- data/lib/traceview/inst/memcached.rb +1 -1
- data/lib/traceview/inst/mongo.rb +1 -1
- data/lib/traceview/inst/mongo2.rb +1 -1
- data/lib/traceview/inst/moped.rb +1 -1
- data/lib/traceview/inst/rack.rb +1 -1
- data/lib/traceview/inst/redis.rb +1 -1
- data/lib/traceview/inst/resque.rb +1 -1
- data/lib/traceview/inst/rest-client.rb +1 -1
- data/lib/traceview/inst/sequel.rb +1 -1
- data/lib/traceview/inst/sidekiq-client.rb +1 -1
- data/lib/traceview/inst/sidekiq-worker.rb +1 -1
- data/lib/traceview/inst/twitter-cassandra.rb +1 -1
- data/lib/traceview/inst/typhoeus.rb +1 -1
- data/lib/traceview/instrumentation.rb +1 -1
- data/lib/traceview/legacy_method_profiling.rb +1 -1
- data/lib/traceview/loading.rb +1 -1
- data/lib/traceview/logger.rb +1 -1
- data/lib/traceview/ruby.rb +1 -1
- data/lib/traceview/support.rb +5 -6
- data/lib/traceview/test.rb +1 -1
- data/lib/traceview/thread_local.rb +1 -1
- data/lib/traceview/util.rb +1 -1
- data/lib/traceview/version.rb +2 -2
- data/lib/traceview/xtrace.rb +1 -1
- data/test/frameworks/apps/grape_nested.rb +1 -1
- data/test/frameworks/apps/grape_simple.rb +1 -1
- data/test/frameworks/apps/sinatra_simple.rb +1 -1
- data/test/frameworks/grape_test.rb +1 -1
- data/test/frameworks/padrino_test.rb +1 -1
- data/test/frameworks/rails3x_test.rb +1 -1
- data/test/frameworks/rails4x_test.rb +1 -1
- data/test/frameworks/rails5x_api_test.rb +1 -1
- data/test/frameworks/rails5x_test.rb +1 -1
- data/test/frameworks/sinatra_test.rb +1 -1
- data/test/instrumentation/bunny_client_test.rb +1 -1
- data/test/instrumentation/bunny_consumer_test.rb +1 -1
- data/test/instrumentation/curb_test.rb +1 -1
- data/test/instrumentation/dalli_test.rb +1 -1
- data/test/instrumentation/em_http_request_test.rb +2 -2
- data/test/instrumentation/excon_test.rb +1 -1
- data/test/instrumentation/faraday_test.rb +1 -1
- data/test/instrumentation/http_test.rb +1 -1
- data/test/instrumentation/httpclient_test.rb +1 -1
- data/test/instrumentation/memcache_test.rb +1 -1
- data/test/instrumentation/memcached_test.rb +1 -1
- data/test/instrumentation/mongo_v1_test.rb +1 -1
- data/test/instrumentation/mongo_v2_index_test.rb +1 -1
- data/test/instrumentation/mongo_v2_test.rb +1 -1
- data/test/instrumentation/mongo_v2_view_test.rb +1 -1
- data/test/instrumentation/moped_test.rb +1 -1
- data/test/instrumentation/rack_test.rb +1 -1
- data/test/instrumentation/redis_hashes_test.rb +1 -1
- data/test/instrumentation/redis_keys_test.rb +1 -1
- data/test/instrumentation/redis_lists_test.rb +1 -1
- data/test/instrumentation/redis_misc_test.rb +1 -1
- data/test/instrumentation/redis_sets_test.rb +1 -1
- data/test/instrumentation/redis_sortedsets_test.rb +1 -1
- data/test/instrumentation/redis_strings_test.rb +1 -1
- data/test/instrumentation/resque_test.rb +1 -1
- data/test/instrumentation/rest-client_test.rb +1 -1
- data/test/instrumentation/sequel_mysql2_test.rb +1 -1
- data/test/instrumentation/sequel_mysql_test.rb +1 -1
- data/test/instrumentation/sequel_pg_test.rb +1 -1
- data/test/instrumentation/sidekiq-client_test.rb +1 -1
- data/test/instrumentation/sidekiq-worker_test.rb +1 -1
- data/test/instrumentation/twitter-cassandra_test.rb +1 -1
- data/test/instrumentation/typhoeus_test.rb +1 -1
- data/test/jobs/delayed_job/db_worker_job.rb +1 -1
- data/test/jobs/delayed_job/error_worker_job.rb +1 -1
- data/test/jobs/delayed_job/remote_call_worker_job.rb +1 -1
- data/test/jobs/resque/db_worker_job.rb +1 -1
- data/test/jobs/resque/error_worker_job.rb +1 -1
- data/test/jobs/resque/remote_call_worker_job.rb +1 -1
- data/test/jobs/sidekiq/db_worker_job.rb +1 -1
- data/test/jobs/sidekiq/error_worker_job.rb +1 -1
- data/test/jobs/sidekiq/remote_call_worker_job.rb +1 -1
- data/test/minitest_helper.rb +1 -1
- data/test/profiling/legacy_method_profiling_test.rb +1 -1
- data/test/profiling/method_profiling_test.rb +1 -1
- data/test/queues/delayed_job-client_test.rb +1 -1
- data/test/queues/delayed_job-worker_test.rb +1 -1
- data/test/reporter/reporter_test.rb +1 -1
- data/test/servers/delayed_job.rb +1 -1
- data/test/servers/rackapp_8101.rb +1 -1
- data/test/servers/rails3x_8140.rb +1 -1
- data/test/servers/rails4x_8140.rb +1 -1
- data/test/servers/rails5x_8140.rb +1 -1
- data/test/servers/rails5x_api_8150.rb +1 -1
- data/test/servers/sidekiq.rb +1 -1
- data/test/servers/sidekiq_initializer.rb +1 -1
- data/test/support/auto_tracing_test.rb +1 -1
- data/test/support/avw_handling_test.rb +1 -1
- data/test/support/backcompat_test.rb +1 -1
- data/test/support/config_test.rb +1 -1
- data/test/support/dnt_test.rb +1 -1
- data/test/support/init_report_test.rb +1 -1
- data/test/support/liboboe_settings_test.rb +1 -1
- data/test/support/noop_test.rb +1 -1
- data/test/support/sql_sanitize_test.rb +1 -1
- data/test/support/tracing_mode_test.rb +1 -1
- data/test/support/tvalias_test.rb +1 -1
- data/test/support/xtrace_test.rb +1 -1
- data/traceview.gemspec +4 -5
- metadata +76 -80
- data/test/benchmarks/allocations_test.rb +0 -14
- data/test/benchmarks/tracing_api_test.rb +0 -15
data/Rakefile
CHANGED
@@ -73,7 +73,7 @@ task :compile do
|
|
73
73
|
else
|
74
74
|
Dir.chdir pwd
|
75
75
|
puts '!! Extension failed to build (see above). Are the base TraceView packages installed?'
|
76
|
-
puts '!! See
|
76
|
+
puts '!! See http://docs.traceview.solarwinds.com/TraceView/install-instrumentation.html'
|
77
77
|
end
|
78
78
|
else
|
79
79
|
puts '== Nothing to do under JRuby.'
|
data/examples/DNT.md
CHANGED
@@ -32,4 +32,4 @@ Since this pattern is used with the standard Ruby Regexp class, you can
|
|
32
32
|
use any Regexp supported pattern. See the documentation on Ruby Regexp
|
33
33
|
[here](https://www.omniref.com/ruby/2.2.0/symbols/Regexp?d=380181456&n=0#doc_uncollapsed=true&d=380181456&n=0)
|
34
34
|
or you can also view the oboe gem [source code documentation for this
|
35
|
-
feature](https://github.com/
|
35
|
+
feature](https://github.com/tracelytics/ruby-traceview/blob/master/lib/traceview/config.rb#L129).
|
@@ -120,6 +120,5 @@ end
|
|
120
120
|
# end
|
121
121
|
# end
|
122
122
|
#
|
123
|
-
# If anything isn't clear, please don't hesitate to reach us at support (traceviewsupport@
|
124
|
-
# or on IRC #appneta @ freenode.
|
123
|
+
# If anything isn't clear, please don't hesitate to reach us at support (traceviewsupport@solarwinds.com).
|
125
124
|
#
|
data/ext/oboe_metal/extconf.rb
CHANGED
@@ -21,7 +21,12 @@ if defined?(JRUBY_VERSION)
|
|
21
21
|
gem 'jdbc-postgresql'
|
22
22
|
else
|
23
23
|
gem 'sinatra'
|
24
|
-
|
24
|
+
# pg 0.19 and above require ruby 2.0
|
25
|
+
if RUBY_VERSION < '2.0'
|
26
|
+
gem 'pg', '< 0.19'
|
27
|
+
else
|
28
|
+
gem 'pg'
|
29
|
+
end
|
25
30
|
gem "delayed_job_active_record"
|
26
31
|
end
|
27
32
|
|
data/gemfiles/libraries.gemfile
CHANGED
data/gemfiles/rails40.gemfile
CHANGED
data/gemfiles/rails41.gemfile
CHANGED
data/gemfiles/rails42.gemfile
CHANGED
data/init.rb
CHANGED
data/lib/joboe_metal.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2016 SolarWinds, LLC.
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
module Oboe_metal
|
@@ -202,7 +202,7 @@ case Java::ComTracelyticsAgent::Agent.getStatus
|
|
202
202
|
$stderr.puts '=============================================================='
|
203
203
|
$stderr.puts 'TraceView Java Agent not initialized properly.'
|
204
204
|
$stderr.puts 'Possibly misconfigured? Going into no-op mode.'
|
205
|
-
$stderr.puts '
|
205
|
+
$stderr.puts 'http://docs.traceview.solarwinds.com/Instrumentation/other-instrumentation-modules.html#jruby'
|
206
206
|
$stderr.puts '=============================================================='
|
207
207
|
|
208
208
|
when Java::ComTracelyticsAgent::Agent::AgentStatus::UNINITIALIZED
|
@@ -210,7 +210,7 @@ case Java::ComTracelyticsAgent::Agent.getStatus
|
|
210
210
|
$stderr.puts '=============================================================='
|
211
211
|
$stderr.puts 'TraceView Java Agent not loaded. Going into no-op mode.'
|
212
212
|
$stderr.puts 'To preload the TraceView java agent see:'
|
213
|
-
$stderr.puts '
|
213
|
+
$stderr.puts 'http://docs.traceview.solarwinds.com/Instrumentation/other-instrumentation-modules.html#jruby'
|
214
214
|
$stderr.puts '=============================================================='
|
215
215
|
|
216
216
|
else
|
data/lib/oboe.rb
CHANGED
data/lib/oboe_metal.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2016 SolarWinds, LLC.
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
module TraceView
|
@@ -48,10 +48,10 @@ module TraceView
|
|
48
48
|
say "-------------------"
|
49
49
|
say ""
|
50
50
|
say "TraceView Installation Overview:"
|
51
|
-
say "
|
51
|
+
say "http://docs.traceview.solarwinds.com/TraceView/install-instrumentation.html"
|
52
52
|
say ""
|
53
53
|
say "More information on instrumenting Ruby applications can be found here:"
|
54
|
-
say "
|
54
|
+
say "http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#installing-ruby-instrumentation"
|
55
55
|
end
|
56
56
|
|
57
57
|
def print_body
|
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
2
|
-
#
|
1
|
+
# TraceView Initializer (for the traceview gem)
|
2
|
+
# https://traceview.solarwinds.com/
|
3
3
|
#
|
4
4
|
# More information on instrumenting Ruby applications can be found here:
|
5
|
-
#
|
5
|
+
# http://docs.traceview.solarwinds.com/Instrumentation/ruby.html#installing-ruby-instrumentation
|
6
6
|
|
7
7
|
if defined?(TraceView::Config)
|
8
8
|
# Tracing Mode determines when traces should be initiated for incoming requests. Valid
|
@@ -99,7 +99,7 @@ if defined?(TraceView::Config)
|
|
99
99
|
#
|
100
100
|
# Alternatively, if you would like to install the separate
|
101
101
|
# libcurl instrumentation, see here:
|
102
|
-
# http://docs.
|
102
|
+
# http://docs.traceview.solarwinds.com/Instrumentation/other-instrumentation-modules.html#libcurl
|
103
103
|
#
|
104
104
|
# TraceView::Config[:curb][:cross_host] = false
|
105
105
|
#
|
data/lib/traceview.rb
CHANGED
data/lib/traceview/api.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2016 SolarWinds, LLC.
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
module TraceView
|
5
5
|
##
|
6
6
|
# This module implements the TraceView tracing API.
|
7
|
-
# See: https://github.com/
|
7
|
+
# See: https://github.com/tracelytics/ruby-traceview#the-tracing-api
|
8
8
|
# and/or: http://rdoc.info/gems/traceview/TraceView/API/Tracing
|
9
9
|
module API
|
10
10
|
def self.extend_with_tracing
|
data/lib/traceview/api/util.rb
CHANGED
data/lib/traceview/base.rb
CHANGED
data/lib/traceview/config.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c)
|
1
|
+
# Copyright (c) 2016 SolarWinds, LLC.
|
2
2
|
# All rights reserved.
|
3
3
|
|
4
4
|
module TraceView
|
@@ -174,7 +174,7 @@ module TraceView
|
|
174
174
|
#
|
175
175
|
# Alternatively, if you would like to install the separate
|
176
176
|
# libcurl instrumentation, see here:
|
177
|
-
# http://docs.
|
177
|
+
# http://docs.traceview.solarwinds.com/Instrumentation/other-instrumentation-modules.html#libcurl
|
178
178
|
#
|
179
179
|
@@config[:curb][:cross_host] = false
|
180
180
|
|
data/lib/traceview/inst/curb.rb
CHANGED
data/lib/traceview/inst/dalli.rb
CHANGED