oboe 2.7.1.7 → 2.7.2.fuchs1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -0
- data/Gemfile +2 -0
- data/README.md +3 -3
- data/ext/oboe_metal/extconf.rb +11 -11
- data/lib/joboe_metal.rb +36 -42
- data/lib/oboe.rb +29 -26
- data/lib/oboe/api.rb +4 -0
- data/lib/oboe/api/layerinit.rb +7 -67
- data/lib/oboe/api/logging.rb +50 -28
- data/lib/oboe/api/memcache.rb +7 -5
- data/lib/oboe/api/profiling.rb +4 -4
- data/lib/oboe/api/tracing.rb +6 -5
- data/lib/oboe/api/util.rb +13 -9
- data/lib/oboe/base.rb +55 -16
- data/lib/oboe/config.rb +17 -15
- data/lib/oboe/frameworks/padrino.rb +0 -2
- data/lib/oboe/frameworks/padrino/templates.rb +5 -6
- data/lib/oboe/frameworks/rails.rb +0 -1
- data/lib/oboe/frameworks/rails/inst/action_controller.rb +4 -5
- data/lib/oboe/frameworks/rails/inst/action_view.rb +4 -4
- data/lib/oboe/frameworks/rails/inst/action_view_2x.rb +4 -4
- data/lib/oboe/frameworks/rails/inst/action_view_30.rb +2 -2
- data/lib/oboe/frameworks/rails/inst/active_record.rb +5 -5
- data/lib/oboe/frameworks/rails/inst/connection_adapters/mysql.rb +6 -6
- data/lib/oboe/frameworks/rails/inst/connection_adapters/mysql2.rb +3 -3
- data/lib/oboe/frameworks/rails/inst/connection_adapters/oracle.rb +1 -1
- data/lib/oboe/frameworks/rails/inst/connection_adapters/postgresql.rb +3 -3
- data/lib/oboe/frameworks/rails/inst/connection_adapters/utils.rb +18 -19
- data/lib/oboe/frameworks/sinatra.rb +4 -5
- data/lib/oboe/inst/cassandra.rb +17 -19
- data/lib/oboe/inst/dalli.rb +5 -5
- data/lib/oboe/inst/em-http-request.rb +13 -13
- data/lib/oboe/inst/faraday.rb +71 -0
- data/lib/oboe/inst/http.rb +4 -4
- data/lib/oboe/inst/memcache.rb +7 -10
- data/lib/oboe/inst/memcached.rb +7 -9
- data/lib/oboe/inst/mongo.rb +26 -28
- data/lib/oboe/inst/moped.rb +23 -24
- data/lib/oboe/inst/rack.rb +10 -11
- data/lib/oboe/inst/redis.rb +18 -20
- data/lib/oboe/inst/resque.rb +8 -9
- data/lib/oboe/instrumentation.rb +3 -0
- data/lib/oboe/loading.rb +19 -23
- data/lib/{method_profiling.rb → oboe/method_profiling.rb} +22 -8
- data/lib/oboe/ruby.rb +23 -3
- data/lib/oboe/support.rb +94 -0
- data/lib/oboe/thread_local.rb +9 -1
- data/lib/oboe/util.rb +90 -18
- data/lib/oboe/version.rb +5 -2
- data/lib/oboe/xtrace.rb +20 -24
- data/lib/oboe_metal.rb +16 -13
- data/lib/rails/generators/oboe/templates/oboe_initializer.rb +2 -0
- data/test/instrumentation/faraday_test.rb +142 -0
- data/test/instrumentation/moped_test.rb +2 -0
- data/test/minitest_helper.rb +0 -1
- data/test/support/config_test.rb +3 -1
- metadata +10 -5
data/test/minitest_helper.rb
CHANGED
data/test/support/config_test.rb
CHANGED
@@ -23,7 +23,7 @@ describe Oboe::Config do
|
|
23
23
|
instrumentation = Oboe::Config.instrumentation_list
|
24
24
|
|
25
25
|
# Verify the number of individual instrumentations
|
26
|
-
instrumentation.count.must_equal
|
26
|
+
instrumentation.count.must_equal 15
|
27
27
|
|
28
28
|
Oboe::Config[:action_controller][:enabled].must_equal true
|
29
29
|
Oboe::Config[:action_view][:enabled].must_equal true
|
@@ -31,6 +31,7 @@ describe Oboe::Config do
|
|
31
31
|
Oboe::Config[:cassandra][:enabled].must_equal true
|
32
32
|
Oboe::Config[:dalli][:enabled].must_equal true
|
33
33
|
Oboe::Config[:em_http_request][:enabled].must_equal false
|
34
|
+
Oboe::Config[:faraday][:enabled].must_equal true
|
34
35
|
Oboe::Config[:nethttp][:enabled].must_equal true
|
35
36
|
Oboe::Config[:memcached][:enabled].must_equal true
|
36
37
|
Oboe::Config[:memcache][:enabled].must_equal true
|
@@ -46,6 +47,7 @@ describe Oboe::Config do
|
|
46
47
|
Oboe::Config[:cassandra][:log_args].must_equal true
|
47
48
|
Oboe::Config[:dalli][:log_args].must_equal true
|
48
49
|
Oboe::Config[:em_http_request][:log_args].must_equal true
|
50
|
+
Oboe::Config[:faraday][:log_args].must_equal true
|
49
51
|
Oboe::Config[:nethttp][:log_args].must_equal true
|
50
52
|
Oboe::Config[:memcached][:log_args].must_equal true
|
51
53
|
Oboe::Config[:memcache][:log_args].must_equal true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oboe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.2.fuchs1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -49,6 +49,7 @@ extra_rdoc_files:
|
|
49
49
|
- LICENSE
|
50
50
|
files:
|
51
51
|
- ".gitignore"
|
52
|
+
- ".rubocop.yml"
|
52
53
|
- ".travis.yml"
|
53
54
|
- Appraisals
|
54
55
|
- CHANGELOG.md
|
@@ -69,7 +70,6 @@ files:
|
|
69
70
|
- get_version.rb
|
70
71
|
- init.rb
|
71
72
|
- lib/joboe_metal.rb
|
72
|
-
- lib/method_profiling.rb
|
73
73
|
- lib/oboe.rb
|
74
74
|
- lib/oboe/api.rb
|
75
75
|
- lib/oboe/api/layerinit.rb
|
@@ -102,6 +102,7 @@ files:
|
|
102
102
|
- lib/oboe/inst/cassandra.rb
|
103
103
|
- lib/oboe/inst/dalli.rb
|
104
104
|
- lib/oboe/inst/em-http-request.rb
|
105
|
+
- lib/oboe/inst/faraday.rb
|
105
106
|
- lib/oboe/inst/http.rb
|
106
107
|
- lib/oboe/inst/memcache.rb
|
107
108
|
- lib/oboe/inst/memcached.rb
|
@@ -113,7 +114,9 @@ files:
|
|
113
114
|
- lib/oboe/instrumentation.rb
|
114
115
|
- lib/oboe/loading.rb
|
115
116
|
- lib/oboe/logger.rb
|
117
|
+
- lib/oboe/method_profiling.rb
|
116
118
|
- lib/oboe/ruby.rb
|
119
|
+
- lib/oboe/support.rb
|
117
120
|
- lib/oboe/thread_local.rb
|
118
121
|
- lib/oboe/util.rb
|
119
122
|
- lib/oboe/version.rb
|
@@ -132,6 +135,7 @@ files:
|
|
132
135
|
- test/instrumentation/cassandra_test.rb
|
133
136
|
- test/instrumentation/dalli_test.rb
|
134
137
|
- test/instrumentation/em_http_request_test.rb
|
138
|
+
- test/instrumentation/faraday_test.rb
|
135
139
|
- test/instrumentation/http_test.rb
|
136
140
|
- test/instrumentation/memcache_test.rb
|
137
141
|
- test/instrumentation/memcached_test.rb
|
@@ -166,9 +170,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
170
|
version: 1.8.6
|
167
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
168
172
|
requirements:
|
169
|
-
- - "
|
173
|
+
- - ">"
|
170
174
|
- !ruby/object:Gem::Version
|
171
|
-
version:
|
175
|
+
version: 1.3.1
|
172
176
|
requirements: []
|
173
177
|
rubyforge_project:
|
174
178
|
rubygems_version: 2.2.2
|
@@ -197,6 +201,7 @@ test_files:
|
|
197
201
|
- test/instrumentation/moped_test.rb
|
198
202
|
- test/instrumentation/rack_test.rb
|
199
203
|
- test/instrumentation/memcache_test.rb
|
204
|
+
- test/instrumentation/faraday_test.rb
|
200
205
|
- test/instrumentation/redis_lists_test.rb
|
201
206
|
- test/instrumentation/cassandra_test.rb
|
202
207
|
- test/instrumentation/memcached_test.rb
|