instana 1.192.0 → 1.193.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +200 -133
- data/.editorconfig +10 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +5 -1147
- data/.rubocop_todo.yml +1140 -0
- data/Appraisals +100 -0
- data/Gemfile +11 -32
- data/Rakefile +16 -39
- data/bin/console +5 -4
- data/gemfiles/.bundle/config +1 -2
- data/gemfiles/cuba_30.gemfile +15 -0
- data/gemfiles/dalli_20.gemfile +15 -0
- data/gemfiles/excon_02.gemfile +15 -0
- data/gemfiles/graphql_10.gemfile +15 -0
- data/gemfiles/grpc_10.gemfile +15 -0
- data/gemfiles/net_http_01.gemfile +14 -0
- data/gemfiles/rack_16.gemfile +15 -0
- data/gemfiles/rack_20.gemfile +15 -0
- data/gemfiles/rails_42.gemfile +18 -0
- data/gemfiles/rails_50.gemfile +18 -0
- data/gemfiles/rails_52.gemfile +18 -0
- data/gemfiles/rails_60.gemfile +18 -0
- data/gemfiles/redis_40.gemfile +15 -0
- data/gemfiles/resque_122.gemfile +16 -0
- data/gemfiles/resque_20.gemfile +15 -0
- data/gemfiles/rest_client_16.gemfile +15 -0
- data/gemfiles/rest_client_20.gemfile +15 -0
- data/gemfiles/roda_20.gemfile +15 -0
- data/gemfiles/roda_30.gemfile +15 -0
- data/gemfiles/sidekiq_42.gemfile +15 -0
- data/gemfiles/sidekiq_50.gemfile +15 -0
- data/gemfiles/sinatra_14.gemfile +15 -0
- data/instana.gemspec +1 -7
- data/lib/instana/activator.rb +41 -0
- data/lib/instana/activators/action_controller_api.rb +18 -0
- data/lib/instana/activators/action_controller_base.rb +18 -0
- data/lib/instana/activators/action_view.rb +18 -0
- data/lib/instana/activators/active_record.rb +18 -0
- data/lib/instana/activators/cuba.rb +18 -0
- data/lib/instana/activators/dalli.rb +20 -0
- data/lib/instana/activators/excon.rb +17 -0
- data/lib/instana/activators/graphql.rb +19 -0
- data/lib/instana/activators/grpc_client.rb +17 -0
- data/lib/instana/activators/grpc_server.rb +17 -0
- data/lib/instana/activators/net_http.rb +17 -0
- data/lib/instana/activators/rack.rb +13 -0
- data/lib/instana/activators/rails.rb +15 -0
- data/lib/instana/activators/redis.rb +17 -0
- data/lib/instana/activators/resque_client.rb +18 -0
- data/lib/instana/activators/resque_worker.rb +30 -0
- data/lib/instana/activators/rest_client.rb +17 -0
- data/lib/instana/activators/roda.rb +18 -0
- data/lib/instana/activators/sidekiq_client.rb +21 -0
- data/lib/instana/activators/sidekiq_worker.rb +21 -0
- data/lib/instana/activators/sinatra.rb +18 -0
- data/lib/instana/frameworks/cuba.rb +6 -13
- data/lib/instana/frameworks/rails.rb +20 -33
- data/lib/instana/frameworks/roda.rb +7 -13
- data/lib/instana/frameworks/sinatra.rb +1 -8
- data/lib/instana/instrumentation/action_controller.rb +81 -0
- data/lib/instana/instrumentation/action_view.rb +27 -0
- data/lib/instana/instrumentation/active_record.rb +47 -0
- data/lib/instana/instrumentation/dalli.rb +7 -18
- data/lib/instana/instrumentation/excon.rb +51 -57
- data/lib/instana/instrumentation/graphql.rb +16 -18
- data/lib/instana/instrumentation/grpc.rb +70 -66
- data/lib/instana/instrumentation/instrumented_request.rb +69 -0
- data/lib/instana/instrumentation/net-http.rb +43 -47
- data/lib/instana/instrumentation/rack.rb +14 -53
- data/lib/instana/instrumentation/redis.rb +10 -18
- data/lib/instana/instrumentation/resque.rb +14 -50
- data/lib/instana/instrumentation/rest-client.rb +2 -17
- data/lib/instana/instrumentation/sidekiq-client.rb +0 -9
- data/lib/instana/instrumentation/sidekiq-worker.rb +0 -9
- data/lib/instana/secrets.rb +7 -7
- data/lib/instana/setup.rb +3 -1
- data/lib/instana/tracer.rb +6 -0
- data/lib/instana/util.rb +15 -69
- data/lib/instana/version.rb +1 -1
- data/test/activator_test.rb +27 -0
- data/test/frameworks/cuba_test.rb +38 -40
- data/test/frameworks/roda_test.rb +39 -41
- data/test/frameworks/sinatra_test.rb +61 -64
- data/test/instrumentation/excon_test.rb +1 -0
- data/test/instrumentation/grpc_test.rb +2 -1
- data/test/instrumentation/{net-http_test.rb → net_http_test.rb} +1 -0
- data/test/instrumentation/rack_instrumented_request_test.rb +84 -0
- data/test/{frameworks → instrumentation}/rack_test.rb +30 -10
- data/test/{frameworks/rails/actioncontroller_test.rb → instrumentation/rails_action_controller_test.rb} +37 -21
- data/test/instrumentation/rails_action_view_test.rb +148 -0
- data/test/instrumentation/rails_active_record_test.rb +121 -0
- data/test/instrumentation/resque_test.rb +3 -11
- data/test/instrumentation/{rest-client_test.rb → rest_client_test.rb} +6 -0
- data/test/instrumentation/sidekiq-client_test.rb +1 -0
- data/test/instrumentation/sidekiq-worker_test.rb +1 -0
- data/test/support/apps/active_record/active_record.rb +21 -0
- data/test/{servers/grpc_50051.rb → support/apps/grpc/boot.rb} +1 -1
- data/test/{apps → support/apps/grpc}/grpc_server.rb +0 -0
- data/test/{servers/rackapp_6511.rb → support/apps/http_endpoint/boot.rb} +0 -0
- data/test/{servers/rails_3205.rb → support/apps/rails/boot.rb} +8 -14
- data/test/{models → support/apps/rails/models}/block.rb +1 -1
- data/test/{models → support/apps/rails/models}/block6.rb +0 -0
- data/test/support/apps/resque/boot.rb +2 -0
- data/test/{jobs → support/apps/resque/jobs}/resque_error_job.rb +0 -0
- data/test/{jobs → support/apps/resque/jobs}/resque_fast_job.rb +0 -0
- data/test/support/apps/sidekiq/boot.rb +21 -0
- data/test/{jobs → support/apps/sidekiq/jobs}/sidekiq_job_1.rb +0 -0
- data/test/{jobs → support/apps/sidekiq/jobs}/sidekiq_job_2.rb +0 -0
- data/test/{servers → support/apps}/sidekiq/worker.rb +2 -2
- data/test/support/helpers.rb +94 -0
- data/test/test_helper.rb +24 -144
- data/test/tracing/id_management_test.rb +4 -66
- metadata +103 -95
- data/gemfiles/libraries.gemfile +0 -73
- data/gemfiles/rails32.gemfile +0 -51
- data/gemfiles/rails42.gemfile +0 -50
- data/gemfiles/rails50.gemfile +0 -52
- data/gemfiles/rails52.gemfile +0 -52
- data/gemfiles/rails60.gemfile +0 -72
- data/lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb +0 -58
- data/lib/instana/frameworks/instrumentation/action_controller.rb +0 -194
- data/lib/instana/frameworks/instrumentation/action_view.rb +0 -43
- data/lib/instana/frameworks/instrumentation/active_record.rb +0 -27
- data/lib/instana/frameworks/instrumentation/mysql2_adapter.rb +0 -87
- data/lib/instana/frameworks/instrumentation/mysql_adapter.rb +0 -62
- data/lib/instana/frameworks/instrumentation/postgresql_adapter.rb +0 -103
- data/lib/instana/instrumentation.rb +0 -25
- data/lib/instana/test.rb +0 -43
- data/test/apps/cuba.rb +0 -19
- data/test/apps/roda.rb +0 -13
- data/test/apps/sinatra.rb +0 -9
- data/test/frameworks/rails/actionview3_test.rb +0 -210
- data/test/frameworks/rails/actionview4_test.rb +0 -208
- data/test/frameworks/rails/actionview5_test.rb +0 -221
- data/test/frameworks/rails/activerecord_test.rb +0 -279
- data/test/servers/helpers/sidekiq_worker_initializer.rb +0 -27
@@ -49,82 +49,20 @@ class TracerIDMgmtTest < Minitest::Test
|
|
49
49
|
converted_id = Instana::Util.header_to_id(header_id)
|
50
50
|
|
51
51
|
# Assert that it is an Integer
|
52
|
-
assert converted_id.is_a?(
|
52
|
+
assert converted_id.is_a?(String)
|
53
53
|
end
|
54
54
|
|
55
55
|
def test_header_to_id_conversion_with_bogus_header
|
56
56
|
# Bogus nil arg
|
57
57
|
bogus_result = Instana::Util.header_to_id(nil)
|
58
|
-
assert_equal
|
58
|
+
assert_equal '', bogus_result
|
59
59
|
|
60
60
|
# Bogus Integer arg
|
61
61
|
bogus_result = Instana::Util.header_to_id(1234)
|
62
|
-
assert_equal
|
62
|
+
assert_equal '', bogus_result
|
63
63
|
|
64
64
|
# Bogus Array arg
|
65
65
|
bogus_result = Instana::Util.header_to_id([1234])
|
66
|
-
assert_equal
|
67
|
-
end
|
68
|
-
|
69
|
-
def test_id_conversion_back_and_forth
|
70
|
-
# id --> header --> id
|
71
|
-
original_id = ::Instana::Util.generate_id
|
72
|
-
header_id = Instana::Util.id_to_header(original_id)
|
73
|
-
converted_back_id = Instana::Util.header_to_id(header_id)
|
74
|
-
assert original_id == converted_back_id
|
75
|
-
|
76
|
-
# header --> id --> header
|
77
|
-
original_header_id = "c025ee93b1aeda7b"
|
78
|
-
id = Instana::Util.header_to_id(original_header_id)
|
79
|
-
converted_back_header_id = Instana::Util.id_to_header(id)
|
80
|
-
assert_equal original_header_id, converted_back_header_id
|
81
|
-
|
82
|
-
# Test a random value
|
83
|
-
id = -7815363404733516491
|
84
|
-
header = "938a406416457535"
|
85
|
-
|
86
|
-
result = Instana::Util.header_to_id(header)
|
87
|
-
assert_equal id, result
|
88
|
-
|
89
|
-
result = Instana::Util.id_to_header(id)
|
90
|
-
assert_equal header, result
|
91
|
-
|
92
|
-
10000.times do
|
93
|
-
original_id = ::Instana::Util.generate_id
|
94
|
-
header_id = Instana::Util.id_to_header(original_id)
|
95
|
-
converted_back_id = Instana::Util.header_to_id(header_id)
|
96
|
-
assert original_id == converted_back_id
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
def test_id_max_value_and_conversion
|
101
|
-
max_id = 9223372036854775807
|
102
|
-
min_id = -9223372036854775808
|
103
|
-
max_hex = "7fffffffffffffff"
|
104
|
-
min_hex = "8000000000000000"
|
105
|
-
|
106
|
-
assert_equal max_hex, Instana::Util.id_to_header(max_id)
|
107
|
-
assert_equal min_hex, Instana::Util.id_to_header(min_id)
|
108
|
-
|
109
|
-
assert_equal max_id, Instana::Util.header_to_id(max_hex)
|
110
|
-
assert_equal min_id, Instana::Util.header_to_id(min_hex)
|
111
|
-
end
|
112
|
-
|
113
|
-
def test_that_leading_zeros_handled_correctly
|
114
|
-
|
115
|
-
header = ::Instana::Util.id_to_header(16)
|
116
|
-
assert_equal "10", header
|
117
|
-
|
118
|
-
id = ::Instana::Util.header_to_id("10")
|
119
|
-
assert_equal 16, id
|
120
|
-
|
121
|
-
id = ::Instana::Util.header_to_id("0000000000000010")
|
122
|
-
assert_equal 16, id
|
123
|
-
|
124
|
-
id = ::Instana::Util.header_to_id("88b6c735206ca42")
|
125
|
-
assert_equal 615705016619420226, id
|
126
|
-
|
127
|
-
id = ::Instana::Util.header_to_id("088b6c735206ca42")
|
128
|
-
assert_equal 615705016619420226, id
|
66
|
+
assert_equal '', bogus_result
|
129
67
|
end
|
130
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.193.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Giacomo Lombardo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -53,47 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: appraisal
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: byebug
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 8.0.0
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 8.0.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pry-byebug
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 3.0.0
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 3.0.0
|
68
|
+
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: sys-proctable
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,9 +147,12 @@ extra_rdoc_files: []
|
|
175
147
|
files:
|
176
148
|
- ".circleci/config.yml"
|
177
149
|
- ".codeclimate.yml"
|
150
|
+
- ".editorconfig"
|
178
151
|
- ".fasterer.yml"
|
179
152
|
- ".gitignore"
|
180
153
|
- ".rubocop.yml"
|
154
|
+
- ".rubocop_todo.yml"
|
155
|
+
- Appraisals
|
181
156
|
- Dockerfile
|
182
157
|
- Gemfile
|
183
158
|
- LICENSE
|
@@ -196,14 +171,52 @@ files:
|
|
196
171
|
- examples/opentracing.rb
|
197
172
|
- examples/tracing.rb
|
198
173
|
- gemfiles/.bundle/config
|
199
|
-
- gemfiles/
|
200
|
-
- gemfiles/
|
201
|
-
- gemfiles/
|
202
|
-
- gemfiles/
|
203
|
-
- gemfiles/
|
204
|
-
- gemfiles/
|
174
|
+
- gemfiles/cuba_30.gemfile
|
175
|
+
- gemfiles/dalli_20.gemfile
|
176
|
+
- gemfiles/excon_02.gemfile
|
177
|
+
- gemfiles/graphql_10.gemfile
|
178
|
+
- gemfiles/grpc_10.gemfile
|
179
|
+
- gemfiles/net_http_01.gemfile
|
180
|
+
- gemfiles/rack_16.gemfile
|
181
|
+
- gemfiles/rack_20.gemfile
|
182
|
+
- gemfiles/rails_42.gemfile
|
183
|
+
- gemfiles/rails_50.gemfile
|
184
|
+
- gemfiles/rails_52.gemfile
|
185
|
+
- gemfiles/rails_60.gemfile
|
186
|
+
- gemfiles/redis_40.gemfile
|
187
|
+
- gemfiles/resque_122.gemfile
|
188
|
+
- gemfiles/resque_20.gemfile
|
189
|
+
- gemfiles/rest_client_16.gemfile
|
190
|
+
- gemfiles/rest_client_20.gemfile
|
191
|
+
- gemfiles/roda_20.gemfile
|
192
|
+
- gemfiles/roda_30.gemfile
|
193
|
+
- gemfiles/sidekiq_42.gemfile
|
194
|
+
- gemfiles/sidekiq_50.gemfile
|
195
|
+
- gemfiles/sinatra_14.gemfile
|
205
196
|
- instana.gemspec
|
206
197
|
- lib/instana.rb
|
198
|
+
- lib/instana/activator.rb
|
199
|
+
- lib/instana/activators/action_controller_api.rb
|
200
|
+
- lib/instana/activators/action_controller_base.rb
|
201
|
+
- lib/instana/activators/action_view.rb
|
202
|
+
- lib/instana/activators/active_record.rb
|
203
|
+
- lib/instana/activators/cuba.rb
|
204
|
+
- lib/instana/activators/dalli.rb
|
205
|
+
- lib/instana/activators/excon.rb
|
206
|
+
- lib/instana/activators/graphql.rb
|
207
|
+
- lib/instana/activators/grpc_client.rb
|
208
|
+
- lib/instana/activators/grpc_server.rb
|
209
|
+
- lib/instana/activators/net_http.rb
|
210
|
+
- lib/instana/activators/rack.rb
|
211
|
+
- lib/instana/activators/rails.rb
|
212
|
+
- lib/instana/activators/redis.rb
|
213
|
+
- lib/instana/activators/resque_client.rb
|
214
|
+
- lib/instana/activators/resque_worker.rb
|
215
|
+
- lib/instana/activators/rest_client.rb
|
216
|
+
- lib/instana/activators/roda.rb
|
217
|
+
- lib/instana/activators/sidekiq_client.rb
|
218
|
+
- lib/instana/activators/sidekiq_worker.rb
|
219
|
+
- lib/instana/activators/sinatra.rb
|
207
220
|
- lib/instana/agent.rb
|
208
221
|
- lib/instana/agent/helpers.rb
|
209
222
|
- lib/instana/agent/hooks.rb
|
@@ -217,22 +230,18 @@ files:
|
|
217
230
|
- lib/instana/eum/eum-test.js.erb
|
218
231
|
- lib/instana/eum/eum.js.erb
|
219
232
|
- lib/instana/frameworks/cuba.rb
|
220
|
-
- lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb
|
221
|
-
- lib/instana/frameworks/instrumentation/action_controller.rb
|
222
|
-
- lib/instana/frameworks/instrumentation/action_view.rb
|
223
|
-
- lib/instana/frameworks/instrumentation/active_record.rb
|
224
|
-
- lib/instana/frameworks/instrumentation/mysql2_adapter.rb
|
225
|
-
- lib/instana/frameworks/instrumentation/mysql_adapter.rb
|
226
|
-
- lib/instana/frameworks/instrumentation/postgresql_adapter.rb
|
227
233
|
- lib/instana/frameworks/rails.rb
|
228
234
|
- lib/instana/frameworks/roda.rb
|
229
235
|
- lib/instana/frameworks/sinatra.rb
|
230
236
|
- lib/instana/helpers.rb
|
231
|
-
- lib/instana/instrumentation.rb
|
237
|
+
- lib/instana/instrumentation/action_controller.rb
|
238
|
+
- lib/instana/instrumentation/action_view.rb
|
239
|
+
- lib/instana/instrumentation/active_record.rb
|
232
240
|
- lib/instana/instrumentation/dalli.rb
|
233
241
|
- lib/instana/instrumentation/excon.rb
|
234
242
|
- lib/instana/instrumentation/graphql.rb
|
235
243
|
- lib/instana/instrumentation/grpc.rb
|
244
|
+
- lib/instana/instrumentation/instrumented_request.rb
|
236
245
|
- lib/instana/instrumentation/net-http.rb
|
237
246
|
- lib/instana/instrumentation/rack.rb
|
238
247
|
- lib/instana/instrumentation/redis.rb
|
@@ -245,7 +254,6 @@ files:
|
|
245
254
|
- lib/instana/rack.rb
|
246
255
|
- lib/instana/secrets.rb
|
247
256
|
- lib/instana/setup.rb
|
248
|
-
- lib/instana/test.rb
|
249
257
|
- lib/instana/thread_local.rb
|
250
258
|
- lib/instana/tracer.rb
|
251
259
|
- lib/instana/tracing/processor.rb
|
@@ -256,21 +264,12 @@ files:
|
|
256
264
|
- lib/oj_check.rb
|
257
265
|
- lib/opentracing.rb
|
258
266
|
- log/.keep
|
267
|
+
- test/activator_test.rb
|
259
268
|
- test/agent/agent_test.rb
|
260
|
-
- test/apps/cuba.rb
|
261
|
-
- test/apps/grpc_server.rb
|
262
|
-
- test/apps/roda.rb
|
263
|
-
- test/apps/sinatra.rb
|
264
269
|
- test/benchmarks/bench_id_generation.rb
|
265
270
|
- test/benchmarks/bench_opentracing.rb
|
266
271
|
- test/config_test.rb
|
267
272
|
- test/frameworks/cuba_test.rb
|
268
|
-
- test/frameworks/rack_test.rb
|
269
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
270
|
-
- test/frameworks/rails/actionview3_test.rb
|
271
|
-
- test/frameworks/rails/actionview4_test.rb
|
272
|
-
- test/frameworks/rails/actionview5_test.rb
|
273
|
-
- test/frameworks/rails/activerecord_test.rb
|
274
273
|
- test/frameworks/roda_test.rb
|
275
274
|
- test/frameworks/sinatra_test.rb
|
276
275
|
- test/instana_test.rb
|
@@ -278,24 +277,33 @@ files:
|
|
278
277
|
- test/instrumentation/excon_test.rb
|
279
278
|
- test/instrumentation/graphql_test.rb
|
280
279
|
- test/instrumentation/grpc_test.rb
|
281
|
-
- test/instrumentation/
|
280
|
+
- test/instrumentation/net_http_test.rb
|
281
|
+
- test/instrumentation/rack_instrumented_request_test.rb
|
282
|
+
- test/instrumentation/rack_test.rb
|
283
|
+
- test/instrumentation/rails_action_controller_test.rb
|
284
|
+
- test/instrumentation/rails_action_view_test.rb
|
285
|
+
- test/instrumentation/rails_active_record_test.rb
|
282
286
|
- test/instrumentation/redis_test.rb
|
283
287
|
- test/instrumentation/resque_test.rb
|
284
|
-
- test/instrumentation/
|
288
|
+
- test/instrumentation/rest_client_test.rb
|
285
289
|
- test/instrumentation/sidekiq-client_test.rb
|
286
290
|
- test/instrumentation/sidekiq-worker_test.rb
|
287
|
-
- test/jobs/resque_error_job.rb
|
288
|
-
- test/jobs/resque_fast_job.rb
|
289
|
-
- test/jobs/sidekiq_job_1.rb
|
290
|
-
- test/jobs/sidekiq_job_2.rb
|
291
|
-
- test/models/block.rb
|
292
|
-
- test/models/block6.rb
|
293
291
|
- test/secrets_test.rb
|
294
|
-
- test/
|
295
|
-
- test/
|
296
|
-
- test/
|
297
|
-
- test/
|
298
|
-
- test/
|
292
|
+
- test/support/apps/active_record/active_record.rb
|
293
|
+
- test/support/apps/grpc/boot.rb
|
294
|
+
- test/support/apps/grpc/grpc_server.rb
|
295
|
+
- test/support/apps/http_endpoint/boot.rb
|
296
|
+
- test/support/apps/rails/boot.rb
|
297
|
+
- test/support/apps/rails/models/block.rb
|
298
|
+
- test/support/apps/rails/models/block6.rb
|
299
|
+
- test/support/apps/resque/boot.rb
|
300
|
+
- test/support/apps/resque/jobs/resque_error_job.rb
|
301
|
+
- test/support/apps/resque/jobs/resque_fast_job.rb
|
302
|
+
- test/support/apps/sidekiq/boot.rb
|
303
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
304
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
305
|
+
- test/support/apps/sidekiq/worker.rb
|
306
|
+
- test/support/helpers.rb
|
299
307
|
- test/test_helper.rb
|
300
308
|
- test/tracing/custom_test.rb
|
301
309
|
- test/tracing/id_management_test.rb
|
@@ -325,54 +333,54 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
325
333
|
- !ruby/object:Gem::Version
|
326
334
|
version: '0'
|
327
335
|
requirements: []
|
328
|
-
rubygems_version: 3.
|
336
|
+
rubygems_version: 3.2.6
|
329
337
|
signing_key:
|
330
338
|
specification_version: 4
|
331
339
|
summary: Ruby Distributed Tracing & Metrics Sensor for Instana
|
332
340
|
test_files:
|
333
341
|
- test/config_test.rb
|
342
|
+
- test/activator_test.rb
|
334
343
|
- test/tracing/id_management_test.rb
|
335
344
|
- test/tracing/tracer_test.rb
|
336
345
|
- test/tracing/custom_test.rb
|
337
346
|
- test/tracing/opentracing_test.rb
|
338
347
|
- test/tracing/tracer_async_test.rb
|
339
348
|
- test/agent/agent_test.rb
|
340
|
-
- test/models/block.rb
|
341
|
-
- test/models/block6.rb
|
342
349
|
- test/secrets_test.rb
|
343
350
|
- test/instrumentation/graphql_test.rb
|
344
351
|
- test/instrumentation/sidekiq-client_test.rb
|
352
|
+
- test/instrumentation/rails_action_controller_test.rb
|
353
|
+
- test/instrumentation/rest_client_test.rb
|
354
|
+
- test/instrumentation/net_http_test.rb
|
345
355
|
- test/instrumentation/resque_test.rb
|
346
356
|
- test/instrumentation/sidekiq-worker_test.rb
|
357
|
+
- test/instrumentation/rails_action_view_test.rb
|
358
|
+
- test/instrumentation/rack_test.rb
|
359
|
+
- test/instrumentation/rack_instrumented_request_test.rb
|
360
|
+
- test/instrumentation/rails_active_record_test.rb
|
347
361
|
- test/instrumentation/redis_test.rb
|
348
|
-
- test/instrumentation/rest-client_test.rb
|
349
362
|
- test/instrumentation/dalli_test.rb
|
350
363
|
- test/instrumentation/excon_test.rb
|
351
364
|
- test/instrumentation/grpc_test.rb
|
352
|
-
- test/
|
365
|
+
- test/support/helpers.rb
|
366
|
+
- test/support/apps/sidekiq/boot.rb
|
367
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
368
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
369
|
+
- test/support/apps/sidekiq/worker.rb
|
370
|
+
- test/support/apps/grpc/boot.rb
|
371
|
+
- test/support/apps/grpc/grpc_server.rb
|
372
|
+
- test/support/apps/active_record/active_record.rb
|
373
|
+
- test/support/apps/resque/boot.rb
|
374
|
+
- test/support/apps/resque/jobs/resque_error_job.rb
|
375
|
+
- test/support/apps/resque/jobs/resque_fast_job.rb
|
376
|
+
- test/support/apps/http_endpoint/boot.rb
|
377
|
+
- test/support/apps/rails/models/block.rb
|
378
|
+
- test/support/apps/rails/models/block6.rb
|
379
|
+
- test/support/apps/rails/boot.rb
|
353
380
|
- test/benchmarks/bench_opentracing.rb
|
354
381
|
- test/benchmarks/bench_id_generation.rb
|
355
382
|
- test/test_helper.rb
|
356
|
-
- test/jobs/sidekiq_job_2.rb
|
357
|
-
- test/jobs/resque_error_job.rb
|
358
|
-
- test/jobs/sidekiq_job_1.rb
|
359
|
-
- test/jobs/resque_fast_job.rb
|
360
383
|
- test/frameworks/cuba_test.rb
|
361
|
-
- test/frameworks/rack_test.rb
|
362
384
|
- test/frameworks/roda_test.rb
|
363
385
|
- test/frameworks/sinatra_test.rb
|
364
|
-
- test/frameworks/rails/actionview4_test.rb
|
365
|
-
- test/frameworks/rails/activerecord_test.rb
|
366
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
367
|
-
- test/frameworks/rails/actionview5_test.rb
|
368
|
-
- test/frameworks/rails/actionview3_test.rb
|
369
|
-
- test/apps/sinatra.rb
|
370
|
-
- test/apps/roda.rb
|
371
|
-
- test/apps/cuba.rb
|
372
|
-
- test/apps/grpc_server.rb
|
373
|
-
- test/servers/rackapp_6511.rb
|
374
|
-
- test/servers/sidekiq/worker.rb
|
375
|
-
- test/servers/grpc_50051.rb
|
376
|
-
- test/servers/rails_3205.rb
|
377
|
-
- test/servers/helpers/sidekiq_worker_initializer.rb
|
378
386
|
- test/instana_test.rb
|
data/gemfiles/libraries.gemfile
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
group :development, :test do
|
4
|
-
gem 'rake'
|
5
|
-
gem 'minitest', '5.9.1'
|
6
|
-
gem 'minitest-reporters'
|
7
|
-
gem 'minitest-debugger', :require => false
|
8
|
-
gem 'rack-test'
|
9
|
-
gem 'webmock'
|
10
|
-
gem 'puma'
|
11
|
-
# public_suffix dropped support for Ruby 2.1 and earlier.
|
12
|
-
gem 'public_suffix', '< 3.0'
|
13
|
-
end
|
14
|
-
|
15
|
-
group :development do
|
16
|
-
gem 'ruby-debug', :platforms => [:mri_18, :jruby]
|
17
|
-
gem 'debugger', :platform => :mri_19
|
18
|
-
|
19
|
-
if RUBY_VERSION > '1.8.7'
|
20
|
-
gem 'pry'
|
21
|
-
|
22
|
-
if RUBY_VERSION < '2.2'
|
23
|
-
gem 'byebug', '< 9.1.0'
|
24
|
-
gem 'pry-byebug'
|
25
|
-
else
|
26
|
-
gem 'pry-byebug'
|
27
|
-
end
|
28
|
-
else
|
29
|
-
gem 'pry', '0.9.12.4'
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
# Frameworks
|
34
|
-
gem "sinatra", '1.4.7'
|
35
|
-
gem "cuba"
|
36
|
-
gem "roda"
|
37
|
-
|
38
|
-
# gRPC
|
39
|
-
gem 'grpc'
|
40
|
-
|
41
|
-
# HTTP Clients
|
42
|
-
gem 'rest-client'
|
43
|
-
|
44
|
-
# Webservers
|
45
|
-
gem "puma"
|
46
|
-
|
47
|
-
# HTTP Clients
|
48
|
-
gem 'excon'
|
49
|
-
|
50
|
-
# Memcache
|
51
|
-
gem 'dalli'
|
52
|
-
gem 'redis'
|
53
|
-
|
54
|
-
# Background Job queuing and processing
|
55
|
-
if RUBY_VERSION < '2.2'
|
56
|
-
gem 'sidekiq', '~> 4.2.10'
|
57
|
-
else
|
58
|
-
gem 'sidekiq', '> 5.0'
|
59
|
-
end
|
60
|
-
|
61
|
-
gem 'resque'
|
62
|
-
|
63
|
-
# Rack v2 dropped support for Ruby 2.2 and higher.
|
64
|
-
if RUBY_VERSION < '2.2'
|
65
|
-
gem 'rack', '< 2.0'
|
66
|
-
end
|
67
|
-
|
68
|
-
gem 'graphql'
|
69
|
-
|
70
|
-
# Include the Instana Ruby gem's base set of gems
|
71
|
-
gemspec :path => File.expand_path(File.dirname(__FILE__) + '/../')
|
72
|
-
|
73
|
-
# vim:syntax=ruby
|