instana 1.193.3.pre1 → 1.195.0
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 +22 -12
- data/.gitignore +2 -1
- data/.rubocop.yml +7 -0
- data/Appraisals +11 -0
- data/Gemfile +3 -0
- data/LICENSE +2 -1
- data/Rakefile +3 -0
- data/benchmarks/10k-rack-traces.rb +3 -0
- data/benchmarks/Gemfile +4 -0
- data/benchmarks/id_generation.rb +4 -0
- data/benchmarks/opentracing.rb +4 -0
- data/benchmarks/rack_vanilla_vs_traced.rb +3 -0
- data/benchmarks/stackprof_rack_tracing.rb +3 -0
- data/benchmarks/time_processing.rb +4 -0
- data/bin/console +3 -0
- data/examples/opentracing.rb +4 -0
- data/examples/tracing.rb +4 -0
- data/extras/license_header.rb +44 -0
- data/gemfiles/aws_30.gemfile +18 -0
- data/gemfiles/cuba_30.gemfile +4 -0
- data/gemfiles/dalli_20.gemfile +4 -0
- data/gemfiles/excon_02.gemfile +4 -0
- data/gemfiles/graphql_10.gemfile +4 -0
- data/gemfiles/grpc_10.gemfile +4 -0
- data/gemfiles/net_http_01.gemfile +4 -0
- data/gemfiles/rack_16.gemfile +4 -0
- data/gemfiles/rack_20.gemfile +4 -0
- data/gemfiles/rails_42.gemfile +5 -0
- data/gemfiles/rails_50.gemfile +5 -0
- data/gemfiles/rails_52.gemfile +5 -0
- data/gemfiles/rails_60.gemfile +5 -0
- data/gemfiles/redis_40.gemfile +4 -0
- data/gemfiles/resque_122.gemfile +4 -0
- data/gemfiles/resque_20.gemfile +4 -0
- data/gemfiles/rest_client_16.gemfile +4 -0
- data/gemfiles/rest_client_20.gemfile +4 -0
- data/gemfiles/roda_20.gemfile +4 -0
- data/gemfiles/roda_30.gemfile +4 -0
- data/gemfiles/sidekiq_42.gemfile +4 -0
- data/gemfiles/sidekiq_50.gemfile +4 -0
- data/gemfiles/sinatra_14.gemfile +4 -0
- data/instana.gemspec +4 -0
- data/lib/instana.rb +3 -0
- data/lib/instana/activator.rb +3 -0
- data/lib/instana/activators/action_cable.rb +24 -0
- data/lib/instana/activators/action_controller_api.rb +21 -0
- data/lib/instana/activators/action_controller_base.rb +21 -0
- data/lib/instana/activators/action_view.rb +21 -0
- data/lib/instana/activators/active_record.rb +21 -0
- data/lib/instana/activators/aws_sdk_dynamodb.rb +20 -0
- data/lib/instana/activators/cuba.rb +3 -0
- data/lib/instana/activators/dalli.rb +3 -0
- data/lib/instana/activators/excon.rb +3 -0
- data/lib/instana/activators/graphql.rb +3 -0
- data/lib/instana/activators/grpc_client.rb +3 -0
- data/lib/instana/activators/grpc_server.rb +3 -0
- data/lib/instana/activators/net_http.rb +3 -0
- data/lib/instana/activators/rack.rb +3 -0
- data/lib/instana/activators/rails.rb +3 -0
- data/lib/instana/activators/redis.rb +3 -0
- data/lib/instana/activators/resque_client.rb +3 -0
- data/lib/instana/activators/resque_worker.rb +3 -0
- data/lib/instana/activators/rest_client.rb +3 -0
- data/lib/instana/activators/roda.rb +3 -0
- data/lib/instana/activators/sidekiq_client.rb +3 -0
- data/lib/instana/activators/sidekiq_worker.rb +3 -0
- data/lib/instana/activators/sinatra.rb +3 -0
- data/lib/instana/agent.rb +3 -0
- data/lib/instana/agent/helpers.rb +3 -0
- data/lib/instana/agent/hooks.rb +3 -0
- data/lib/instana/agent/tasks.rb +3 -0
- data/lib/instana/base.rb +3 -0
- data/lib/instana/collector.rb +3 -0
- data/lib/instana/collectors/gc.rb +3 -0
- data/lib/instana/collectors/memory.rb +3 -0
- data/lib/instana/collectors/thread.rb +3 -0
- data/lib/instana/config.rb +6 -0
- data/lib/instana/frameworks/cuba.rb +3 -0
- data/lib/instana/frameworks/rails.rb +22 -31
- data/lib/instana/frameworks/roda.rb +3 -0
- data/lib/instana/frameworks/sinatra.rb +3 -0
- data/lib/instana/helpers.rb +3 -0
- data/lib/instana/instrumentation/action_cable.rb +53 -0
- data/lib/instana/instrumentation/action_controller.rb +84 -0
- data/lib/instana/instrumentation/action_view.rb +30 -0
- data/lib/instana/instrumentation/active_record.rb +50 -0
- data/lib/instana/instrumentation/aws_sdk_dynamodb.rb +29 -0
- data/lib/instana/instrumentation/dalli.rb +3 -0
- data/lib/instana/instrumentation/excon.rb +11 -3
- data/lib/instana/instrumentation/graphql.rb +3 -0
- data/lib/instana/instrumentation/grpc.rb +3 -0
- data/lib/instana/instrumentation/instrumented_request.rb +62 -6
- data/lib/instana/instrumentation/net-http.rb +9 -1
- data/lib/instana/instrumentation/rack.rb +38 -15
- data/lib/instana/instrumentation/redis.rb +3 -0
- data/lib/instana/instrumentation/resque.rb +3 -0
- data/lib/instana/instrumentation/rest-client.rb +3 -0
- data/lib/instana/instrumentation/sidekiq-client.rb +4 -1
- data/lib/instana/instrumentation/sidekiq-worker.rb +4 -1
- data/lib/instana/opentracing/carrier.rb +3 -0
- data/lib/instana/opentracing/tracer.rb +3 -0
- data/lib/instana/rack.rb +4 -0
- data/lib/instana/secrets.rb +3 -0
- data/lib/instana/setup.rb +3 -0
- data/lib/instana/thread_local.rb +3 -0
- data/lib/instana/tracer.rb +13 -7
- data/lib/instana/tracing/processor.rb +3 -0
- data/lib/instana/tracing/span.rb +11 -2
- data/lib/instana/tracing/span_context.rb +27 -1
- data/lib/instana/util.rb +3 -0
- data/lib/instana/version.rb +4 -1
- data/lib/oj_check.rb +3 -0
- data/lib/opentracing.rb +3 -0
- data/test/activator_test.rb +3 -0
- data/test/agent/agent_test.rb +3 -0
- data/test/benchmarks/bench_id_generation.rb +3 -0
- data/test/benchmarks/bench_opentracing.rb +3 -0
- data/test/config_test.rb +3 -0
- data/test/frameworks/cuba_test.rb +3 -0
- data/test/frameworks/roda_test.rb +4 -0
- data/test/frameworks/sinatra_test.rb +3 -0
- data/test/instana_test.rb +3 -0
- data/test/instrumentation/aws_test.rb +33 -0
- data/test/instrumentation/dalli_test.rb +3 -0
- data/test/instrumentation/excon_test.rb +3 -0
- data/test/instrumentation/graphql_test.rb +3 -0
- data/test/instrumentation/grpc_test.rb +3 -0
- data/test/instrumentation/net_http_test.rb +3 -0
- data/test/instrumentation/rack_instrumented_request_test.rb +49 -1
- data/test/instrumentation/rack_test.rb +144 -0
- data/test/instrumentation/rails_action_cable_test.rb +131 -0
- data/test/{frameworks/rails/actioncontroller_test.rb → instrumentation/rails_action_controller_test.rb} +40 -21
- data/test/instrumentation/rails_action_view_test.rb +151 -0
- data/test/instrumentation/rails_active_record_test.rb +122 -0
- data/test/instrumentation/redis_test.rb +3 -0
- data/test/instrumentation/resque_test.rb +3 -0
- data/test/instrumentation/rest_client_test.rb +3 -0
- data/test/instrumentation/sidekiq-client_test.rb +3 -0
- data/test/instrumentation/sidekiq-worker_test.rb +3 -0
- data/test/secrets_test.rb +3 -0
- data/test/support/apps/active_record/active_record.rb +24 -0
- data/test/support/apps/grpc/boot.rb +3 -0
- data/test/support/apps/grpc/grpc_server.rb +3 -0
- data/test/support/apps/http_endpoint/boot.rb +3 -0
- data/test/support/apps/rails/boot.rb +3 -0
- data/test/support/apps/rails/models/block.rb +3 -0
- data/test/support/apps/rails/models/block6.rb +3 -0
- data/test/support/apps/resque/boot.rb +3 -0
- data/test/support/apps/resque/jobs/resque_error_job.rb +3 -0
- data/test/support/apps/resque/jobs/resque_fast_job.rb +3 -0
- data/test/support/apps/sidekiq/boot.rb +4 -0
- data/test/support/apps/sidekiq/jobs/sidekiq_job_1.rb +3 -0
- data/test/support/apps/sidekiq/jobs/sidekiq_job_2.rb +3 -0
- data/test/support/apps/sidekiq/worker.rb +3 -0
- data/test/support/helpers.rb +3 -0
- data/test/test_helper.rb +3 -0
- data/test/tracing/custom_test.rb +3 -0
- data/test/tracing/id_management_test.rb +4 -0
- data/test/tracing/opentracing_test.rb +6 -3
- data/test/tracing/tracer_async_test.rb +3 -0
- data/test/tracing/tracer_test.rb +3 -0
- metadata +29 -23
- data/lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb +0 -56
- data/lib/instana/frameworks/instrumentation/action_controller.rb +0 -194
- data/lib/instana/frameworks/instrumentation/action_view.rb +0 -39
- data/lib/instana/frameworks/instrumentation/active_record.rb +0 -27
- data/lib/instana/frameworks/instrumentation/mysql2_adapter.rb +0 -83
- data/lib/instana/frameworks/instrumentation/mysql_adapter.rb +0 -60
- data/lib/instana/frameworks/instrumentation/postgresql_adapter.rb +0 -99
- 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/frameworks/rails_test.rb +0 -15
@@ -0,0 +1,122 @@
|
|
1
|
+
# (c) Copyright IBM Corp. 2021
|
2
|
+
# (c) Copyright Instana Inc. 2021
|
3
|
+
|
4
|
+
require 'test_helper'
|
5
|
+
require 'support/apps/active_record/active_record'
|
6
|
+
|
7
|
+
class RailsActiveRecordTest < Minitest::Test
|
8
|
+
def setup
|
9
|
+
skip unless ENV['DATABASE_URL']
|
10
|
+
@connection = ActiveRecord::Base.establish_connection(ENV['DATABASE_URL'])
|
11
|
+
ActiveRecord::Migration.suppress_messages do
|
12
|
+
ActiveRecord::Migration.run(CreateBlocks, direction: :up)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def teardown
|
17
|
+
ActiveRecord::Migration.suppress_messages do
|
18
|
+
ActiveRecord::Migration.run(CreateBlocks, direction: :down)
|
19
|
+
end
|
20
|
+
ActiveRecord::Base.remove_connection(@connection)
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_config_defaults
|
24
|
+
assert ::Instana.config[:sanitize_sql] == true
|
25
|
+
assert ::Instana.config[:active_record].is_a?(Hash)
|
26
|
+
assert ::Instana.config[:active_record].key?(:enabled)
|
27
|
+
assert_equal true, ::Instana.config[:active_record][:enabled]
|
28
|
+
end
|
29
|
+
|
30
|
+
def test_create
|
31
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
32
|
+
Block.create(name: 'core', color: 'blue')
|
33
|
+
end
|
34
|
+
|
35
|
+
spans = ::Instana.processor.queued_spans
|
36
|
+
assert_equal 2, spans.length
|
37
|
+
span = find_first_span_by_name(spans, :activerecord)
|
38
|
+
data = span[:data][:activerecord]
|
39
|
+
|
40
|
+
assert data[:sql].start_with?('INSERT INTO')
|
41
|
+
assert 'core', data[:binds][0]
|
42
|
+
assert 'blue', data[:binds][1]
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_read
|
46
|
+
Block.create(name: 'core', color: 'blue')
|
47
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
48
|
+
Block.find_by(name: 'core')
|
49
|
+
end
|
50
|
+
|
51
|
+
spans = ::Instana.processor.queued_spans
|
52
|
+
assert_equal 2, spans.length
|
53
|
+
span = find_first_span_by_name(spans, :activerecord)
|
54
|
+
data = span[:data][:activerecord]
|
55
|
+
|
56
|
+
assert data[:sql].start_with?('SELECT')
|
57
|
+
assert 'core', data[:binds][0]
|
58
|
+
assert 1, data[:binds][1]
|
59
|
+
end
|
60
|
+
|
61
|
+
def test_update
|
62
|
+
Block.create(name: 'core', color: 'blue')
|
63
|
+
b = Block.find_by(name: 'core')
|
64
|
+
|
65
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
66
|
+
b.color = 'red'
|
67
|
+
b.save
|
68
|
+
end
|
69
|
+
|
70
|
+
spans = ::Instana.processor.queued_spans
|
71
|
+
assert_equal 2, spans.length
|
72
|
+
span = find_first_span_by_name(spans, :activerecord)
|
73
|
+
data = span[:data][:activerecord]
|
74
|
+
|
75
|
+
assert data[:sql].start_with?('UPDATE')
|
76
|
+
assert 'red', data[:binds][0]
|
77
|
+
assert 1, data[:binds][2]
|
78
|
+
end
|
79
|
+
|
80
|
+
def test_delete
|
81
|
+
b = Block.create(name: 'core', color: 'blue')
|
82
|
+
|
83
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
84
|
+
b.delete
|
85
|
+
end
|
86
|
+
|
87
|
+
spans = ::Instana.processor.queued_spans
|
88
|
+
assert_equal 2, spans.length
|
89
|
+
span = find_first_span_by_name(spans, :activerecord)
|
90
|
+
data = span[:data][:activerecord]
|
91
|
+
|
92
|
+
assert data[:sql].start_with?('DELETE')
|
93
|
+
assert 1, data[:binds][0]
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_raw
|
97
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
98
|
+
ActiveRecord::Base.connection.execute('SELECT 1')
|
99
|
+
end
|
100
|
+
|
101
|
+
spans = ::Instana.processor.queued_spans
|
102
|
+
assert_equal 2, spans.length
|
103
|
+
span = find_first_span_by_name(spans, :activerecord)
|
104
|
+
data = span[:data][:activerecord]
|
105
|
+
|
106
|
+
assert 'SELECT 1', data[:sql]
|
107
|
+
end
|
108
|
+
|
109
|
+
def test_raw_error
|
110
|
+
assert_raises ActiveRecord::StatementInvalid do
|
111
|
+
Instana::Tracer.start_or_continue_trace(:ar_test, {}) do
|
112
|
+
ActiveRecord::Base.connection.execute('INVALID')
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
spans = ::Instana.processor.queued_spans
|
117
|
+
assert_equal 2, spans.length
|
118
|
+
span = find_first_span_by_name(spans, :activerecord)
|
119
|
+
|
120
|
+
assert_equal 1, span[:ec]
|
121
|
+
end
|
122
|
+
end
|
data/test/secrets_test.rb
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
# (c) Copyright IBM Corp. 2021
|
2
|
+
# (c) Copyright Instana Inc. 2021
|
3
|
+
|
4
|
+
require 'rails'
|
5
|
+
require 'active_record/railtie'
|
6
|
+
|
7
|
+
migration_class = if ActiveRecord::Migration.respond_to?(:[])
|
8
|
+
ActiveRecord::Migration[4.2]
|
9
|
+
else
|
10
|
+
ActiveRecord::Migration
|
11
|
+
end
|
12
|
+
|
13
|
+
class CreateBlocks < migration_class
|
14
|
+
def change
|
15
|
+
create_table :blocks do |t|
|
16
|
+
t.string :name
|
17
|
+
t.string :color
|
18
|
+
t.timestamps
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
class Block < ActiveRecord::Base
|
24
|
+
end
|
data/test/support/helpers.rb
CHANGED
data/test/test_helper.rb
CHANGED
data/test/tracing/custom_test.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# (c) Copyright IBM Corp. 2021
|
2
|
+
# (c) Copyright Instana Inc. 2017
|
3
|
+
|
1
4
|
require 'test_helper'
|
2
5
|
require 'rack/test'
|
3
6
|
require 'rack/lobster'
|
@@ -301,7 +304,7 @@ class OpenTracerTest < Minitest::Test
|
|
301
304
|
assert_equal second_span[:s], third_span[:p]
|
302
305
|
|
303
306
|
# Every span should have baggage
|
304
|
-
assert_equal(
|
307
|
+
assert_equal({}, entry_span.context.baggage)
|
305
308
|
assert_equal({:my_bag=>1}, ac_span.context.baggage)
|
306
309
|
assert_equal({:my_bag=>1}, av_span.context.baggage)
|
307
310
|
end
|
@@ -328,9 +331,9 @@ class OpenTracerTest < Minitest::Test
|
|
328
331
|
spans = ::Instana.processor.queued_spans
|
329
332
|
assert_equal 3, spans.length
|
330
333
|
|
331
|
-
assert_equal(
|
334
|
+
assert_equal({}, entry_span.context.baggage)
|
332
335
|
assert_equal({:my_bag=>1}, ac_span.context.baggage)
|
333
|
-
assert_equal(
|
336
|
+
assert_equal({}, av_span.context.baggage)
|
334
337
|
end
|
335
338
|
|
336
339
|
def test_start_active_span
|
data/test/tracing/tracer_test.rb
CHANGED
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.195.0
|
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-02-
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -170,7 +170,9 @@ files:
|
|
170
170
|
- bin/setup
|
171
171
|
- examples/opentracing.rb
|
172
172
|
- examples/tracing.rb
|
173
|
+
- extras/license_header.rb
|
173
174
|
- gemfiles/.bundle/config
|
175
|
+
- gemfiles/aws_30.gemfile
|
174
176
|
- gemfiles/cuba_30.gemfile
|
175
177
|
- gemfiles/dalli_20.gemfile
|
176
178
|
- gemfiles/excon_02.gemfile
|
@@ -196,6 +198,12 @@ files:
|
|
196
198
|
- instana.gemspec
|
197
199
|
- lib/instana.rb
|
198
200
|
- lib/instana/activator.rb
|
201
|
+
- lib/instana/activators/action_cable.rb
|
202
|
+
- lib/instana/activators/action_controller_api.rb
|
203
|
+
- lib/instana/activators/action_controller_base.rb
|
204
|
+
- lib/instana/activators/action_view.rb
|
205
|
+
- lib/instana/activators/active_record.rb
|
206
|
+
- lib/instana/activators/aws_sdk_dynamodb.rb
|
199
207
|
- lib/instana/activators/cuba.rb
|
200
208
|
- lib/instana/activators/dalli.rb
|
201
209
|
- lib/instana/activators/excon.rb
|
@@ -226,17 +234,15 @@ files:
|
|
226
234
|
- lib/instana/eum/eum-test.js.erb
|
227
235
|
- lib/instana/eum/eum.js.erb
|
228
236
|
- lib/instana/frameworks/cuba.rb
|
229
|
-
- lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb
|
230
|
-
- lib/instana/frameworks/instrumentation/action_controller.rb
|
231
|
-
- lib/instana/frameworks/instrumentation/action_view.rb
|
232
|
-
- lib/instana/frameworks/instrumentation/active_record.rb
|
233
|
-
- lib/instana/frameworks/instrumentation/mysql2_adapter.rb
|
234
|
-
- lib/instana/frameworks/instrumentation/mysql_adapter.rb
|
235
|
-
- lib/instana/frameworks/instrumentation/postgresql_adapter.rb
|
236
237
|
- lib/instana/frameworks/rails.rb
|
237
238
|
- lib/instana/frameworks/roda.rb
|
238
239
|
- lib/instana/frameworks/sinatra.rb
|
239
240
|
- lib/instana/helpers.rb
|
241
|
+
- lib/instana/instrumentation/action_cable.rb
|
242
|
+
- lib/instana/instrumentation/action_controller.rb
|
243
|
+
- lib/instana/instrumentation/action_view.rb
|
244
|
+
- lib/instana/instrumentation/active_record.rb
|
245
|
+
- lib/instana/instrumentation/aws_sdk_dynamodb.rb
|
240
246
|
- lib/instana/instrumentation/dalli.rb
|
241
247
|
- lib/instana/instrumentation/excon.rb
|
242
248
|
- lib/instana/instrumentation/graphql.rb
|
@@ -270,15 +276,10 @@ files:
|
|
270
276
|
- test/benchmarks/bench_opentracing.rb
|
271
277
|
- test/config_test.rb
|
272
278
|
- test/frameworks/cuba_test.rb
|
273
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
274
|
-
- test/frameworks/rails/actionview3_test.rb
|
275
|
-
- test/frameworks/rails/actionview4_test.rb
|
276
|
-
- test/frameworks/rails/actionview5_test.rb
|
277
|
-
- test/frameworks/rails/activerecord_test.rb
|
278
|
-
- test/frameworks/rails_test.rb
|
279
279
|
- test/frameworks/roda_test.rb
|
280
280
|
- test/frameworks/sinatra_test.rb
|
281
281
|
- test/instana_test.rb
|
282
|
+
- test/instrumentation/aws_test.rb
|
282
283
|
- test/instrumentation/dalli_test.rb
|
283
284
|
- test/instrumentation/excon_test.rb
|
284
285
|
- test/instrumentation/graphql_test.rb
|
@@ -286,12 +287,17 @@ files:
|
|
286
287
|
- test/instrumentation/net_http_test.rb
|
287
288
|
- test/instrumentation/rack_instrumented_request_test.rb
|
288
289
|
- test/instrumentation/rack_test.rb
|
290
|
+
- test/instrumentation/rails_action_cable_test.rb
|
291
|
+
- test/instrumentation/rails_action_controller_test.rb
|
292
|
+
- test/instrumentation/rails_action_view_test.rb
|
293
|
+
- test/instrumentation/rails_active_record_test.rb
|
289
294
|
- test/instrumentation/redis_test.rb
|
290
295
|
- test/instrumentation/resque_test.rb
|
291
296
|
- test/instrumentation/rest_client_test.rb
|
292
297
|
- test/instrumentation/sidekiq-client_test.rb
|
293
298
|
- test/instrumentation/sidekiq-worker_test.rb
|
294
299
|
- test/secrets_test.rb
|
300
|
+
- test/support/apps/active_record/active_record.rb
|
295
301
|
- test/support/apps/grpc/boot.rb
|
296
302
|
- test/support/apps/grpc/grpc_server.rb
|
297
303
|
- test/support/apps/http_endpoint/boot.rb
|
@@ -331,9 +337,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
331
337
|
version: '2.1'
|
332
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
339
|
requirements:
|
334
|
-
- - "
|
340
|
+
- - ">="
|
335
341
|
- !ruby/object:Gem::Version
|
336
|
-
version:
|
342
|
+
version: '0'
|
337
343
|
requirements: []
|
338
344
|
rubygems_version: 3.2.6
|
339
345
|
signing_key:
|
@@ -351,16 +357,21 @@ test_files:
|
|
351
357
|
- test/secrets_test.rb
|
352
358
|
- test/instrumentation/graphql_test.rb
|
353
359
|
- test/instrumentation/sidekiq-client_test.rb
|
360
|
+
- test/instrumentation/rails_action_controller_test.rb
|
354
361
|
- test/instrumentation/rest_client_test.rb
|
355
362
|
- test/instrumentation/net_http_test.rb
|
356
363
|
- test/instrumentation/resque_test.rb
|
357
364
|
- test/instrumentation/sidekiq-worker_test.rb
|
365
|
+
- test/instrumentation/rails_action_view_test.rb
|
358
366
|
- test/instrumentation/rack_test.rb
|
359
367
|
- test/instrumentation/rack_instrumented_request_test.rb
|
368
|
+
- test/instrumentation/rails_active_record_test.rb
|
360
369
|
- test/instrumentation/redis_test.rb
|
361
370
|
- test/instrumentation/dalli_test.rb
|
371
|
+
- test/instrumentation/rails_action_cable_test.rb
|
362
372
|
- test/instrumentation/excon_test.rb
|
363
373
|
- test/instrumentation/grpc_test.rb
|
374
|
+
- test/instrumentation/aws_test.rb
|
364
375
|
- test/support/helpers.rb
|
365
376
|
- test/support/apps/sidekiq/boot.rb
|
366
377
|
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
@@ -368,6 +379,7 @@ test_files:
|
|
368
379
|
- test/support/apps/sidekiq/worker.rb
|
369
380
|
- test/support/apps/grpc/boot.rb
|
370
381
|
- test/support/apps/grpc/grpc_server.rb
|
382
|
+
- test/support/apps/active_record/active_record.rb
|
371
383
|
- test/support/apps/resque/boot.rb
|
372
384
|
- test/support/apps/resque/jobs/resque_error_job.rb
|
373
385
|
- test/support/apps/resque/jobs/resque_fast_job.rb
|
@@ -380,11 +392,5 @@ test_files:
|
|
380
392
|
- test/test_helper.rb
|
381
393
|
- test/frameworks/cuba_test.rb
|
382
394
|
- test/frameworks/roda_test.rb
|
383
|
-
- test/frameworks/rails_test.rb
|
384
395
|
- test/frameworks/sinatra_test.rb
|
385
|
-
- test/frameworks/rails/actionview4_test.rb
|
386
|
-
- test/frameworks/rails/activerecord_test.rb
|
387
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
388
|
-
- test/frameworks/rails/actionview5_test.rb
|
389
|
-
- test/frameworks/rails/actionview3_test.rb
|
390
396
|
- test/instana_test.rb
|