instana 2.0.0 → 2.2.0
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/lib/instana/instrumentation/instrumented_request.rb +2 -0
- data/lib/instana/instrumentation/net-http.rb +2 -1
- data/lib/instana/instrumentation/rack.rb +86 -66
- data/lib/instana/setup.rb +1 -0
- data/lib/instana/span_filtering/condition.rb +134 -0
- data/lib/instana/span_filtering/configuration.rb +262 -0
- data/lib/instana/span_filtering/filter_rule.rb +31 -0
- data/lib/instana/span_filtering.rb +62 -0
- data/lib/instana/trace/span.rb +5 -3
- data/lib/instana/trace/span_context.rb +10 -2
- data/lib/instana/trace/tracer.rb +0 -21
- data/lib/instana/util.rb +13 -0
- data/lib/instana/version.rb +1 -1
- metadata +7 -258
- data/.circleci/config.yml +0 -361
- data/.codeclimate.yml +0 -23
- data/.editorconfig +0 -10
- data/.fasterer.yml +0 -23
- data/.github/ISSUE_TEMPLATE/bug.yml +0 -39
- data/.github/ISSUE_TEMPLATE/config.yml +0 -8
- data/.github/workflows/pr_commits_signed_off.yml +0 -16
- data/.github/workflows/release-notification-on-slack.yml +0 -34
- data/.gitignore +0 -19
- data/.rubocop.yml +0 -34
- data/.rubocop_todo.yml +0 -1140
- data/.tekton/.currency/docs/report.md +0 -20
- data/.tekton/.currency/resources/requirements.txt +0 -4
- data/.tekton/.currency/resources/table.json +0 -100
- data/.tekton/.currency/scripts/generate_report.py +0 -308
- data/.tekton/README.md +0 -278
- data/.tekton/github-interceptor-secret.yaml +0 -8
- data/.tekton/github-pr-eventlistener.yaml +0 -104
- data/.tekton/github-pr-pipeline.yaml.part +0 -38
- data/.tekton/github-set-status-task.yaml +0 -43
- data/.tekton/github-webhook-ingress.yaml +0 -20
- data/.tekton/pipeline.yaml +0 -484
- data/.tekton/pipelinerun.yaml +0 -21
- data/.tekton/prepuller-restart-service-account.yaml +0 -31
- data/.tekton/ruby-tracer-prepuller-cronjob.yaml +0 -20
- data/.tekton/ruby-tracer-prepuller.yaml +0 -88
- data/.tekton/run_unittests.sh +0 -87
- data/.tekton/scheduled-eventlistener.yaml +0 -108
- data/.tekton/task.yaml +0 -453
- data/.tekton/tekton-triggers-eventlistener-serviceaccount.yaml +0 -29
- data/Appraisals +0 -124
- data/CONTRIBUTING.md +0 -86
- data/Gemfile +0 -22
- data/LICENSE +0 -22
- data/MAINTAINERS.md +0 -3
- data/Rakefile +0 -49
- data/bin/announce_release_on_slack.py +0 -103
- data/docker-compose.yml +0 -20
- data/download.sh +0 -85
- data/examples/otel.rb +0 -98
- data/examples/tracing.rb +0 -85
- data/extras/license_header.rb +0 -44
- data/gemfiles/.bundle/config +0 -2
- data/gemfiles/aws_30.gemfile +0 -21
- data/gemfiles/aws_60.gemfile +0 -16
- data/gemfiles/cuba_30.gemfile +0 -16
- data/gemfiles/cuba_40.gemfile +0 -13
- data/gemfiles/dalli_20.gemfile +0 -15
- data/gemfiles/dalli_30.gemfile +0 -12
- data/gemfiles/dalli_32.gemfile +0 -12
- data/gemfiles/excon_0100.gemfile +0 -14
- data/gemfiles/excon_021.gemfile +0 -17
- data/gemfiles/excon_079.gemfile +0 -17
- data/gemfiles/excon_100.gemfile +0 -14
- data/gemfiles/graphql_10.gemfile +0 -16
- data/gemfiles/graphql_20.gemfile +0 -15
- data/gemfiles/grpc_10.gemfile +0 -15
- data/gemfiles/mongo_216.gemfile +0 -15
- data/gemfiles/mongo_219.gemfile +0 -12
- data/gemfiles/net_http_01.gemfile +0 -17
- data/gemfiles/rack_16.gemfile +0 -15
- data/gemfiles/rack_20.gemfile +0 -15
- data/gemfiles/rack_30.gemfile +0 -13
- data/gemfiles/rails_42.gemfile +0 -18
- data/gemfiles/rails_50.gemfile +0 -19
- data/gemfiles/rails_52.gemfile +0 -19
- data/gemfiles/rails_60.gemfile +0 -19
- data/gemfiles/rails_61.gemfile +0 -21
- data/gemfiles/rails_70.gemfile +0 -18
- data/gemfiles/rails_71.gemfile +0 -17
- data/gemfiles/rails_80.gemfile +0 -17
- data/gemfiles/redis_40.gemfile +0 -15
- data/gemfiles/redis_50.gemfile +0 -13
- data/gemfiles/redis_51.gemfile +0 -13
- data/gemfiles/resque_122.gemfile +0 -16
- data/gemfiles/resque_1274_3scale.gemfile +0 -17
- data/gemfiles/resque_20.gemfile +0 -16
- data/gemfiles/rest_client_16.gemfile +0 -17
- data/gemfiles/rest_client_20.gemfile +0 -17
- data/gemfiles/roda_20.gemfile +0 -16
- data/gemfiles/roda_30.gemfile +0 -16
- data/gemfiles/rubocop_162.gemfile +0 -6
- data/gemfiles/sequel_56.gemfile +0 -16
- data/gemfiles/sequel_57.gemfile +0 -16
- data/gemfiles/sequel_58.gemfile +0 -16
- data/gemfiles/shoryuken_50.gemfile +0 -16
- data/gemfiles/shoryuken_60.gemfile +0 -13
- data/gemfiles/sidekiq_42.gemfile +0 -15
- data/gemfiles/sidekiq_50.gemfile +0 -15
- data/gemfiles/sidekiq_60.gemfile +0 -12
- data/gemfiles/sidekiq_65.gemfile +0 -12
- data/gemfiles/sidekiq_70.gemfile +0 -12
- data/gemfiles/sinatra_14.gemfile +0 -15
- data/gemfiles/sinatra_22.gemfile +0 -12
- data/gemfiles/sinatra_30.gemfile +0 -12
- data/gemfiles/sinatra_40.gemfile +0 -12
- data/instana.gemspec +0 -53
- data/log/.keep +0 -0
- data/sonar-project.properties +0 -9
- data/test/activator_test.rb +0 -50
- data/test/backend/agent_test.rb +0 -80
- data/test/backend/gc_snapshot_test.rb +0 -11
- data/test/backend/host_agent_activation_observer_test.rb +0 -73
- data/test/backend/host_agent_lookup_test.rb +0 -78
- data/test/backend/host_agent_reporting_observer_test.rb +0 -276
- data/test/backend/host_agent_test.rb +0 -89
- data/test/backend/process_info_test.rb +0 -83
- data/test/backend/request_client_test.rb +0 -39
- data/test/backend/serverless_agent_test.rb +0 -83
- data/test/benchmarks/bench_id_generation.rb +0 -15
- data/test/benchmarks/bench_opentracing.rb +0 -16
- data/test/config_test.rb +0 -34
- data/test/frameworks/cuba_test.rb +0 -61
- data/test/frameworks/roda_test.rb +0 -60
- data/test/frameworks/sinatra_test.rb +0 -71
- data/test/instana_test.rb +0 -37
- data/test/instrumentation/aws_test.rb +0 -241
- data/test/instrumentation/dalli_test.rb +0 -325
- data/test/instrumentation/excon_test.rb +0 -204
- data/test/instrumentation/graphql_test.rb +0 -289
- data/test/instrumentation/grpc_test.rb +0 -420
- data/test/instrumentation/mongo_test.rb +0 -68
- data/test/instrumentation/net_http_test.rb +0 -220
- data/test/instrumentation/rack_instrumented_request_test.rb +0 -211
- data/test/instrumentation/rack_test.rb +0 -415
- data/test/instrumentation/rails_action_cable_test.rb +0 -135
- data/test/instrumentation/rails_action_controller_test.rb +0 -218
- data/test/instrumentation/rails_action_mailer_test.rb +0 -66
- data/test/instrumentation/rails_action_view_test.rb +0 -154
- data/test/instrumentation/rails_active_job_test.rb +0 -65
- data/test/instrumentation/rails_active_record_database_missing_test.rb +0 -44
- data/test/instrumentation/rails_active_record_test.rb +0 -116
- data/test/instrumentation/redis_test.rb +0 -152
- data/test/instrumentation/resque_test.rb +0 -188
- data/test/instrumentation/rest_client_test.rb +0 -106
- data/test/instrumentation/sequel_test.rb +0 -111
- data/test/instrumentation/shoryuken_test.rb +0 -47
- data/test/instrumentation/sidekiq-client_test.rb +0 -169
- data/test/instrumentation/sidekiq-worker_test.rb +0 -180
- data/test/secrets_test.rb +0 -112
- data/test/serverless_test.rb +0 -369
- data/test/snapshot/deltable_test.rb +0 -17
- data/test/snapshot/docker_container_test.rb +0 -82
- data/test/snapshot/fargate_container_test.rb +0 -82
- data/test/snapshot/fargate_process_test.rb +0 -35
- data/test/snapshot/fargate_task_test.rb +0 -49
- data/test/snapshot/google_cloud_run_instance_test.rb +0 -74
- data/test/snapshot/google_cloud_run_process_test.rb +0 -33
- data/test/snapshot/lambda_function_test.rb +0 -37
- data/test/snapshot/ruby_process_test.rb +0 -32
- data/test/support/apps/active_record/active_record.rb +0 -24
- data/test/support/apps/grpc/boot.rb +0 -23
- data/test/support/apps/grpc/grpc_server.rb +0 -84
- data/test/support/apps/http_endpoint/boot.rb +0 -28
- data/test/support/apps/rails/boot.rb +0 -219
- data/test/support/apps/rails/models/block.rb +0 -21
- data/test/support/apps/rails/models/block6.rb +0 -21
- data/test/support/apps/resque/boot.rb +0 -5
- data/test/support/apps/resque/jobs/resque_error_job.rb +0 -22
- data/test/support/apps/resque/jobs/resque_fast_job.rb +0 -23
- data/test/support/apps/sidekiq/boot.rb +0 -25
- data/test/support/apps/sidekiq/jobs/sidekiq_job_1.rb +0 -9
- data/test/support/apps/sidekiq/jobs/sidekiq_job_2.rb +0 -10
- data/test/support/apps/sidekiq/worker.rb +0 -37
- data/test/support/helpers.rb +0 -85
- data/test/support/mock_timer.rb +0 -20
- data/test/test_helper.rb +0 -69
- data/test/trace/custom_test.rb +0 -233
- data/test/trace/id_management_test.rb +0 -78
- data/test/trace/instrumented_logger_test.rb +0 -39
- data/test/trace/processor_test.rb +0 -58
- data/test/trace/span_context_test.rb +0 -22
- data/test/trace/span_test.rb +0 -179
- data/test/trace/tracer_async_test.rb +0 -243
- data/test/trace/tracer_provider_test.rb +0 -148
- data/test/trace/tracer_test.rb +0 -363
- data/test/util_test.rb +0 -10
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# (c) Copyright IBM Corp. 2025
|
|
4
|
+
|
|
5
|
+
require 'instana/span_filtering/configuration'
|
|
6
|
+
require 'instana/span_filtering/filter_rule'
|
|
7
|
+
require 'instana/span_filtering/condition'
|
|
8
|
+
|
|
9
|
+
module Instana
|
|
10
|
+
# SpanFiltering module provides functionality to filter spans based on configured rules
|
|
11
|
+
module SpanFiltering
|
|
12
|
+
class << self
|
|
13
|
+
attr_reader :configuration
|
|
14
|
+
|
|
15
|
+
# Initialize the span filtering configuration
|
|
16
|
+
# @return [Configuration] The span filtering configuration
|
|
17
|
+
def initialize
|
|
18
|
+
@configuration = Configuration.new
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# Check if span filtering is deactivated
|
|
22
|
+
# @return [Boolean] True if span filtering is deactivated
|
|
23
|
+
def deactivated?
|
|
24
|
+
@configuration&.deactivated || false
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Check if a span should be filtered out
|
|
28
|
+
# @param span [Hash] The span to check
|
|
29
|
+
# @return [Hash, nil] A result hash with filtered and suppression keys if filtered, nil if not filtered
|
|
30
|
+
def filter_span(span)
|
|
31
|
+
return nil if deactivated?
|
|
32
|
+
return nil unless @configuration
|
|
33
|
+
|
|
34
|
+
# Check include rules first (whitelist)
|
|
35
|
+
if @configuration.include_rules.any?
|
|
36
|
+
# If we have include rules, only keep spans that match at least one include rule
|
|
37
|
+
unless @configuration.include_rules.any? { |rule| rule.matches?(span) }
|
|
38
|
+
return { filtered: true, suppression: false }
|
|
39
|
+
end
|
|
40
|
+
# If it matches an include rule, continue to exclude rules
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Check exclude rules (blacklist)
|
|
44
|
+
@configuration.exclude_rules.each do |rule|
|
|
45
|
+
if rule.matches?(span)
|
|
46
|
+
return { filtered: true, suppression: rule.suppression }
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
nil # Keep the span if no rules match
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# Reset the configuration (mainly for testing)
|
|
54
|
+
def reset
|
|
55
|
+
@configuration = nil
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Initialize on module load
|
|
60
|
+
initialize
|
|
61
|
+
end
|
|
62
|
+
end
|
data/lib/instana/trace/span.rb
CHANGED
|
@@ -159,15 +159,17 @@ module Instana
|
|
|
159
159
|
# @return [Span]
|
|
160
160
|
#
|
|
161
161
|
def close(end_time = ::Instana::Util.now_in_ms)
|
|
162
|
+
result = ::Instana::SpanFiltering.filter_span(self)
|
|
162
163
|
if end_time.is_a?(Time)
|
|
163
164
|
end_time = ::Instana::Util.time_to_ms(end_time)
|
|
164
165
|
end
|
|
165
|
-
|
|
166
166
|
@attributes[:d] = end_time - @attributes[:ts]
|
|
167
167
|
@ended = true
|
|
168
|
-
# Add this span to the queue for reporting
|
|
169
|
-
::Instana.processor.on_finish(self)
|
|
170
168
|
|
|
169
|
+
if result.nil?
|
|
170
|
+
# Add this span to the queue for reporting
|
|
171
|
+
::Instana.processor.on_finish(self)
|
|
172
|
+
end
|
|
171
173
|
self
|
|
172
174
|
end
|
|
173
175
|
|
|
@@ -42,8 +42,16 @@ module Instana
|
|
|
42
42
|
def trace_parent_header
|
|
43
43
|
trace = (@baggage[:external_trace_id] || trace_id_header).rjust(32, '0')
|
|
44
44
|
parent = span_id_header.rjust(16, '0')
|
|
45
|
-
flags = @
|
|
46
|
-
|
|
45
|
+
flags = if @baggage[:external_trace_flags]
|
|
46
|
+
# Parse external flags as 8-bit hex, clear LSB, then set LSB based on level
|
|
47
|
+
external_flags = @baggage[:external_trace_flags].to_i(16) & 0xFE # Clear LSB
|
|
48
|
+
combined_flags = external_flags | (@level == 1 ? 1 : 0) # Set LSB based on level
|
|
49
|
+
combined_flags = [combined_flags, 0xFF].min # Cap at 8-bit max
|
|
50
|
+
format('%02x', combined_flags)
|
|
51
|
+
else
|
|
52
|
+
@level == 1 ? "03" : "02"
|
|
53
|
+
end
|
|
54
|
+
flags = "03" if flags > "03"
|
|
47
55
|
"00-#{trace}-#{parent}-#{flags}"
|
|
48
56
|
end
|
|
49
57
|
|
data/lib/instana/trace/tracer.rb
CHANGED
|
@@ -307,27 +307,6 @@ module Instana
|
|
|
307
307
|
self.current_span = nil
|
|
308
308
|
end
|
|
309
309
|
|
|
310
|
-
# Creates a span that is active during the execution of the provided block.
|
|
311
|
-
# The span is automatically closed when the block completes, whether it completes
|
|
312
|
-
# normally or with an exception.
|
|
313
|
-
#
|
|
314
|
-
# @param name [String, Symbol] the name of the span to create
|
|
315
|
-
# @param attributes [Hash, nil] optional attributes to set on the span
|
|
316
|
-
# @param links [Array<Link>, nil] optional links to associate with the span
|
|
317
|
-
# @param start_timestamp [Integer, nil] optional start time for the span in milliseconds
|
|
318
|
-
# @param kind [Symbol, nil] optional span kind (e.g., :internal, :client, :server)
|
|
319
|
-
#
|
|
320
|
-
# @return [Object] the return value of the block
|
|
321
|
-
#
|
|
322
|
-
# @note This method is a wrapper around the parent class implementation and
|
|
323
|
-
# will only create a span if the Instana agent is ready and tracing is enabled.
|
|
324
|
-
#
|
|
325
|
-
def in_span(name, attributes: nil, links: nil, start_timestamp: nil, kind: nil)
|
|
326
|
-
return if !::Instana.agent.ready? || !::Instana.config[:tracing][:enabled]
|
|
327
|
-
|
|
328
|
-
super
|
|
329
|
-
end
|
|
330
|
-
|
|
331
310
|
# Starts a new span with the given parameters.
|
|
332
311
|
#
|
|
333
312
|
# @param name [String, Symbol] the name of the span to create (defaults to 'empty' if nil)
|
data/lib/instana/util.rb
CHANGED
|
@@ -181,6 +181,19 @@ module Instana
|
|
|
181
181
|
timeout -= (timeout_timestamp - start_time)
|
|
182
182
|
timeout.positive? ? timeout : 0
|
|
183
183
|
end
|
|
184
|
+
|
|
185
|
+
def extra_header_tags(req_res_headers)
|
|
186
|
+
return {} if req_res_headers.nil?
|
|
187
|
+
return nil unless ::Instana.agent.extra_headers
|
|
188
|
+
|
|
189
|
+
headers = {}
|
|
190
|
+
|
|
191
|
+
::Instana.agent.extra_headers.each do |custom_header|
|
|
192
|
+
headers[custom_header.to_sym] = req_res_headers[custom_header] if req_res_headers.key?(custom_header)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
headers
|
|
196
|
+
end
|
|
184
197
|
end
|
|
185
198
|
end
|
|
186
199
|
end
|
data/lib/instana/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: instana
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Giacomo Lombardo
|
|
@@ -228,106 +228,9 @@ executables: []
|
|
|
228
228
|
extensions: []
|
|
229
229
|
extra_rdoc_files: []
|
|
230
230
|
files:
|
|
231
|
-
- ".circleci/config.yml"
|
|
232
|
-
- ".codeclimate.yml"
|
|
233
|
-
- ".editorconfig"
|
|
234
|
-
- ".fasterer.yml"
|
|
235
|
-
- ".github/ISSUE_TEMPLATE/bug.yml"
|
|
236
|
-
- ".github/ISSUE_TEMPLATE/config.yml"
|
|
237
|
-
- ".github/workflows/pr_commits_signed_off.yml"
|
|
238
|
-
- ".github/workflows/release-notification-on-slack.yml"
|
|
239
|
-
- ".gitignore"
|
|
240
|
-
- ".rubocop.yml"
|
|
241
|
-
- ".rubocop_todo.yml"
|
|
242
|
-
- ".tekton/.currency/docs/report.md"
|
|
243
|
-
- ".tekton/.currency/resources/requirements.txt"
|
|
244
|
-
- ".tekton/.currency/resources/table.json"
|
|
245
|
-
- ".tekton/.currency/scripts/generate_report.py"
|
|
246
|
-
- ".tekton/README.md"
|
|
247
|
-
- ".tekton/github-interceptor-secret.yaml"
|
|
248
|
-
- ".tekton/github-pr-eventlistener.yaml"
|
|
249
|
-
- ".tekton/github-pr-pipeline.yaml.part"
|
|
250
|
-
- ".tekton/github-set-status-task.yaml"
|
|
251
|
-
- ".tekton/github-webhook-ingress.yaml"
|
|
252
|
-
- ".tekton/pipeline.yaml"
|
|
253
|
-
- ".tekton/pipelinerun.yaml"
|
|
254
|
-
- ".tekton/prepuller-restart-service-account.yaml"
|
|
255
|
-
- ".tekton/ruby-tracer-prepuller-cronjob.yaml"
|
|
256
|
-
- ".tekton/ruby-tracer-prepuller.yaml"
|
|
257
|
-
- ".tekton/run_unittests.sh"
|
|
258
|
-
- ".tekton/scheduled-eventlistener.yaml"
|
|
259
|
-
- ".tekton/task.yaml"
|
|
260
|
-
- ".tekton/tekton-triggers-eventlistener-serviceaccount.yaml"
|
|
261
|
-
- Appraisals
|
|
262
|
-
- CONTRIBUTING.md
|
|
263
|
-
- Gemfile
|
|
264
|
-
- LICENSE
|
|
265
|
-
- MAINTAINERS.md
|
|
266
231
|
- README.md
|
|
267
|
-
- Rakefile
|
|
268
|
-
- bin/announce_release_on_slack.py
|
|
269
232
|
- bin/console
|
|
270
233
|
- bin/setup
|
|
271
|
-
- docker-compose.yml
|
|
272
|
-
- download.sh
|
|
273
|
-
- examples/otel.rb
|
|
274
|
-
- examples/tracing.rb
|
|
275
|
-
- extras/license_header.rb
|
|
276
|
-
- gemfiles/.bundle/config
|
|
277
|
-
- gemfiles/aws_30.gemfile
|
|
278
|
-
- gemfiles/aws_60.gemfile
|
|
279
|
-
- gemfiles/cuba_30.gemfile
|
|
280
|
-
- gemfiles/cuba_40.gemfile
|
|
281
|
-
- gemfiles/dalli_20.gemfile
|
|
282
|
-
- gemfiles/dalli_30.gemfile
|
|
283
|
-
- gemfiles/dalli_32.gemfile
|
|
284
|
-
- gemfiles/excon_0100.gemfile
|
|
285
|
-
- gemfiles/excon_021.gemfile
|
|
286
|
-
- gemfiles/excon_079.gemfile
|
|
287
|
-
- gemfiles/excon_100.gemfile
|
|
288
|
-
- gemfiles/graphql_10.gemfile
|
|
289
|
-
- gemfiles/graphql_20.gemfile
|
|
290
|
-
- gemfiles/grpc_10.gemfile
|
|
291
|
-
- gemfiles/mongo_216.gemfile
|
|
292
|
-
- gemfiles/mongo_219.gemfile
|
|
293
|
-
- gemfiles/net_http_01.gemfile
|
|
294
|
-
- gemfiles/rack_16.gemfile
|
|
295
|
-
- gemfiles/rack_20.gemfile
|
|
296
|
-
- gemfiles/rack_30.gemfile
|
|
297
|
-
- gemfiles/rails_42.gemfile
|
|
298
|
-
- gemfiles/rails_50.gemfile
|
|
299
|
-
- gemfiles/rails_52.gemfile
|
|
300
|
-
- gemfiles/rails_60.gemfile
|
|
301
|
-
- gemfiles/rails_61.gemfile
|
|
302
|
-
- gemfiles/rails_70.gemfile
|
|
303
|
-
- gemfiles/rails_71.gemfile
|
|
304
|
-
- gemfiles/rails_80.gemfile
|
|
305
|
-
- gemfiles/redis_40.gemfile
|
|
306
|
-
- gemfiles/redis_50.gemfile
|
|
307
|
-
- gemfiles/redis_51.gemfile
|
|
308
|
-
- gemfiles/resque_122.gemfile
|
|
309
|
-
- gemfiles/resque_1274_3scale.gemfile
|
|
310
|
-
- gemfiles/resque_20.gemfile
|
|
311
|
-
- gemfiles/rest_client_16.gemfile
|
|
312
|
-
- gemfiles/rest_client_20.gemfile
|
|
313
|
-
- gemfiles/roda_20.gemfile
|
|
314
|
-
- gemfiles/roda_30.gemfile
|
|
315
|
-
- gemfiles/rubocop_162.gemfile
|
|
316
|
-
- gemfiles/sequel_56.gemfile
|
|
317
|
-
- gemfiles/sequel_57.gemfile
|
|
318
|
-
- gemfiles/sequel_58.gemfile
|
|
319
|
-
- gemfiles/shoryuken_50.gemfile
|
|
320
|
-
- gemfiles/shoryuken_60.gemfile
|
|
321
|
-
- gemfiles/sidekiq_42.gemfile
|
|
322
|
-
- gemfiles/sidekiq_50.gemfile
|
|
323
|
-
- gemfiles/sidekiq_60.gemfile
|
|
324
|
-
- gemfiles/sidekiq_65.gemfile
|
|
325
|
-
- gemfiles/sidekiq_70.gemfile
|
|
326
|
-
- gemfiles/sinatra_14.gemfile
|
|
327
|
-
- gemfiles/sinatra_22.gemfile
|
|
328
|
-
- gemfiles/sinatra_30.gemfile
|
|
329
|
-
- gemfiles/sinatra_40.gemfile
|
|
330
|
-
- instana.gemspec
|
|
331
234
|
- lib/instana.rb
|
|
332
235
|
- lib/instana/activator.rb
|
|
333
236
|
- lib/instana/activators/action_cable.rb
|
|
@@ -420,6 +323,10 @@ files:
|
|
|
420
323
|
- lib/instana/snapshot/google_cloud_run_process.rb
|
|
421
324
|
- lib/instana/snapshot/lambda_function.rb
|
|
422
325
|
- lib/instana/snapshot/ruby_process.rb
|
|
326
|
+
- lib/instana/span_filtering.rb
|
|
327
|
+
- lib/instana/span_filtering/condition.rb
|
|
328
|
+
- lib/instana/span_filtering/configuration.rb
|
|
329
|
+
- lib/instana/span_filtering/filter_rule.rb
|
|
423
330
|
- lib/instana/trace.rb
|
|
424
331
|
- lib/instana/trace/export.rb
|
|
425
332
|
- lib/instana/trace/processor.rb
|
|
@@ -431,86 +338,6 @@ files:
|
|
|
431
338
|
- lib/instana/trace/tracer_provider.rb
|
|
432
339
|
- lib/instana/util.rb
|
|
433
340
|
- lib/instana/version.rb
|
|
434
|
-
- log/.keep
|
|
435
|
-
- sonar-project.properties
|
|
436
|
-
- test/activator_test.rb
|
|
437
|
-
- test/backend/agent_test.rb
|
|
438
|
-
- test/backend/gc_snapshot_test.rb
|
|
439
|
-
- test/backend/host_agent_activation_observer_test.rb
|
|
440
|
-
- test/backend/host_agent_lookup_test.rb
|
|
441
|
-
- test/backend/host_agent_reporting_observer_test.rb
|
|
442
|
-
- test/backend/host_agent_test.rb
|
|
443
|
-
- test/backend/process_info_test.rb
|
|
444
|
-
- test/backend/request_client_test.rb
|
|
445
|
-
- test/backend/serverless_agent_test.rb
|
|
446
|
-
- test/benchmarks/bench_id_generation.rb
|
|
447
|
-
- test/benchmarks/bench_opentracing.rb
|
|
448
|
-
- test/config_test.rb
|
|
449
|
-
- test/frameworks/cuba_test.rb
|
|
450
|
-
- test/frameworks/roda_test.rb
|
|
451
|
-
- test/frameworks/sinatra_test.rb
|
|
452
|
-
- test/instana_test.rb
|
|
453
|
-
- test/instrumentation/aws_test.rb
|
|
454
|
-
- test/instrumentation/dalli_test.rb
|
|
455
|
-
- test/instrumentation/excon_test.rb
|
|
456
|
-
- test/instrumentation/graphql_test.rb
|
|
457
|
-
- test/instrumentation/grpc_test.rb
|
|
458
|
-
- test/instrumentation/mongo_test.rb
|
|
459
|
-
- test/instrumentation/net_http_test.rb
|
|
460
|
-
- test/instrumentation/rack_instrumented_request_test.rb
|
|
461
|
-
- test/instrumentation/rack_test.rb
|
|
462
|
-
- test/instrumentation/rails_action_cable_test.rb
|
|
463
|
-
- test/instrumentation/rails_action_controller_test.rb
|
|
464
|
-
- test/instrumentation/rails_action_mailer_test.rb
|
|
465
|
-
- test/instrumentation/rails_action_view_test.rb
|
|
466
|
-
- test/instrumentation/rails_active_job_test.rb
|
|
467
|
-
- test/instrumentation/rails_active_record_database_missing_test.rb
|
|
468
|
-
- test/instrumentation/rails_active_record_test.rb
|
|
469
|
-
- test/instrumentation/redis_test.rb
|
|
470
|
-
- test/instrumentation/resque_test.rb
|
|
471
|
-
- test/instrumentation/rest_client_test.rb
|
|
472
|
-
- test/instrumentation/sequel_test.rb
|
|
473
|
-
- test/instrumentation/shoryuken_test.rb
|
|
474
|
-
- test/instrumentation/sidekiq-client_test.rb
|
|
475
|
-
- test/instrumentation/sidekiq-worker_test.rb
|
|
476
|
-
- test/secrets_test.rb
|
|
477
|
-
- test/serverless_test.rb
|
|
478
|
-
- test/snapshot/deltable_test.rb
|
|
479
|
-
- test/snapshot/docker_container_test.rb
|
|
480
|
-
- test/snapshot/fargate_container_test.rb
|
|
481
|
-
- test/snapshot/fargate_process_test.rb
|
|
482
|
-
- test/snapshot/fargate_task_test.rb
|
|
483
|
-
- test/snapshot/google_cloud_run_instance_test.rb
|
|
484
|
-
- test/snapshot/google_cloud_run_process_test.rb
|
|
485
|
-
- test/snapshot/lambda_function_test.rb
|
|
486
|
-
- test/snapshot/ruby_process_test.rb
|
|
487
|
-
- test/support/apps/active_record/active_record.rb
|
|
488
|
-
- test/support/apps/grpc/boot.rb
|
|
489
|
-
- test/support/apps/grpc/grpc_server.rb
|
|
490
|
-
- test/support/apps/http_endpoint/boot.rb
|
|
491
|
-
- test/support/apps/rails/boot.rb
|
|
492
|
-
- test/support/apps/rails/models/block.rb
|
|
493
|
-
- test/support/apps/rails/models/block6.rb
|
|
494
|
-
- test/support/apps/resque/boot.rb
|
|
495
|
-
- test/support/apps/resque/jobs/resque_error_job.rb
|
|
496
|
-
- test/support/apps/resque/jobs/resque_fast_job.rb
|
|
497
|
-
- test/support/apps/sidekiq/boot.rb
|
|
498
|
-
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
|
499
|
-
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
|
500
|
-
- test/support/apps/sidekiq/worker.rb
|
|
501
|
-
- test/support/helpers.rb
|
|
502
|
-
- test/support/mock_timer.rb
|
|
503
|
-
- test/test_helper.rb
|
|
504
|
-
- test/trace/custom_test.rb
|
|
505
|
-
- test/trace/id_management_test.rb
|
|
506
|
-
- test/trace/instrumented_logger_test.rb
|
|
507
|
-
- test/trace/processor_test.rb
|
|
508
|
-
- test/trace/span_context_test.rb
|
|
509
|
-
- test/trace/span_test.rb
|
|
510
|
-
- test/trace/tracer_async_test.rb
|
|
511
|
-
- test/trace/tracer_provider_test.rb
|
|
512
|
-
- test/trace/tracer_test.rb
|
|
513
|
-
- test/util_test.rb
|
|
514
341
|
homepage: https://www.instana.com/
|
|
515
342
|
licenses:
|
|
516
343
|
- MIT
|
|
@@ -533,85 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
533
360
|
- !ruby/object:Gem::Version
|
|
534
361
|
version: '0'
|
|
535
362
|
requirements: []
|
|
536
|
-
rubygems_version: 3.7.
|
|
363
|
+
rubygems_version: 3.7.2
|
|
537
364
|
specification_version: 4
|
|
538
365
|
summary: Ruby Distributed Tracing & Metrics Sensor for Instana
|
|
539
|
-
test_files:
|
|
540
|
-
- test/activator_test.rb
|
|
541
|
-
- test/backend/agent_test.rb
|
|
542
|
-
- test/backend/gc_snapshot_test.rb
|
|
543
|
-
- test/backend/host_agent_activation_observer_test.rb
|
|
544
|
-
- test/backend/host_agent_lookup_test.rb
|
|
545
|
-
- test/backend/host_agent_reporting_observer_test.rb
|
|
546
|
-
- test/backend/host_agent_test.rb
|
|
547
|
-
- test/backend/process_info_test.rb
|
|
548
|
-
- test/backend/request_client_test.rb
|
|
549
|
-
- test/backend/serverless_agent_test.rb
|
|
550
|
-
- test/benchmarks/bench_id_generation.rb
|
|
551
|
-
- test/benchmarks/bench_opentracing.rb
|
|
552
|
-
- test/config_test.rb
|
|
553
|
-
- test/frameworks/cuba_test.rb
|
|
554
|
-
- test/frameworks/roda_test.rb
|
|
555
|
-
- test/frameworks/sinatra_test.rb
|
|
556
|
-
- test/instana_test.rb
|
|
557
|
-
- test/instrumentation/aws_test.rb
|
|
558
|
-
- test/instrumentation/dalli_test.rb
|
|
559
|
-
- test/instrumentation/excon_test.rb
|
|
560
|
-
- test/instrumentation/graphql_test.rb
|
|
561
|
-
- test/instrumentation/grpc_test.rb
|
|
562
|
-
- test/instrumentation/mongo_test.rb
|
|
563
|
-
- test/instrumentation/net_http_test.rb
|
|
564
|
-
- test/instrumentation/rack_instrumented_request_test.rb
|
|
565
|
-
- test/instrumentation/rack_test.rb
|
|
566
|
-
- test/instrumentation/rails_action_cable_test.rb
|
|
567
|
-
- test/instrumentation/rails_action_controller_test.rb
|
|
568
|
-
- test/instrumentation/rails_action_mailer_test.rb
|
|
569
|
-
- test/instrumentation/rails_action_view_test.rb
|
|
570
|
-
- test/instrumentation/rails_active_job_test.rb
|
|
571
|
-
- test/instrumentation/rails_active_record_database_missing_test.rb
|
|
572
|
-
- test/instrumentation/rails_active_record_test.rb
|
|
573
|
-
- test/instrumentation/redis_test.rb
|
|
574
|
-
- test/instrumentation/resque_test.rb
|
|
575
|
-
- test/instrumentation/rest_client_test.rb
|
|
576
|
-
- test/instrumentation/sequel_test.rb
|
|
577
|
-
- test/instrumentation/shoryuken_test.rb
|
|
578
|
-
- test/instrumentation/sidekiq-client_test.rb
|
|
579
|
-
- test/instrumentation/sidekiq-worker_test.rb
|
|
580
|
-
- test/secrets_test.rb
|
|
581
|
-
- test/serverless_test.rb
|
|
582
|
-
- test/snapshot/deltable_test.rb
|
|
583
|
-
- test/snapshot/docker_container_test.rb
|
|
584
|
-
- test/snapshot/fargate_container_test.rb
|
|
585
|
-
- test/snapshot/fargate_process_test.rb
|
|
586
|
-
- test/snapshot/fargate_task_test.rb
|
|
587
|
-
- test/snapshot/google_cloud_run_instance_test.rb
|
|
588
|
-
- test/snapshot/google_cloud_run_process_test.rb
|
|
589
|
-
- test/snapshot/lambda_function_test.rb
|
|
590
|
-
- test/snapshot/ruby_process_test.rb
|
|
591
|
-
- test/support/apps/active_record/active_record.rb
|
|
592
|
-
- test/support/apps/grpc/boot.rb
|
|
593
|
-
- test/support/apps/grpc/grpc_server.rb
|
|
594
|
-
- test/support/apps/http_endpoint/boot.rb
|
|
595
|
-
- test/support/apps/rails/boot.rb
|
|
596
|
-
- test/support/apps/rails/models/block.rb
|
|
597
|
-
- test/support/apps/rails/models/block6.rb
|
|
598
|
-
- test/support/apps/resque/boot.rb
|
|
599
|
-
- test/support/apps/resque/jobs/resque_error_job.rb
|
|
600
|
-
- test/support/apps/resque/jobs/resque_fast_job.rb
|
|
601
|
-
- test/support/apps/sidekiq/boot.rb
|
|
602
|
-
- test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
|
|
603
|
-
- test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
|
|
604
|
-
- test/support/apps/sidekiq/worker.rb
|
|
605
|
-
- test/support/helpers.rb
|
|
606
|
-
- test/support/mock_timer.rb
|
|
607
|
-
- test/test_helper.rb
|
|
608
|
-
- test/trace/custom_test.rb
|
|
609
|
-
- test/trace/id_management_test.rb
|
|
610
|
-
- test/trace/instrumented_logger_test.rb
|
|
611
|
-
- test/trace/processor_test.rb
|
|
612
|
-
- test/trace/span_context_test.rb
|
|
613
|
-
- test/trace/span_test.rb
|
|
614
|
-
- test/trace/tracer_async_test.rb
|
|
615
|
-
- test/trace/tracer_provider_test.rb
|
|
616
|
-
- test/trace/tracer_test.rb
|
|
617
|
-
- test/util_test.rb
|
|
366
|
+
test_files: []
|