instana 1.192.1 → 1.193.5
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/.gitignore +3 -0
- data/.rubocop.yml +10 -1145
- data/.rubocop_todo.yml +1140 -0
- data/Appraisals +103 -0
- data/Gemfile +14 -32
- data/LICENSE +2 -1
- data/Rakefile +19 -39
- 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 +8 -4
- data/examples/opentracing.rb +4 -0
- data/examples/tracing.rb +4 -0
- data/extras/license_header.rb +44 -0
- data/gemfiles/.bundle/config +1 -2
- data/gemfiles/cuba_30.gemfile +18 -0
- data/gemfiles/dalli_20.gemfile +18 -0
- data/gemfiles/excon_02.gemfile +18 -0
- data/gemfiles/graphql_10.gemfile +18 -0
- data/gemfiles/grpc_10.gemfile +18 -0
- data/gemfiles/net_http_01.gemfile +17 -0
- data/gemfiles/rack_16.gemfile +18 -0
- data/gemfiles/rack_20.gemfile +18 -0
- data/gemfiles/rails_42.gemfile +21 -0
- data/gemfiles/rails_50.gemfile +21 -0
- data/gemfiles/rails_52.gemfile +21 -0
- data/gemfiles/rails_60.gemfile +21 -0
- data/gemfiles/redis_40.gemfile +18 -0
- data/gemfiles/resque_122.gemfile +19 -0
- data/gemfiles/resque_20.gemfile +18 -0
- data/gemfiles/rest_client_16.gemfile +18 -0
- data/gemfiles/rest_client_20.gemfile +18 -0
- data/gemfiles/roda_20.gemfile +18 -0
- data/gemfiles/roda_30.gemfile +18 -0
- data/gemfiles/sidekiq_42.gemfile +18 -0
- data/gemfiles/sidekiq_50.gemfile +18 -0
- data/gemfiles/sinatra_14.gemfile +18 -0
- data/instana.gemspec +5 -7
- data/lib/instana.rb +3 -0
- data/lib/instana/activator.rb +44 -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/cuba.rb +21 -0
- data/lib/instana/activators/dalli.rb +23 -0
- data/lib/instana/activators/excon.rb +20 -0
- data/lib/instana/activators/graphql.rb +22 -0
- data/lib/instana/activators/grpc_client.rb +20 -0
- data/lib/instana/activators/grpc_server.rb +20 -0
- data/lib/instana/activators/net_http.rb +20 -0
- data/lib/instana/activators/rack.rb +16 -0
- data/lib/instana/activators/rails.rb +18 -0
- data/lib/instana/activators/redis.rb +20 -0
- data/lib/instana/activators/resque_client.rb +21 -0
- data/lib/instana/activators/resque_worker.rb +33 -0
- data/lib/instana/activators/rest_client.rb +20 -0
- data/lib/instana/activators/roda.rb +21 -0
- data/lib/instana/activators/sidekiq_client.rb +24 -0
- data/lib/instana/activators/sidekiq_worker.rb +24 -0
- data/lib/instana/activators/sinatra.rb +21 -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 +3 -0
- data/lib/instana/frameworks/cuba.rb +9 -13
- data/lib/instana/frameworks/rails.rb +22 -32
- data/lib/instana/frameworks/roda.rb +10 -13
- data/lib/instana/frameworks/sinatra.rb +4 -8
- 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/dalli.rb +10 -18
- data/lib/instana/instrumentation/excon.rb +54 -57
- data/lib/instana/instrumentation/graphql.rb +19 -18
- data/lib/instana/instrumentation/grpc.rb +73 -66
- data/lib/instana/instrumentation/instrumented_request.rb +6 -1
- data/lib/instana/instrumentation/net-http.rb +46 -47
- data/lib/instana/instrumentation/rack.rb +4 -0
- data/lib/instana/instrumentation/redis.rb +13 -18
- data/lib/instana/instrumentation/resque.rb +17 -50
- data/lib/instana/instrumentation/rest-client.rb +5 -17
- data/lib/instana/instrumentation/sidekiq-client.rb +3 -9
- data/lib/instana/instrumentation/sidekiq-worker.rb +3 -9
- 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 +10 -7
- data/lib/instana/setup.rb +6 -1
- data/lib/instana/thread_local.rb +3 -0
- data/lib/instana/tracer.rb +3 -0
- data/lib/instana/tracing/processor.rb +3 -0
- data/lib/instana/tracing/span.rb +3 -0
- data/lib/instana/tracing/span_context.rb +3 -0
- data/lib/instana/util.rb +4 -41
- 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 +30 -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 +41 -40
- data/test/frameworks/roda_test.rb +43 -41
- data/test/frameworks/sinatra_test.rb +64 -64
- data/test/instana_test.rb +3 -0
- data/test/instrumentation/dalli_test.rb +3 -0
- data/test/instrumentation/excon_test.rb +4 -0
- data/test/instrumentation/graphql_test.rb +3 -0
- data/test/instrumentation/grpc_test.rb +5 -1
- data/test/instrumentation/{net-http_test.rb → net_http_test.rb} +4 -0
- data/test/instrumentation/{instrumented_request_test.rb → rack_instrumented_request_test.rb} +4 -1
- data/test/{frameworks → instrumentation}/rack_test.rb +3 -1
- 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 +6 -11
- data/test/instrumentation/{rest-client_test.rb → rest_client_test.rb} +9 -0
- data/test/instrumentation/sidekiq-client_test.rb +4 -0
- data/test/instrumentation/sidekiq-worker_test.rb +4 -0
- data/test/secrets_test.rb +3 -0
- data/test/support/apps/active_record/active_record.rb +24 -0
- data/test/{servers/grpc_50051.rb → support/apps/grpc/boot.rb} +4 -1
- data/test/{apps → support/apps/grpc}/grpc_server.rb +3 -0
- data/test/{servers/rackapp_6511.rb → support/apps/http_endpoint/boot.rb} +3 -0
- data/test/{servers/rails_3205.rb → support/apps/rails/boot.rb} +10 -13
- data/test/{models → support/apps/rails/models}/block.rb +4 -1
- data/test/{models → support/apps/rails/models}/block6.rb +3 -0
- data/test/support/apps/resque/boot.rb +5 -0
- data/test/{jobs → support/apps/resque/jobs}/resque_error_job.rb +3 -0
- data/test/{jobs → support/apps/resque/jobs}/resque_fast_job.rb +3 -0
- data/test/support/apps/sidekiq/boot.rb +25 -0
- data/test/{jobs → support/apps/sidekiq/jobs}/sidekiq_job_1.rb +3 -0
- data/test/{jobs → support/apps/sidekiq/jobs}/sidekiq_job_2.rb +3 -0
- data/test/{servers → support/apps}/sidekiq/worker.rb +5 -2
- data/test/support/helpers.rb +97 -0
- data/test/test_helper.rb +27 -144
- data/test/tracing/custom_test.rb +3 -0
- data/test/tracing/id_management_test.rb +4 -0
- data/test/tracing/opentracing_test.rb +3 -0
- data/test/tracing/tracer_async_test.rb +3 -0
- data/test/tracing/tracer_test.rb +3 -0
- metadata +105 -96
- 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
data/test/test_helper.rb
CHANGED
@@ -1,159 +1,42 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require "rubygems"
|
4
|
-
require "bundler/setup"
|
5
|
-
Bundler.require(:default, :test)
|
1
|
+
# (c) Copyright IBM Corp. 2021
|
2
|
+
# (c) Copyright Instana Inc. 2016
|
6
3
|
|
7
|
-
|
8
|
-
require "minitest/autorun"
|
9
|
-
require "minitest/reporters"
|
10
|
-
require "minitest/debugger" if ENV['DEBUG']
|
11
|
-
require "minitest/benchmark"
|
12
|
-
require 'webmock/minitest'
|
4
|
+
ENV['INSTANA_TEST'] = 'true'
|
13
5
|
|
14
|
-
|
15
|
-
|
6
|
+
begin
|
7
|
+
require 'simplecov'
|
8
|
+
require 'simplecov_json_formatter'
|
16
9
|
|
17
|
-
|
18
|
-
|
19
|
-
allowed_sites = lambda{|uri|
|
20
|
-
whitelist.include?(uri.host)
|
21
|
-
}
|
22
|
-
::WebMock.disable_net_connect!(allow: allowed_sites)
|
10
|
+
SimpleCov.start do
|
11
|
+
enable_coverage :branch
|
23
12
|
|
24
|
-
|
25
|
-
|
13
|
+
add_group 'Frameworks', 'lib/instana/frameworks'
|
14
|
+
add_group 'Instrumentation', 'lib/instana/instrumentation'
|
26
15
|
|
27
|
-
|
28
|
-
when /rails/
|
29
|
-
require './test/servers/rails_3205'
|
30
|
-
when /libraries/
|
31
|
-
# Configure gRPC
|
32
|
-
require './test/servers/grpc_50051.rb'
|
16
|
+
add_filter %r{^/test/}
|
33
17
|
|
34
|
-
|
35
|
-
|
36
|
-
class << Sidekiq
|
37
|
-
def server?
|
38
|
-
$sidekiq_mode == :server
|
18
|
+
if ENV['CI']
|
19
|
+
formatter SimpleCov::Formatter::JSONFormatter
|
39
20
|
end
|
40
21
|
end
|
41
|
-
|
42
|
-
ENV['REDIS_URL'] ||= 'redis://127.0.0.1:6379'
|
43
|
-
|
44
|
-
# Configure redis for sidekiq client
|
45
|
-
Sidekiq.configure_client do |config|
|
46
|
-
config.redis = { url: ENV['REDIS_URL'] }
|
47
|
-
end
|
48
|
-
|
49
|
-
# Configure redis for sidekiq worker
|
50
|
-
$sidekiq_mode = :server
|
51
|
-
::Sidekiq.configure_server do |config|
|
52
|
-
config.redis = { url: ENV['REDIS_URL'] }
|
53
|
-
end
|
54
|
-
$sidekiq_mode = :client
|
55
|
-
|
56
|
-
require './test/servers/sidekiq/worker'
|
57
|
-
end
|
58
|
-
|
59
|
-
Minitest::Reporters.use! MiniTest::Reporters::SpecReporter.new
|
60
|
-
|
61
|
-
# Used to reset the gem to boot state. It clears out any queued and/or staged
|
62
|
-
# traces and resets the tracer to no active trace.
|
63
|
-
#
|
64
|
-
def clear_all!
|
65
|
-
::Instana.processor.clear!
|
66
|
-
::Instana.tracer.clear!
|
22
|
+
rescue LoadError => _e
|
67
23
|
nil
|
68
24
|
end
|
69
25
|
|
70
|
-
|
71
|
-
|
72
|
-
alias call call_without_instana
|
73
|
-
alias call_pipeline call_pipeline_without_instana
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
def enable_redis_instrumentation
|
78
|
-
::Redis::Client.class_eval do
|
79
|
-
alias call call_with_instana
|
80
|
-
alias call_pipeline call_pipeline_with_instana
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
def validate_sdk_span(json_span, sdk_hash = {}, errored = false, ec = 1)
|
85
|
-
assert_equal :sdk, json_span[:n]
|
86
|
-
assert json_span.key?(:k)
|
87
|
-
assert json_span.key?(:d)
|
88
|
-
assert json_span.key?(:ts)
|
26
|
+
require 'bundler/setup'
|
27
|
+
Bundler.require
|
89
28
|
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
if errored
|
95
|
-
assert_equal true, json_span[:error]
|
96
|
-
assert_equal 1, json_span[:ec]
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
def find_spans_by_name(spans, name)
|
101
|
-
result = []
|
102
|
-
for span in spans
|
103
|
-
if span[:n] == :sdk
|
104
|
-
if span[:data][:sdk][:name] == name
|
105
|
-
result << span
|
106
|
-
end
|
107
|
-
elsif span[:n] == name
|
108
|
-
result << span
|
109
|
-
end
|
110
|
-
end
|
111
|
-
if result.empty?
|
112
|
-
raise Exception.new("No SDK spans (#{name}) could be found")
|
113
|
-
else
|
114
|
-
return result
|
115
|
-
end
|
116
|
-
end
|
29
|
+
require "minitest/spec"
|
30
|
+
require "minitest/autorun"
|
31
|
+
require "minitest/reporters"
|
117
32
|
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
end
|
124
|
-
else
|
125
|
-
if span[:n] == name
|
126
|
-
return span
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
130
|
-
raise Exception.new("Span (#{name}) not found")
|
131
|
-
end
|
33
|
+
require 'webmock/minitest'
|
34
|
+
# Webmock: Whitelist local IPs
|
35
|
+
WebMock.disable_net_connect!(
|
36
|
+
allow: ->(uri) { %w[localhost 127.0.0.1 172.17.0.1 172.0.12.100].include?(uri.host) }
|
37
|
+
)
|
132
38
|
|
133
|
-
|
134
|
-
for span in spans
|
135
|
-
if span[:s] == id
|
136
|
-
return span
|
137
|
-
end
|
138
|
-
end
|
139
|
-
raise Exception.new("Span with id (#{id}) not found")
|
140
|
-
end
|
39
|
+
Dir['test/support/*.rb'].each { |f| load(f) }
|
141
40
|
|
142
|
-
|
143
|
-
|
144
|
-
# ar_span = find_first_span_by_qualifier(ar_spans) do |span|
|
145
|
-
# span[:data][:activerecord][:sql] == sql
|
146
|
-
# end
|
147
|
-
#
|
148
|
-
# This helper will raise an exception if no span evaluates to true against he provided block.
|
149
|
-
#
|
150
|
-
# +spans+: +Array+ of spans to search
|
151
|
-
# +block+: The Ruby block to evaluate against each span
|
152
|
-
def find_first_span_by_qualifier(spans, &block)
|
153
|
-
spans.each do |span|
|
154
|
-
if block.call(span)
|
155
|
-
return span
|
156
|
-
end
|
157
|
-
end
|
158
|
-
raise Exception.new("Span with qualifier not found")
|
159
|
-
end
|
41
|
+
Minitest::Reporters.use! MiniTest::Reporters::SpecReporter.new
|
42
|
+
Minitest::Test.include(Instana::TestHelpers)
|
data/test/tracing/custom_test.rb
CHANGED
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.193.5
|
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-12 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
|
@@ -179,6 +151,8 @@ files:
|
|
179
151
|
- ".fasterer.yml"
|
180
152
|
- ".gitignore"
|
181
153
|
- ".rubocop.yml"
|
154
|
+
- ".rubocop_todo.yml"
|
155
|
+
- Appraisals
|
182
156
|
- Dockerfile
|
183
157
|
- Gemfile
|
184
158
|
- LICENSE
|
@@ -196,15 +170,55 @@ files:
|
|
196
170
|
- bin/setup
|
197
171
|
- examples/opentracing.rb
|
198
172
|
- examples/tracing.rb
|
173
|
+
- extras/license_header.rb
|
199
174
|
- gemfiles/.bundle/config
|
200
|
-
- gemfiles/
|
201
|
-
- gemfiles/
|
202
|
-
- gemfiles/
|
203
|
-
- gemfiles/
|
204
|
-
- gemfiles/
|
205
|
-
- gemfiles/
|
175
|
+
- gemfiles/cuba_30.gemfile
|
176
|
+
- gemfiles/dalli_20.gemfile
|
177
|
+
- gemfiles/excon_02.gemfile
|
178
|
+
- gemfiles/graphql_10.gemfile
|
179
|
+
- gemfiles/grpc_10.gemfile
|
180
|
+
- gemfiles/net_http_01.gemfile
|
181
|
+
- gemfiles/rack_16.gemfile
|
182
|
+
- gemfiles/rack_20.gemfile
|
183
|
+
- gemfiles/rails_42.gemfile
|
184
|
+
- gemfiles/rails_50.gemfile
|
185
|
+
- gemfiles/rails_52.gemfile
|
186
|
+
- gemfiles/rails_60.gemfile
|
187
|
+
- gemfiles/redis_40.gemfile
|
188
|
+
- gemfiles/resque_122.gemfile
|
189
|
+
- gemfiles/resque_20.gemfile
|
190
|
+
- gemfiles/rest_client_16.gemfile
|
191
|
+
- gemfiles/rest_client_20.gemfile
|
192
|
+
- gemfiles/roda_20.gemfile
|
193
|
+
- gemfiles/roda_30.gemfile
|
194
|
+
- gemfiles/sidekiq_42.gemfile
|
195
|
+
- gemfiles/sidekiq_50.gemfile
|
196
|
+
- gemfiles/sinatra_14.gemfile
|
206
197
|
- instana.gemspec
|
207
198
|
- lib/instana.rb
|
199
|
+
- lib/instana/activator.rb
|
200
|
+
- lib/instana/activators/action_cable.rb
|
201
|
+
- lib/instana/activators/action_controller_api.rb
|
202
|
+
- lib/instana/activators/action_controller_base.rb
|
203
|
+
- lib/instana/activators/action_view.rb
|
204
|
+
- lib/instana/activators/active_record.rb
|
205
|
+
- lib/instana/activators/cuba.rb
|
206
|
+
- lib/instana/activators/dalli.rb
|
207
|
+
- lib/instana/activators/excon.rb
|
208
|
+
- lib/instana/activators/graphql.rb
|
209
|
+
- lib/instana/activators/grpc_client.rb
|
210
|
+
- lib/instana/activators/grpc_server.rb
|
211
|
+
- lib/instana/activators/net_http.rb
|
212
|
+
- lib/instana/activators/rack.rb
|
213
|
+
- lib/instana/activators/rails.rb
|
214
|
+
- lib/instana/activators/redis.rb
|
215
|
+
- lib/instana/activators/resque_client.rb
|
216
|
+
- lib/instana/activators/resque_worker.rb
|
217
|
+
- lib/instana/activators/rest_client.rb
|
218
|
+
- lib/instana/activators/roda.rb
|
219
|
+
- lib/instana/activators/sidekiq_client.rb
|
220
|
+
- lib/instana/activators/sidekiq_worker.rb
|
221
|
+
- lib/instana/activators/sinatra.rb
|
208
222
|
- lib/instana/agent.rb
|
209
223
|
- lib/instana/agent/helpers.rb
|
210
224
|
- lib/instana/agent/hooks.rb
|
@@ -218,18 +232,14 @@ files:
|
|
218
232
|
- lib/instana/eum/eum-test.js.erb
|
219
233
|
- lib/instana/eum/eum.js.erb
|
220
234
|
- lib/instana/frameworks/cuba.rb
|
221
|
-
- lib/instana/frameworks/instrumentation/abstract_mysql_adapter.rb
|
222
|
-
- lib/instana/frameworks/instrumentation/action_controller.rb
|
223
|
-
- lib/instana/frameworks/instrumentation/action_view.rb
|
224
|
-
- lib/instana/frameworks/instrumentation/active_record.rb
|
225
|
-
- lib/instana/frameworks/instrumentation/mysql2_adapter.rb
|
226
|
-
- lib/instana/frameworks/instrumentation/mysql_adapter.rb
|
227
|
-
- lib/instana/frameworks/instrumentation/postgresql_adapter.rb
|
228
235
|
- lib/instana/frameworks/rails.rb
|
229
236
|
- lib/instana/frameworks/roda.rb
|
230
237
|
- lib/instana/frameworks/sinatra.rb
|
231
238
|
- lib/instana/helpers.rb
|
232
|
-
- lib/instana/instrumentation.rb
|
239
|
+
- lib/instana/instrumentation/action_cable.rb
|
240
|
+
- lib/instana/instrumentation/action_controller.rb
|
241
|
+
- lib/instana/instrumentation/action_view.rb
|
242
|
+
- lib/instana/instrumentation/active_record.rb
|
233
243
|
- lib/instana/instrumentation/dalli.rb
|
234
244
|
- lib/instana/instrumentation/excon.rb
|
235
245
|
- lib/instana/instrumentation/graphql.rb
|
@@ -247,7 +257,6 @@ files:
|
|
247
257
|
- lib/instana/rack.rb
|
248
258
|
- lib/instana/secrets.rb
|
249
259
|
- lib/instana/setup.rb
|
250
|
-
- lib/instana/test.rb
|
251
260
|
- lib/instana/thread_local.rb
|
252
261
|
- lib/instana/tracer.rb
|
253
262
|
- lib/instana/tracing/processor.rb
|
@@ -258,21 +267,12 @@ files:
|
|
258
267
|
- lib/oj_check.rb
|
259
268
|
- lib/opentracing.rb
|
260
269
|
- log/.keep
|
270
|
+
- test/activator_test.rb
|
261
271
|
- test/agent/agent_test.rb
|
262
|
-
- test/apps/cuba.rb
|
263
|
-
- test/apps/grpc_server.rb
|
264
|
-
- test/apps/roda.rb
|
265
|
-
- test/apps/sinatra.rb
|
266
272
|
- test/benchmarks/bench_id_generation.rb
|
267
273
|
- test/benchmarks/bench_opentracing.rb
|
268
274
|
- test/config_test.rb
|
269
275
|
- test/frameworks/cuba_test.rb
|
270
|
-
- test/frameworks/rack_test.rb
|
271
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
272
|
-
- test/frameworks/rails/actionview3_test.rb
|
273
|
-
- test/frameworks/rails/actionview4_test.rb
|
274
|
-
- test/frameworks/rails/actionview5_test.rb
|
275
|
-
- test/frameworks/rails/activerecord_test.rb
|
276
276
|
- test/frameworks/roda_test.rb
|
277
277
|
- test/frameworks/sinatra_test.rb
|
278
278
|
- test/instana_test.rb
|
@@ -280,25 +280,34 @@ files:
|
|
280
280
|
- test/instrumentation/excon_test.rb
|
281
281
|
- test/instrumentation/graphql_test.rb
|
282
282
|
- test/instrumentation/grpc_test.rb
|
283
|
-
- test/instrumentation/
|
284
|
-
- test/instrumentation/
|
283
|
+
- test/instrumentation/net_http_test.rb
|
284
|
+
- test/instrumentation/rack_instrumented_request_test.rb
|
285
|
+
- test/instrumentation/rack_test.rb
|
286
|
+
- test/instrumentation/rails_action_cable_test.rb
|
287
|
+
- test/instrumentation/rails_action_controller_test.rb
|
288
|
+
- test/instrumentation/rails_action_view_test.rb
|
289
|
+
- test/instrumentation/rails_active_record_test.rb
|
285
290
|
- test/instrumentation/redis_test.rb
|
286
291
|
- test/instrumentation/resque_test.rb
|
287
|
-
- test/instrumentation/
|
292
|
+
- test/instrumentation/rest_client_test.rb
|
288
293
|
- test/instrumentation/sidekiq-client_test.rb
|
289
294
|
- test/instrumentation/sidekiq-worker_test.rb
|
290
|
-
- test/jobs/resque_error_job.rb
|
291
|
-
- test/jobs/resque_fast_job.rb
|
292
|
-
- test/jobs/sidekiq_job_1.rb
|
293
|
-
- test/jobs/sidekiq_job_2.rb
|
294
|
-
- test/models/block.rb
|
295
|
-
- test/models/block6.rb
|
296
295
|
- test/secrets_test.rb
|
297
|
-
- test/
|
298
|
-
- test/
|
299
|
-
- test/
|
300
|
-
- test/
|
301
|
-
- test/
|
296
|
+
- test/support/apps/active_record/active_record.rb
|
297
|
+
- test/support/apps/grpc/boot.rb
|
298
|
+
- test/support/apps/grpc/grpc_server.rb
|
299
|
+
- test/support/apps/http_endpoint/boot.rb
|
300
|
+
- test/support/apps/rails/boot.rb
|
301
|
+
- test/support/apps/rails/models/block.rb
|
302
|
+
- test/support/apps/rails/models/block6.rb
|
303
|
+
- test/support/apps/resque/boot.rb
|
304
|
+
- test/support/apps/resque/jobs/resque_error_job.rb
|
305
|
+
- test/support/apps/resque/jobs/resque_fast_job.rb
|
306
|
+
- test/support/apps/sidekiq/boot.rb
|
307
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
308
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
309
|
+
- test/support/apps/sidekiq/worker.rb
|
310
|
+
- test/support/helpers.rb
|
302
311
|
- test/test_helper.rb
|
303
312
|
- test/tracing/custom_test.rb
|
304
313
|
- test/tracing/id_management_test.rb
|
@@ -334,49 +343,49 @@ specification_version: 4
|
|
334
343
|
summary: Ruby Distributed Tracing & Metrics Sensor for Instana
|
335
344
|
test_files:
|
336
345
|
- test/config_test.rb
|
346
|
+
- test/activator_test.rb
|
337
347
|
- test/tracing/id_management_test.rb
|
338
348
|
- test/tracing/tracer_test.rb
|
339
349
|
- test/tracing/custom_test.rb
|
340
350
|
- test/tracing/opentracing_test.rb
|
341
351
|
- test/tracing/tracer_async_test.rb
|
342
352
|
- test/agent/agent_test.rb
|
343
|
-
- test/models/block.rb
|
344
|
-
- test/models/block6.rb
|
345
353
|
- test/secrets_test.rb
|
346
354
|
- test/instrumentation/graphql_test.rb
|
347
355
|
- test/instrumentation/sidekiq-client_test.rb
|
356
|
+
- test/instrumentation/rails_action_controller_test.rb
|
357
|
+
- test/instrumentation/rest_client_test.rb
|
358
|
+
- test/instrumentation/net_http_test.rb
|
348
359
|
- test/instrumentation/resque_test.rb
|
349
360
|
- test/instrumentation/sidekiq-worker_test.rb
|
361
|
+
- test/instrumentation/rails_action_view_test.rb
|
362
|
+
- test/instrumentation/rack_test.rb
|
363
|
+
- test/instrumentation/rack_instrumented_request_test.rb
|
364
|
+
- test/instrumentation/rails_active_record_test.rb
|
350
365
|
- test/instrumentation/redis_test.rb
|
351
|
-
- test/instrumentation/rest-client_test.rb
|
352
366
|
- test/instrumentation/dalli_test.rb
|
367
|
+
- test/instrumentation/rails_action_cable_test.rb
|
353
368
|
- test/instrumentation/excon_test.rb
|
354
|
-
- test/instrumentation/instrumented_request_test.rb
|
355
369
|
- test/instrumentation/grpc_test.rb
|
356
|
-
- test/
|
370
|
+
- test/support/helpers.rb
|
371
|
+
- test/support/apps/sidekiq/boot.rb
|
372
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
373
|
+
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
374
|
+
- test/support/apps/sidekiq/worker.rb
|
375
|
+
- test/support/apps/grpc/boot.rb
|
376
|
+
- test/support/apps/grpc/grpc_server.rb
|
377
|
+
- test/support/apps/active_record/active_record.rb
|
378
|
+
- test/support/apps/resque/boot.rb
|
379
|
+
- test/support/apps/resque/jobs/resque_error_job.rb
|
380
|
+
- test/support/apps/resque/jobs/resque_fast_job.rb
|
381
|
+
- test/support/apps/http_endpoint/boot.rb
|
382
|
+
- test/support/apps/rails/models/block.rb
|
383
|
+
- test/support/apps/rails/models/block6.rb
|
384
|
+
- test/support/apps/rails/boot.rb
|
357
385
|
- test/benchmarks/bench_opentracing.rb
|
358
386
|
- test/benchmarks/bench_id_generation.rb
|
359
387
|
- test/test_helper.rb
|
360
|
-
- test/jobs/sidekiq_job_2.rb
|
361
|
-
- test/jobs/resque_error_job.rb
|
362
|
-
- test/jobs/sidekiq_job_1.rb
|
363
|
-
- test/jobs/resque_fast_job.rb
|
364
388
|
- test/frameworks/cuba_test.rb
|
365
|
-
- test/frameworks/rack_test.rb
|
366
389
|
- test/frameworks/roda_test.rb
|
367
390
|
- test/frameworks/sinatra_test.rb
|
368
|
-
- test/frameworks/rails/actionview4_test.rb
|
369
|
-
- test/frameworks/rails/activerecord_test.rb
|
370
|
-
- test/frameworks/rails/actioncontroller_test.rb
|
371
|
-
- test/frameworks/rails/actionview5_test.rb
|
372
|
-
- test/frameworks/rails/actionview3_test.rb
|
373
|
-
- test/apps/sinatra.rb
|
374
|
-
- test/apps/roda.rb
|
375
|
-
- test/apps/cuba.rb
|
376
|
-
- test/apps/grpc_server.rb
|
377
|
-
- test/servers/rackapp_6511.rb
|
378
|
-
- test/servers/sidekiq/worker.rb
|
379
|
-
- test/servers/grpc_50051.rb
|
380
|
-
- test/servers/rails_3205.rb
|
381
|
-
- test/servers/helpers/sidekiq_worker_initializer.rb
|
382
391
|
- test/instana_test.rb
|