traceview 3.6.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -1
- data/CHANGELOG.md +11 -0
- data/CONFIG.md +22 -5
- data/Rakefile +2 -2
- data/gemfiles/delayed_job.gemfile +1 -1
- data/gemfiles/frameworks.gemfile +1 -1
- data/gemfiles/libraries.gemfile +4 -3
- data/gemfiles/rails31.gemfile +2 -0
- data/gemfiles/rails32.gemfile +5 -2
- data/gemfiles/rails40.gemfile +5 -3
- data/gemfiles/rails41.gemfile +6 -4
- data/gemfiles/rails42.gemfile +3 -1
- data/gemfiles/rails50.gemfile +43 -0
- data/lib/rails/generators/traceview/templates/traceview_initializer.rb +56 -32
- data/lib/traceview/base.rb +1 -1
- data/lib/traceview/frameworks/rails.rb +6 -9
- data/lib/traceview/frameworks/rails/inst/action_controller.rb +2 -135
- data/lib/traceview/frameworks/rails/inst/action_controller2.rb +59 -0
- data/lib/traceview/frameworks/rails/inst/action_controller3.rb +49 -0
- data/lib/traceview/frameworks/rails/inst/action_controller4.rb +40 -0
- data/lib/traceview/frameworks/rails/inst/action_controller5.rb +39 -0
- data/lib/traceview/frameworks/rails/inst/action_view.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/active_record.rb +6 -3
- data/lib/traceview/frameworks/rails/inst/connection_adapters/postgresql.rb +1 -1
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils.rb +30 -36
- data/lib/traceview/frameworks/rails/inst/connection_adapters/utils5x.rb +100 -0
- data/lib/traceview/test.rb +39 -0
- data/lib/traceview/version.rb +1 -1
- data/test/frameworks/rails3x_test.rb +163 -7
- data/test/frameworks/rails4x_test.rb +162 -13
- data/test/frameworks/rails5x_test.rb +213 -0
- data/test/instrumentation/excon_test.rb +3 -0
- data/test/instrumentation/sequel_mysql2_test.rb +2 -5
- data/test/instrumentation/sequel_mysql_test.rb +2 -5
- data/test/instrumentation/sequel_pg_test.rb +2 -5
- data/test/minitest_helper.rb +25 -21
- data/test/servers/delayed_job.rb +2 -6
- data/test/servers/rails3x_8140.rb +16 -6
- data/test/servers/rails4x_8140.rb +20 -9
- data/test/servers/rails5x_8140.rb +112 -0
- metadata +13 -4
- data/lib/traceview/frameworks/rails/inst/connection_adapters/oracle.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bce2db884c7669355052ec8cf1156e02f7df096
|
4
|
+
data.tar.gz: f12451f6e875c3d90f0eb65834a3e8c8d179ebc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3febee7ee82908a0b25cae1286d328381878aed9cbc3f9c5d78efe83e9770abf621a135c45f5505a1baa1efd40d2998d9c2f74f7e57c84f8bd7e5a60af4c9e9a
|
7
|
+
data.tar.gz: e90d83f0e19d4021cb0d7c57263c0e9ff11067ea63cd56ed3ac9be4ecc09ef0d0eb3d6deb29fc34309246e2544457790048fc1b0b23a7a11fc25026edc7b2905
|
data/.travis.yml
CHANGED
@@ -16,6 +16,7 @@ gemfile:
|
|
16
16
|
- gemfiles/frameworks.gemfile
|
17
17
|
- gemfiles/rails32.gemfile
|
18
18
|
- gemfiles/rails42.gemfile
|
19
|
+
- gemfiles/rails50.gemfile
|
19
20
|
- gemfiles/delayed_job.gemfile
|
20
21
|
|
21
22
|
matrix:
|
@@ -24,6 +25,12 @@ matrix:
|
|
24
25
|
- rvm: 1.8.7
|
25
26
|
gemfile: gemfiles/rails42.gemfile
|
26
27
|
|
28
|
+
# Rails 5.0+ requires Ruby 2.2.2 or higher
|
29
|
+
- rvm: 1.8.7
|
30
|
+
gemfile: gemfiles/rails50.gemfile
|
31
|
+
- rvm: 1.9.3
|
32
|
+
gemfile: gemfiles/rails50.gemfile
|
33
|
+
|
27
34
|
# Don't test DelayedJob under MRI 1.8 and JRuby
|
28
35
|
- rvm: 1.8.7
|
29
36
|
gemfile: gemfiles/delayed_job.gemfile
|
@@ -31,6 +38,10 @@ matrix:
|
|
31
38
|
- rvm: jruby-9.0.4.0
|
32
39
|
gemfile: gemfiles/delayed_job.gemfile
|
33
40
|
|
41
|
+
# Skip testing on JRuby until activerecord-jdbc supports Rails 5.0
|
42
|
+
- rvm: jruby-9.0.4.0
|
43
|
+
gemfile: gemfiles/rails50.gemfile
|
44
|
+
|
34
45
|
# Other frameworks tested on Ruby 1.9.3 or higher
|
35
46
|
- rvm: 1.8.7
|
36
47
|
gemfile: gemfiles/frameworks.gemfile
|
@@ -38,7 +49,7 @@ matrix:
|
|
38
49
|
# Attempt Travis/Cassandra fix re: https://github.com/travis-ci/travis-ci/issues/1484
|
39
50
|
# Updated Cassandra: https://github.com/travis-ci/travis-ci/issues/1650
|
40
51
|
before_install:
|
41
|
-
- gem update --system
|
52
|
+
- gem update --system '2.6.1'
|
42
53
|
- gem update bundler
|
43
54
|
- gem --version
|
44
55
|
- sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,17 @@ https://github.com/appneta/oboe-ruby/releases
|
|
4
4
|
|
5
5
|
Dates in this file are in the format MM/DD/YYYY.
|
6
6
|
|
7
|
+
# traceview 3.7.0
|
8
|
+
|
9
|
+
This minor release includes the following new feature:
|
10
|
+
|
11
|
+
* New Ruby on Rails 5 instrumentation: #165
|
12
|
+
|
13
|
+
Pushed to Rubygems:
|
14
|
+
|
15
|
+
https://rubygems.org/gems/traceview/versions/3.7.0
|
16
|
+
https://rubygems.org/gems/traceview/versions/3.7.0-java
|
17
|
+
|
7
18
|
# traceview 3.6.0
|
8
19
|
|
9
20
|
This minor release includes the following new feature:
|
data/CONFIG.md
CHANGED
@@ -2,11 +2,28 @@
|
|
2
2
|
|
3
3
|
## Environment Variables
|
4
4
|
|
5
|
-
The following environment variables are detected by the traceview gem
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
The following environment variables are detected by the traceview gem and affect how the gem functions.
|
6
|
+
|
7
|
+
### General
|
8
|
+
|
9
|
+
Name | Description | Default
|
10
|
+
---- | ----------- | -------
|
11
|
+
`IGNORE_TRACEVIEW_WARNING` | tells the traceview gem to __not__ output the _missing TraceView libraries_ message on stack initialization | `false`
|
12
|
+
`TRACEVIEW_GEM_VERBOSE` | sets the verbose flag (`TraceView::Config[:verbose]`) early in the gem loading process which may output valuable information | `false`
|
13
|
+
`TRACEVIEW_CUUID` | Allows specifying the customer ID via environment variable to override/bypass the value in `/etc/tracelytics.conf` | `nil`
|
14
|
+
|
15
|
+
# Related to Tests
|
16
|
+
|
17
|
+
Name | Description | Default
|
18
|
+
---- | ----------- | -------
|
19
|
+
`TRACEVIEW_GEM_TEST` | puts the gem in test mode. Traces are written to /tmp/trace_output.bson. | `false`
|
20
|
+
`DBTYPE` | For tests on Ruby on Rails, specifies the database type to test against. `postgres`, `mysql` and `mysql2` are valid options. | `postgres`
|
21
|
+
`TV_CASSANDRA_SERVER` | specifies the Cassandra server to test against. | `127.0.0.1:9160`
|
22
|
+
`TV_MONGO_SERVER` | specifies the Mongo server to test against. | `127.0.0.1:27017`
|
23
|
+
`TV_RABBITMQ_SERVER` | specifies the RabbitMQ server to test against. | `127.0.0.1`
|
24
|
+
`TV_RABBITMQ_PORT` | port for the RabbitMQ connection. | `5672`
|
25
|
+
`TV_RABBITMQ_USERNAME` | username for the RabbitMQ connection | `guest`
|
26
|
+
`TV_RABBITMQ_PASSWORD` | password for the RabbitMQ connection | `guest`
|
10
27
|
|
11
28
|
## TraceView::Config
|
12
29
|
|
data/Rakefile
CHANGED
@@ -6,7 +6,8 @@ require 'rake/testtask'
|
|
6
6
|
require 'traceview/test'
|
7
7
|
|
8
8
|
Rake::TestTask.new do |t|
|
9
|
-
t.verbose =
|
9
|
+
t.verbose = false
|
10
|
+
t.warning = false
|
10
11
|
t.ruby_opts = []
|
11
12
|
t.libs << "test"
|
12
13
|
|
@@ -36,7 +37,6 @@ Rake::TestTask.new do |t|
|
|
36
37
|
FileList['test/profiling/*_test.rb']
|
37
38
|
end
|
38
39
|
|
39
|
-
# t.ruby_opts << ['-w']
|
40
40
|
if defined?(JRUBY_VERSION)
|
41
41
|
t.ruby_opts << ["-J-javaagent:/usr/local/tracelytics/tracelyticsagent.jar"]
|
42
42
|
end
|
data/gemfiles/frameworks.gemfile
CHANGED
data/gemfiles/libraries.gemfile
CHANGED
@@ -5,23 +5,24 @@ if RUBY_VERSION >= '1.9.3'
|
|
5
5
|
# ruby 1.9.3 and up
|
6
6
|
gem 'rest-client'
|
7
7
|
gem 'moped'
|
8
|
-
gem 'eventmachine'
|
8
|
+
gem 'eventmachine', '< 1.2.0'
|
9
9
|
gem 'em-synchrony'
|
10
10
|
gem 'em-http-request'
|
11
11
|
end
|
12
12
|
|
13
13
|
group :development, :test do
|
14
|
-
gem 'rake'
|
15
14
|
gem 'minitest'
|
16
15
|
gem 'minitest-reporters', '< 1.0.18'
|
17
16
|
gem 'minitest-debugger', :require => false
|
18
17
|
gem 'rack-test'
|
19
18
|
if RUBY_VERSION < '1.9.3'
|
19
|
+
gem 'rake', '< 11.0'
|
20
20
|
gem 'bson', '<= 1.12.3'
|
21
21
|
gem 'puma', '< 3.0'
|
22
22
|
else
|
23
|
+
gem 'rake'
|
23
24
|
gem 'bson', '< 4.0'
|
24
|
-
gem 'puma'
|
25
|
+
gem 'puma', '< 3.1.0'
|
25
26
|
end
|
26
27
|
end
|
27
28
|
|
data/gemfiles/rails31.gemfile
CHANGED
data/gemfiles/rails32.gemfile
CHANGED
@@ -14,17 +14,18 @@ if RUBY_VERSION < '2.0.0'
|
|
14
14
|
end
|
15
15
|
|
16
16
|
group :development, :test do
|
17
|
-
gem 'rake'
|
18
17
|
gem 'minitest'
|
19
18
|
gem 'minitest-reporters', '< 1.0.18'
|
20
19
|
gem 'minitest-debugger', :require => false
|
21
20
|
gem 'rack-test'
|
22
21
|
if RUBY_VERSION < '1.9.3'
|
22
|
+
gem 'rake', '< 11.0'
|
23
23
|
gem 'bson', '<= 1.12.3'
|
24
24
|
gem 'puma', '< 3.0'
|
25
25
|
else
|
26
|
+
gem 'rake'
|
26
27
|
gem 'bson', '< 4.0'
|
27
|
-
gem 'puma'
|
28
|
+
gem 'puma', '< 3.1.0'
|
28
29
|
end
|
29
30
|
end
|
30
31
|
|
@@ -35,6 +36,8 @@ if defined?(JRUBY_VERSION)
|
|
35
36
|
else
|
36
37
|
gem 'sinatra'
|
37
38
|
gem 'pg', '< 0.17'
|
39
|
+
gem 'mysql'
|
40
|
+
gem 'mysql2', '< 0.4.0'
|
38
41
|
end
|
39
42
|
|
40
43
|
if RUBY_VERSION < '1.9'
|
data/gemfiles/rails40.gemfile
CHANGED
@@ -6,8 +6,8 @@ group :development, :test do
|
|
6
6
|
gem 'minitest-reporters', '< 1.0.18'
|
7
7
|
gem 'minitest-debugger', :require => false
|
8
8
|
gem 'rack-test'
|
9
|
-
gem 'puma'
|
10
|
-
gem 'bson'
|
9
|
+
gem 'puma', '< 3.1.0'
|
10
|
+
gem 'bson', '< 4.0'
|
11
11
|
end
|
12
12
|
|
13
13
|
if defined?(JRUBY_VERSION)
|
@@ -16,7 +16,9 @@ if defined?(JRUBY_VERSION)
|
|
16
16
|
gem 'jdbc-postgresql'
|
17
17
|
else
|
18
18
|
gem 'sinatra'
|
19
|
-
gem 'pg'
|
19
|
+
gem 'pg'
|
20
|
+
gem 'mysql'
|
21
|
+
gem 'mysql2', '< 0.4.0'
|
20
22
|
end
|
21
23
|
|
22
24
|
gem "rails", "~> 4.0.13"
|
data/gemfiles/rails41.gemfile
CHANGED
@@ -6,8 +6,8 @@ group :development, :test do
|
|
6
6
|
gem 'minitest-reporters', '< 1.0.18'
|
7
7
|
gem 'minitest-debugger', :require => false
|
8
8
|
gem 'rack-test'
|
9
|
-
gem 'puma'
|
10
|
-
gem 'bson'
|
9
|
+
gem 'puma', '< 3.1.0'
|
10
|
+
gem 'bson', '< 4.0'
|
11
11
|
end
|
12
12
|
|
13
13
|
if defined?(JRUBY_VERSION)
|
@@ -16,10 +16,12 @@ if defined?(JRUBY_VERSION)
|
|
16
16
|
gem 'jdbc-postgresql'
|
17
17
|
else
|
18
18
|
gem 'sinatra'
|
19
|
-
gem 'pg'
|
19
|
+
gem 'pg'
|
20
|
+
gem 'mysql'
|
21
|
+
gem 'mysql2'
|
20
22
|
end
|
21
23
|
|
22
|
-
gem "rails", "~> 4.1.
|
24
|
+
gem "rails", "~> 4.1.15"
|
23
25
|
|
24
26
|
gemspec :path => File.expand_path(File.dirname(__FILE__) + '/../')
|
25
27
|
# vim:syntax=ruby
|
data/gemfiles/rails42.gemfile
CHANGED
@@ -6,7 +6,7 @@ group :development, :test do
|
|
6
6
|
gem 'minitest-reporters', '< 1.0.18'
|
7
7
|
gem 'minitest-debugger', :require => false
|
8
8
|
gem 'rack-test'
|
9
|
-
gem 'puma'
|
9
|
+
gem 'puma', '< 3.1.0'
|
10
10
|
gem 'bson', '< 4.0'
|
11
11
|
end
|
12
12
|
|
@@ -17,6 +17,8 @@ if defined?(JRUBY_VERSION)
|
|
17
17
|
else
|
18
18
|
gem 'sinatra'
|
19
19
|
gem 'pg'
|
20
|
+
gem 'mysql'
|
21
|
+
gem 'mysql2'
|
20
22
|
end
|
21
23
|
|
22
24
|
gem "rails", "~> 4.2.5"
|
@@ -0,0 +1,43 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gem 'rails', '>= 5.0.0.beta3', '< 5.1'
|
4
|
+
gem 'sass-rails', '~> 5.0'
|
5
|
+
gem 'uglifier', '>= 1.3.0'
|
6
|
+
gem 'coffee-rails', '~> 4.1.0'
|
7
|
+
gem 'therubyracer', platforms: :ruby
|
8
|
+
gem 'jquery-rails'
|
9
|
+
gem 'turbolinks', '~> 5.x'
|
10
|
+
gem 'jbuilder', '~> 2.0'
|
11
|
+
|
12
|
+
group :development do
|
13
|
+
# Access an IRB console on exception pages or by using <%= console %> in views
|
14
|
+
gem 'web-console', '~> 3.0'
|
15
|
+
gem 'listen', '~> 3.0.5'
|
16
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
17
|
+
gem 'spring'
|
18
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
19
|
+
end
|
20
|
+
|
21
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
22
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
23
|
+
|
24
|
+
group :development, :test do
|
25
|
+
gem 'rake'
|
26
|
+
gem 'minitest'
|
27
|
+
gem 'minitest-reporters', '< 1.0.18'
|
28
|
+
gem 'minitest-debugger', :require => false
|
29
|
+
gem 'rack-test'
|
30
|
+
gem 'puma', '< 3.1.0'
|
31
|
+
gem 'bson', '< 4.0'
|
32
|
+
end
|
33
|
+
|
34
|
+
if defined?(JRUBY_VERSION)
|
35
|
+
gem 'activerecord-jdbc-adapter'
|
36
|
+
gem 'jdbc-postgresql'
|
37
|
+
else
|
38
|
+
gem 'pg'
|
39
|
+
gem 'mysql2'
|
40
|
+
end
|
41
|
+
|
42
|
+
gemspec :path => File.expand_path(File.dirname(__FILE__) + '/../')
|
43
|
+
# vim:syntax=ruby
|
@@ -86,6 +86,48 @@ if defined?(TraceView::Config)
|
|
86
86
|
# TraceView::Config[:report_rescued_errors] = false
|
87
87
|
#
|
88
88
|
|
89
|
+
# By default, the curb instrumentation will not link
|
90
|
+
# outgoing requests with remotely instrumented
|
91
|
+
# webservers (aka cross host tracing). This is because the
|
92
|
+
# instrumentation can't detect if the independent libcurl
|
93
|
+
# instrumentation is in use or not.
|
94
|
+
#
|
95
|
+
# If you're sure that it's not in use/installed, then you can
|
96
|
+
# enable cross host tracing for the curb HTTP client
|
97
|
+
# here. Set TraceView::Config[:curb][:cross_host] to true
|
98
|
+
# to enable.
|
99
|
+
#
|
100
|
+
# Alternatively, if you would like to install the separate
|
101
|
+
# libcurl instrumentation, see here:
|
102
|
+
# http://docs.appneta.com/installing-libcurl-instrumentation
|
103
|
+
#
|
104
|
+
# TraceView::Config[:curb][:cross_host] = false
|
105
|
+
#
|
106
|
+
|
107
|
+
# The bunny (Rabbitmq) instrumentation can optionally report
|
108
|
+
# Controller and Action values to allow filtering of bunny
|
109
|
+
# message handling in # the UI. Use of Controller and Action
|
110
|
+
# for filters is temporary until the UI is updated with
|
111
|
+
# additional filters.
|
112
|
+
#
|
113
|
+
# These values identify which properties of
|
114
|
+
# Bunny::MessageProperties to report as Controller
|
115
|
+
# and Action. The defaults are to report :app_id (as
|
116
|
+
# Controller) and :type (as Action). If these values
|
117
|
+
# are not specified in the publish, then nothing
|
118
|
+
# will be reported here.
|
119
|
+
#
|
120
|
+
# TraceView::Config[:bunnyconsumer][:controller] = :app_id
|
121
|
+
# TraceView::Config[:bunnyconsumer][:action] = :type
|
122
|
+
#
|
123
|
+
|
124
|
+
#
|
125
|
+
# Resque Options
|
126
|
+
#
|
127
|
+
# Set to true to disable Resque argument logging (Default: false)
|
128
|
+
# TraceView::Config[:resque][:log_args] = false
|
129
|
+
#
|
130
|
+
|
89
131
|
#
|
90
132
|
# Enabling/Disabling Instrumentation
|
91
133
|
#
|
@@ -96,13 +138,17 @@ if defined?(TraceView::Config)
|
|
96
138
|
# TraceView::Config[:action_controller][:enabled] = true
|
97
139
|
# TraceView::Config[:action_view][:enabled] = true
|
98
140
|
# TraceView::Config[:active_record][:enabled] = true
|
99
|
-
# TraceView::Config[:
|
141
|
+
# TraceView::Config[:bunnyclient][:enabled] = true
|
142
|
+
# TraceView::Config[:bunnyconsumer][:enabled] = true
|
100
143
|
# TraceView::Config[:cassandra][:enabled] = true
|
101
144
|
# TraceView::Config[:curb][:enabled] = true
|
102
145
|
# TraceView::Config[:dalli][:enabled] = true
|
146
|
+
# TraceView::Config[:delayed_jobclient][:enabled] = true
|
147
|
+
# TraceView::Config[:delayed_jobworker][:enabled] = true
|
103
148
|
# TraceView::Config[:excon][:enabled] = true
|
104
149
|
# TraceView::Config[:em_http_request][:enabled] = true
|
105
150
|
# TraceView::Config[:faraday][:enabled] = true
|
151
|
+
# TraceView::Config[:grape][:enabled] = true
|
106
152
|
# TraceView::Config[:httpclient][:enabled] = true
|
107
153
|
# TraceView::Config[:memcache][:enabled] = true
|
108
154
|
# TraceView::Config[:memcached][:enabled] = true
|
@@ -113,6 +159,8 @@ if defined?(TraceView::Config)
|
|
113
159
|
# TraceView::Config[:resque][:enabled] = true
|
114
160
|
# TraceView::Config[:rest_client][:enabled] = true
|
115
161
|
# TraceView::Config[:sequel][:enabled] = true
|
162
|
+
# TraceView::Config[:sidekiqclient][:enabled] = true
|
163
|
+
# TraceView::Config[:sidekiqworker][:enabled] = true
|
116
164
|
# TraceView::Config[:typhoeus][:enabled] = true
|
117
165
|
#
|
118
166
|
|
@@ -127,13 +175,17 @@ if defined?(TraceView::Config)
|
|
127
175
|
# TraceView::Config[:action_controller][:collect_backtraces] = true
|
128
176
|
# TraceView::Config[:action_view][:collect_backtraces] = true
|
129
177
|
# TraceView::Config[:active_record][:collect_backtraces] = true
|
130
|
-
# TraceView::Config[:
|
178
|
+
# TraceView::Config[:bunnyclient][:collect_backtraces] = true
|
179
|
+
# TraceView::Config[:bunnyconsumer][:collect_backtraces] = true
|
131
180
|
# TraceView::Config[:cassandra][:collect_backtraces] = true
|
132
181
|
# TraceView::Config[:curb][:collect_backtraces] = true
|
133
182
|
# TraceView::Config[:dalli][:collect_backtraces] = false
|
183
|
+
# TraceView::Config[:delayed_jobclient][:collect_backtraces] = false
|
184
|
+
# TraceView::Config[:delayed_jobworker][:collect_backtraces] = false
|
134
185
|
# TraceView::Config[:excon][:collect_backtraces] = false
|
135
186
|
# TraceView::Config[:em_http_request][:collect_backtraces] = true
|
136
187
|
# TraceView::Config[:faraday][:collect_backtraces] = false
|
188
|
+
# TraceView::Config[:grape][:collect_backtraces] = false
|
137
189
|
# TraceView::Config[:httpclient][:collect_backtraces] = false
|
138
190
|
# TraceView::Config[:memcache][:collect_backtraces] = false
|
139
191
|
# TraceView::Config[:memcached][:collect_backtraces] = false
|
@@ -144,36 +196,8 @@ if defined?(TraceView::Config)
|
|
144
196
|
# TraceView::Config[:resque][:collect_backtraces] = true
|
145
197
|
# TraceView::Config[:rest_client][:collect_backtraces] = true
|
146
198
|
# TraceView::Config[:sequel][:collect_backtraces] = true
|
199
|
+
# TraceView::Config[:sidekiqclient][:collect_backtraces] = true
|
200
|
+
# TraceView::Config[:sidekiqworker][:collect_backtraces] = true
|
147
201
|
# TraceView::Config[:typhoeus][:collect_backtraces] = false
|
148
202
|
#
|
149
|
-
|
150
|
-
# By default, the curb instrumentation will not link
|
151
|
-
# outgoing requests with remotely instrumented
|
152
|
-
# webservers (aka cross host tracing). This is because the
|
153
|
-
# instrumentation can't detect if the independent libcurl
|
154
|
-
# instrumentation is in use or not.
|
155
|
-
#
|
156
|
-
# If you're sure that it's not in use/installed, then you can
|
157
|
-
# enable cross host tracing for the curb HTTP client
|
158
|
-
# here. Set TraceView::Config[:curb][:cross_host] to true
|
159
|
-
# to enable.
|
160
|
-
#
|
161
|
-
# Alternatively, if you would like to install the separate
|
162
|
-
# libcurl instrumentation, see here:
|
163
|
-
# http://docs.appneta.com/installing-libcurl-instrumentation
|
164
|
-
# TraceView::Config[:curb][:cross_host] = false
|
165
|
-
|
166
|
-
#
|
167
|
-
# Resque Options
|
168
|
-
#
|
169
|
-
# :link_workers - associates Resque enqueue operations with the jobs they queue by piggybacking
|
170
|
-
# an additional argument on the Redis queue that is stripped prior to job
|
171
|
-
# processing
|
172
|
-
# !!! Note: Make sure both the enqueue side and the Resque workers are instrumented
|
173
|
-
# before enabling this or jobs will fail !!!
|
174
|
-
# (Default: false)
|
175
|
-
# TraceView::Config[:resque][:link_workers] = false
|
176
|
-
#
|
177
|
-
# Set to true to disable Resque argument logging (Default: false)
|
178
|
-
# TraceView::Config[:resque][:log_args] = false
|
179
203
|
end
|