instana 1.217.1 → 2.1.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.
Files changed (228) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/lib/instana/base.rb +4 -2
  4. data/lib/instana/instrumentation/action_cable.rb +8 -4
  5. data/lib/instana/instrumentation/action_controller.rb +2 -4
  6. data/lib/instana/instrumentation/action_mailer.rb +1 -1
  7. data/lib/instana/instrumentation/action_view.rb +4 -4
  8. data/lib/instana/instrumentation/active_job.rb +20 -5
  9. data/lib/instana/instrumentation/active_record.rb +1 -1
  10. data/lib/instana/instrumentation/aws_sdk_dynamodb.rb +1 -1
  11. data/lib/instana/instrumentation/aws_sdk_lambda.rb +1 -1
  12. data/lib/instana/instrumentation/aws_sdk_s3.rb +1 -1
  13. data/lib/instana/instrumentation/aws_sdk_sns.rb +1 -1
  14. data/lib/instana/instrumentation/aws_sdk_sqs.rb +1 -1
  15. data/lib/instana/instrumentation/dalli.rb +1 -1
  16. data/lib/instana/instrumentation/excon.rb +2 -2
  17. data/lib/instana/instrumentation/graphql.rb +3 -3
  18. data/lib/instana/instrumentation/grpc.rb +14 -13
  19. data/lib/instana/instrumentation/mongo.rb +3 -3
  20. data/lib/instana/instrumentation/net-http.rb +5 -4
  21. data/lib/instana/instrumentation/rack.rb +36 -4
  22. data/lib/instana/instrumentation/redis.rb +1 -1
  23. data/lib/instana/instrumentation/resque.rb +10 -8
  24. data/lib/instana/instrumentation/rest-client.rb +4 -4
  25. data/lib/instana/instrumentation/sequel.rb +3 -3
  26. data/lib/instana/instrumentation/shoryuken.rb +4 -1
  27. data/lib/instana/instrumentation/sidekiq-client.rb +21 -19
  28. data/lib/instana/instrumentation/sidekiq-worker.rb +22 -21
  29. data/lib/instana/instrumented_logger.rb +1 -1
  30. data/lib/instana/samplers/result.rb +32 -0
  31. data/lib/instana/samplers/samplers.rb +76 -0
  32. data/lib/instana/serverless.rb +4 -2
  33. data/lib/instana/setup.rb +5 -5
  34. data/lib/instana/span_filtering/condition.rb +134 -0
  35. data/lib/instana/span_filtering/configuration.rb +262 -0
  36. data/lib/instana/span_filtering/filter_rule.rb +31 -0
  37. data/lib/instana/span_filtering.rb +62 -0
  38. data/lib/instana/trace/export.rb +36 -0
  39. data/lib/instana/{tracing → trace}/processor.rb +19 -15
  40. data/lib/instana/trace/span.rb +534 -0
  41. data/lib/instana/{tracing → trace}/span_context.rb +17 -8
  42. data/lib/instana/trace/span_kind.rb +51 -0
  43. data/lib/instana/trace/span_limits.rb +63 -0
  44. data/lib/instana/{tracer.rb → trace/tracer.rb} +106 -54
  45. data/lib/instana/trace/tracer_provider.rb +198 -0
  46. data/lib/instana/trace.rb +74 -0
  47. data/lib/instana/util.rb +11 -0
  48. data/lib/instana/version.rb +1 -1
  49. metadata +89 -267
  50. data/.circleci/config.yml +0 -485
  51. data/.codeclimate.yml +0 -23
  52. data/.editorconfig +0 -10
  53. data/.fasterer.yml +0 -23
  54. data/.github/ISSUE_TEMPLATE/bug.yml +0 -39
  55. data/.github/ISSUE_TEMPLATE/config.yml +0 -8
  56. data/.github/workflows/pr_commits_signed_off.yml +0 -16
  57. data/.github/workflows/release-notification-on-slack.yml +0 -34
  58. data/.gitignore +0 -19
  59. data/.rubocop.yml +0 -34
  60. data/.rubocop_todo.yml +0 -1140
  61. data/.tekton/.currency/docs/report.md +0 -20
  62. data/.tekton/.currency/resources/requirements.txt +0 -4
  63. data/.tekton/.currency/resources/table.json +0 -100
  64. data/.tekton/.currency/scripts/generate_report.py +0 -136
  65. data/.tekton/README.md +0 -278
  66. data/.tekton/github-interceptor-secret.yaml +0 -8
  67. data/.tekton/github-pr-eventlistener.yaml +0 -104
  68. data/.tekton/github-pr-pipeline.yaml.part +0 -38
  69. data/.tekton/github-set-status-task.yaml +0 -43
  70. data/.tekton/github-webhook-ingress.yaml +0 -20
  71. data/.tekton/pipeline.yaml +0 -571
  72. data/.tekton/pipelinerun.yaml +0 -21
  73. data/.tekton/ruby-tracer-prepuller.yaml +0 -87
  74. data/.tekton/run_unittests.sh +0 -87
  75. data/.tekton/scheduled-eventlistener.yaml +0 -108
  76. data/.tekton/task.yaml +0 -449
  77. data/.tekton/tekton-triggers-eventlistener-serviceaccount.yaml +0 -29
  78. data/Appraisals +0 -124
  79. data/CONTRIBUTING.md +0 -86
  80. data/Gemfile +0 -17
  81. data/LICENSE +0 -22
  82. data/MAINTAINERS.md +0 -3
  83. data/Rakefile +0 -49
  84. data/bin/announce_release_on_slack.py +0 -103
  85. data/docker-compose.yml +0 -20
  86. data/download.sh +0 -85
  87. data/examples/opentracing.rb +0 -35
  88. data/examples/tracing.rb +0 -84
  89. data/extras/license_header.rb +0 -44
  90. data/gemfiles/.bundle/config +0 -2
  91. data/gemfiles/aws_30.gemfile +0 -21
  92. data/gemfiles/aws_60.gemfile +0 -16
  93. data/gemfiles/cuba_30.gemfile +0 -16
  94. data/gemfiles/cuba_40.gemfile +0 -13
  95. data/gemfiles/dalli_20.gemfile +0 -15
  96. data/gemfiles/dalli_30.gemfile +0 -12
  97. data/gemfiles/dalli_32.gemfile +0 -12
  98. data/gemfiles/excon_0100.gemfile +0 -14
  99. data/gemfiles/excon_021.gemfile +0 -17
  100. data/gemfiles/excon_079.gemfile +0 -17
  101. data/gemfiles/excon_100.gemfile +0 -14
  102. data/gemfiles/graphql_10.gemfile +0 -16
  103. data/gemfiles/graphql_20.gemfile +0 -15
  104. data/gemfiles/grpc_10.gemfile +0 -15
  105. data/gemfiles/mongo_216.gemfile +0 -15
  106. data/gemfiles/mongo_219.gemfile +0 -12
  107. data/gemfiles/net_http_01.gemfile +0 -17
  108. data/gemfiles/rack_16.gemfile +0 -15
  109. data/gemfiles/rack_20.gemfile +0 -15
  110. data/gemfiles/rack_30.gemfile +0 -13
  111. data/gemfiles/rails_42.gemfile +0 -18
  112. data/gemfiles/rails_50.gemfile +0 -19
  113. data/gemfiles/rails_52.gemfile +0 -19
  114. data/gemfiles/rails_60.gemfile +0 -19
  115. data/gemfiles/rails_61.gemfile +0 -20
  116. data/gemfiles/rails_70.gemfile +0 -17
  117. data/gemfiles/rails_71.gemfile +0 -17
  118. data/gemfiles/rails_80.gemfile +0 -17
  119. data/gemfiles/redis_40.gemfile +0 -15
  120. data/gemfiles/redis_50.gemfile +0 -13
  121. data/gemfiles/redis_51.gemfile +0 -13
  122. data/gemfiles/resque_122.gemfile +0 -16
  123. data/gemfiles/resque_1274_3scale.gemfile +0 -17
  124. data/gemfiles/resque_20.gemfile +0 -16
  125. data/gemfiles/rest_client_16.gemfile +0 -17
  126. data/gemfiles/rest_client_20.gemfile +0 -17
  127. data/gemfiles/roda_20.gemfile +0 -16
  128. data/gemfiles/roda_30.gemfile +0 -16
  129. data/gemfiles/rubocop_162.gemfile +0 -6
  130. data/gemfiles/sequel_56.gemfile +0 -16
  131. data/gemfiles/sequel_57.gemfile +0 -16
  132. data/gemfiles/sequel_58.gemfile +0 -16
  133. data/gemfiles/shoryuken_50.gemfile +0 -16
  134. data/gemfiles/shoryuken_60.gemfile +0 -13
  135. data/gemfiles/sidekiq_42.gemfile +0 -15
  136. data/gemfiles/sidekiq_50.gemfile +0 -15
  137. data/gemfiles/sidekiq_60.gemfile +0 -12
  138. data/gemfiles/sidekiq_65.gemfile +0 -12
  139. data/gemfiles/sidekiq_70.gemfile +0 -12
  140. data/gemfiles/sinatra_14.gemfile +0 -15
  141. data/gemfiles/sinatra_22.gemfile +0 -12
  142. data/gemfiles/sinatra_30.gemfile +0 -12
  143. data/gemfiles/sinatra_40.gemfile +0 -12
  144. data/instana.gemspec +0 -48
  145. data/lib/instana/open_tracing/carrier.rb +0 -7
  146. data/lib/instana/open_tracing/instana_tracer.rb +0 -99
  147. data/lib/instana/tracing/span.rb +0 -431
  148. data/lib/opentracing.rb +0 -32
  149. data/log/.keep +0 -0
  150. data/sonar-project.properties +0 -9
  151. data/test/activator_test.rb +0 -50
  152. data/test/backend/agent_test.rb +0 -80
  153. data/test/backend/gc_snapshot_test.rb +0 -11
  154. data/test/backend/host_agent_activation_observer_test.rb +0 -73
  155. data/test/backend/host_agent_lookup_test.rb +0 -78
  156. data/test/backend/host_agent_reporting_observer_test.rb +0 -276
  157. data/test/backend/host_agent_test.rb +0 -89
  158. data/test/backend/process_info_test.rb +0 -83
  159. data/test/backend/request_client_test.rb +0 -39
  160. data/test/backend/serverless_agent_test.rb +0 -83
  161. data/test/benchmarks/bench_id_generation.rb +0 -15
  162. data/test/benchmarks/bench_opentracing.rb +0 -16
  163. data/test/config_test.rb +0 -34
  164. data/test/frameworks/cuba_test.rb +0 -61
  165. data/test/frameworks/roda_test.rb +0 -60
  166. data/test/frameworks/sinatra_test.rb +0 -71
  167. data/test/instana_test.rb +0 -37
  168. data/test/instrumentation/aws_test.rb +0 -241
  169. data/test/instrumentation/dalli_test.rb +0 -325
  170. data/test/instrumentation/excon_test.rb +0 -204
  171. data/test/instrumentation/graphql_test.rb +0 -289
  172. data/test/instrumentation/grpc_test.rb +0 -420
  173. data/test/instrumentation/mongo_test.rb +0 -68
  174. data/test/instrumentation/net_http_test.rb +0 -220
  175. data/test/instrumentation/rack_instrumented_request_test.rb +0 -211
  176. data/test/instrumentation/rack_test.rb +0 -415
  177. data/test/instrumentation/rails_action_cable_test.rb +0 -135
  178. data/test/instrumentation/rails_action_controller_test.rb +0 -218
  179. data/test/instrumentation/rails_action_mailer_test.rb +0 -66
  180. data/test/instrumentation/rails_action_view_test.rb +0 -154
  181. data/test/instrumentation/rails_active_job_test.rb +0 -65
  182. data/test/instrumentation/rails_active_record_database_missing_test.rb +0 -45
  183. data/test/instrumentation/rails_active_record_test.rb +0 -115
  184. data/test/instrumentation/redis_test.rb +0 -152
  185. data/test/instrumentation/resque_test.rb +0 -188
  186. data/test/instrumentation/rest_client_test.rb +0 -107
  187. data/test/instrumentation/sequel_test.rb +0 -105
  188. data/test/instrumentation/shoryuken_test.rb +0 -47
  189. data/test/instrumentation/sidekiq-client_test.rb +0 -169
  190. data/test/instrumentation/sidekiq-worker_test.rb +0 -180
  191. data/test/secrets_test.rb +0 -112
  192. data/test/serverless_test.rb +0 -369
  193. data/test/snapshot/deltable_test.rb +0 -17
  194. data/test/snapshot/docker_container_test.rb +0 -82
  195. data/test/snapshot/fargate_container_test.rb +0 -82
  196. data/test/snapshot/fargate_process_test.rb +0 -35
  197. data/test/snapshot/fargate_task_test.rb +0 -49
  198. data/test/snapshot/google_cloud_run_instance_test.rb +0 -74
  199. data/test/snapshot/google_cloud_run_process_test.rb +0 -33
  200. data/test/snapshot/lambda_function_test.rb +0 -37
  201. data/test/snapshot/ruby_process_test.rb +0 -32
  202. data/test/support/apps/active_record/active_record.rb +0 -24
  203. data/test/support/apps/grpc/boot.rb +0 -23
  204. data/test/support/apps/grpc/grpc_server.rb +0 -84
  205. data/test/support/apps/http_endpoint/boot.rb +0 -28
  206. data/test/support/apps/rails/boot.rb +0 -219
  207. data/test/support/apps/rails/models/block.rb +0 -21
  208. data/test/support/apps/rails/models/block6.rb +0 -21
  209. data/test/support/apps/resque/boot.rb +0 -5
  210. data/test/support/apps/resque/jobs/resque_error_job.rb +0 -22
  211. data/test/support/apps/resque/jobs/resque_fast_job.rb +0 -23
  212. data/test/support/apps/sidekiq/boot.rb +0 -25
  213. data/test/support/apps/sidekiq/jobs/sidekiq_job_1.rb +0 -9
  214. data/test/support/apps/sidekiq/jobs/sidekiq_job_2.rb +0 -10
  215. data/test/support/apps/sidekiq/worker.rb +0 -37
  216. data/test/support/helpers.rb +0 -85
  217. data/test/support/mock_timer.rb +0 -20
  218. data/test/test_helper.rb +0 -69
  219. data/test/tracing/custom_test.rb +0 -226
  220. data/test/tracing/id_management_test.rb +0 -80
  221. data/test/tracing/instrumented_logger_test.rb +0 -39
  222. data/test/tracing/opentracing_test.rb +0 -382
  223. data/test/tracing/processor_test.rb +0 -58
  224. data/test/tracing/span_context_test.rb +0 -22
  225. data/test/tracing/span_test.rb +0 -179
  226. data/test/tracing/tracer_async_test.rb +0 -230
  227. data/test/tracing/tracer_test.rb +0 -352
  228. data/test/util_test.rb +0 -10
@@ -0,0 +1,74 @@
1
+ # (c) Copyright IBM Corp. 2025
2
+ require 'opentelemetry/context'
3
+ module Instana
4
+ # The Trace API allows recording a set of events, triggered as a result of a
5
+ # single logical operation, consolidated across various components of an
6
+ # application.
7
+ module Trace
8
+ include OpenTelemetry::Trace
9
+
10
+ module_function
11
+
12
+ ID_RANGE = -2**63..2**63 - 1
13
+
14
+ # Generates a valid trace identifier
15
+
16
+ def generate_trace_id(size = 1)
17
+ Array.new(size) { rand(ID_RANGE) }
18
+ .pack('q>*')
19
+ .unpack1('H*')
20
+ end
21
+
22
+ # Generates a valid span identifier
23
+ #
24
+ def generate_span_id(size = 1)
25
+ Array.new(size) { rand(ID_RANGE) }
26
+ .pack('q>*')
27
+ .unpack1('H*')
28
+ end
29
+
30
+ # Returns the current span from the current or provided context
31
+ #
32
+ # @param [optional Context] context The context to lookup the current
33
+ # {Span} from. Defaults to Context.current
34
+ def current_span(context = nil)
35
+ context ||= OpenTelemetry::Context.current
36
+ context.value(CURRENT_SPAN_KEY) || nil
37
+ end
38
+
39
+ # Returns a context containing the span, derived from the optional parent
40
+ # context, or the current context if one was not provided.
41
+ #
42
+ # @param [optional Context] context The context to use as the parent for
43
+ # the returned context
44
+ def context_with_span(span, parent_context: OpenTelemetry::Context.current)
45
+ parent_context.set_value(CURRENT_SPAN_KEY, span)
46
+ end
47
+
48
+ # Activates/deactivates the Span within the current Context, which makes the "current span"
49
+ # available implicitly.
50
+ #
51
+ # On exit, the Span that was active before calling this method will be reactivated.
52
+ #
53
+ # @param [Span] span the span to activate
54
+ # @yield [span, context] yields span and a context containing the span to the block.
55
+ def with_span(span)
56
+ OpenTelemetry::Context.with_value(CURRENT_SPAN_KEY, span) { |c, s| yield s, c }
57
+ end
58
+
59
+ # Wraps a SpanContext with an object implementing the Span interface. This is done in order
60
+ # to expose a SpanContext as a Span in operations such as in-process Span propagation.
61
+ #
62
+ # @param [SpanContext] span_context SpanContext to be wrapped
63
+ #
64
+ # @return [Span]
65
+ def non_recording_span(span_context)
66
+ Span.new(span_context: span_context)
67
+ end
68
+ end
69
+ end
70
+
71
+ require 'instana/trace/span_context'
72
+ require 'instana/trace/span_kind'
73
+ require 'instana/trace/span'
74
+ require 'instana/trace/tracer'
data/lib/instana/util.rb CHANGED
@@ -170,6 +170,17 @@ module Instana
170
170
  return '' unless given.match(/\A[a-z\d]{16,32}\z/i)
171
171
  given
172
172
  end
173
+
174
+ def timeout_timestamp
175
+ Process.clock_gettime(Process::CLOCK_MONOTONIC)
176
+ end
177
+
178
+ def maybe_timeout(timeout, start_time)
179
+ return nil if timeout.nil?
180
+
181
+ timeout -= (timeout_timestamp - start_time)
182
+ timeout.positive? ? timeout : 0
183
+ end
173
184
  end
174
185
  end
175
186
  end
@@ -2,6 +2,6 @@
2
2
  # (c) Copyright Instana Inc. 2016
3
3
 
4
4
  module Instana
5
- VERSION = "1.217.1"
5
+ VERSION = "2.1.0"
6
6
  VERSION_FULL = "instana-#{VERSION}"
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.217.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-11-22 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -80,6 +79,34 @@ dependencies:
80
79
  - - ">="
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: irb
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: benchmark
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
83
110
  - !ruby/object:Gem::Dependency
84
111
  name: base64
85
112
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +121,20 @@ dependencies:
94
121
  - - ">="
95
122
  - !ruby/object:Gem::Version
96
123
  version: '0.1'
124
+ - !ruby/object:Gem::Dependency
125
+ name: logger
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ type: :runtime
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
97
138
  - !ruby/object:Gem::Dependency
98
139
  name: concurrent-ruby
99
140
  requirement: !ruby/object:Gem::Requirement
@@ -136,6 +177,34 @@ dependencies:
136
177
  - - ">="
137
178
  - !ruby/object:Gem::Version
138
179
  version: 1.2.2
180
+ - !ruby/object:Gem::Dependency
181
+ name: opentelemetry-api
182
+ requirement: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - "~>"
185
+ - !ruby/object:Gem::Version
186
+ version: '1.4'
187
+ type: :runtime
188
+ prerelease: false
189
+ version_requirements: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: '1.4'
194
+ - !ruby/object:Gem::Dependency
195
+ name: opentelemetry-common
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ type: :runtime
202
+ prerelease: false
203
+ version_requirements: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
139
208
  - !ruby/object:Gem::Dependency
140
209
  name: oj
141
210
  requirement: !ruby/object:Gem::Requirement
@@ -159,104 +228,9 @@ executables: []
159
228
  extensions: []
160
229
  extra_rdoc_files: []
161
230
  files:
162
- - ".circleci/config.yml"
163
- - ".codeclimate.yml"
164
- - ".editorconfig"
165
- - ".fasterer.yml"
166
- - ".github/ISSUE_TEMPLATE/bug.yml"
167
- - ".github/ISSUE_TEMPLATE/config.yml"
168
- - ".github/workflows/pr_commits_signed_off.yml"
169
- - ".github/workflows/release-notification-on-slack.yml"
170
- - ".gitignore"
171
- - ".rubocop.yml"
172
- - ".rubocop_todo.yml"
173
- - ".tekton/.currency/docs/report.md"
174
- - ".tekton/.currency/resources/requirements.txt"
175
- - ".tekton/.currency/resources/table.json"
176
- - ".tekton/.currency/scripts/generate_report.py"
177
- - ".tekton/README.md"
178
- - ".tekton/github-interceptor-secret.yaml"
179
- - ".tekton/github-pr-eventlistener.yaml"
180
- - ".tekton/github-pr-pipeline.yaml.part"
181
- - ".tekton/github-set-status-task.yaml"
182
- - ".tekton/github-webhook-ingress.yaml"
183
- - ".tekton/pipeline.yaml"
184
- - ".tekton/pipelinerun.yaml"
185
- - ".tekton/ruby-tracer-prepuller.yaml"
186
- - ".tekton/run_unittests.sh"
187
- - ".tekton/scheduled-eventlistener.yaml"
188
- - ".tekton/task.yaml"
189
- - ".tekton/tekton-triggers-eventlistener-serviceaccount.yaml"
190
- - Appraisals
191
- - CONTRIBUTING.md
192
- - Gemfile
193
- - LICENSE
194
- - MAINTAINERS.md
195
231
  - README.md
196
- - Rakefile
197
- - bin/announce_release_on_slack.py
198
232
  - bin/console
199
233
  - bin/setup
200
- - docker-compose.yml
201
- - download.sh
202
- - examples/opentracing.rb
203
- - examples/tracing.rb
204
- - extras/license_header.rb
205
- - gemfiles/.bundle/config
206
- - gemfiles/aws_30.gemfile
207
- - gemfiles/aws_60.gemfile
208
- - gemfiles/cuba_30.gemfile
209
- - gemfiles/cuba_40.gemfile
210
- - gemfiles/dalli_20.gemfile
211
- - gemfiles/dalli_30.gemfile
212
- - gemfiles/dalli_32.gemfile
213
- - gemfiles/excon_0100.gemfile
214
- - gemfiles/excon_021.gemfile
215
- - gemfiles/excon_079.gemfile
216
- - gemfiles/excon_100.gemfile
217
- - gemfiles/graphql_10.gemfile
218
- - gemfiles/graphql_20.gemfile
219
- - gemfiles/grpc_10.gemfile
220
- - gemfiles/mongo_216.gemfile
221
- - gemfiles/mongo_219.gemfile
222
- - gemfiles/net_http_01.gemfile
223
- - gemfiles/rack_16.gemfile
224
- - gemfiles/rack_20.gemfile
225
- - gemfiles/rack_30.gemfile
226
- - gemfiles/rails_42.gemfile
227
- - gemfiles/rails_50.gemfile
228
- - gemfiles/rails_52.gemfile
229
- - gemfiles/rails_60.gemfile
230
- - gemfiles/rails_61.gemfile
231
- - gemfiles/rails_70.gemfile
232
- - gemfiles/rails_71.gemfile
233
- - gemfiles/rails_80.gemfile
234
- - gemfiles/redis_40.gemfile
235
- - gemfiles/redis_50.gemfile
236
- - gemfiles/redis_51.gemfile
237
- - gemfiles/resque_122.gemfile
238
- - gemfiles/resque_1274_3scale.gemfile
239
- - gemfiles/resque_20.gemfile
240
- - gemfiles/rest_client_16.gemfile
241
- - gemfiles/rest_client_20.gemfile
242
- - gemfiles/roda_20.gemfile
243
- - gemfiles/roda_30.gemfile
244
- - gemfiles/rubocop_162.gemfile
245
- - gemfiles/sequel_56.gemfile
246
- - gemfiles/sequel_57.gemfile
247
- - gemfiles/sequel_58.gemfile
248
- - gemfiles/shoryuken_50.gemfile
249
- - gemfiles/shoryuken_60.gemfile
250
- - gemfiles/sidekiq_42.gemfile
251
- - gemfiles/sidekiq_50.gemfile
252
- - gemfiles/sidekiq_60.gemfile
253
- - gemfiles/sidekiq_65.gemfile
254
- - gemfiles/sidekiq_70.gemfile
255
- - gemfiles/sinatra_14.gemfile
256
- - gemfiles/sinatra_22.gemfile
257
- - gemfiles/sinatra_30.gemfile
258
- - gemfiles/sinatra_40.gemfile
259
- - instana.gemspec
260
234
  - lib/instana.rb
261
235
  - lib/instana/activator.rb
262
236
  - lib/instana/activators/action_cable.rb
@@ -334,9 +308,9 @@ files:
334
308
  - lib/instana/instrumentation/sidekiq-worker.rb
335
309
  - lib/instana/instrumented_logger.rb
336
310
  - lib/instana/logger_delegator.rb
337
- - lib/instana/open_tracing/carrier.rb
338
- - lib/instana/open_tracing/instana_tracer.rb
339
311
  - lib/instana/rack.rb
312
+ - lib/instana/samplers/result.rb
313
+ - lib/instana/samplers/samplers.rb
340
314
  - lib/instana/secrets.rb
341
315
  - lib/instana/serverless.rb
342
316
  - lib/instana/setup.rb
@@ -349,93 +323,21 @@ files:
349
323
  - lib/instana/snapshot/google_cloud_run_process.rb
350
324
  - lib/instana/snapshot/lambda_function.rb
351
325
  - lib/instana/snapshot/ruby_process.rb
352
- - lib/instana/tracer.rb
353
- - lib/instana/tracing/processor.rb
354
- - lib/instana/tracing/span.rb
355
- - lib/instana/tracing/span_context.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
330
+ - lib/instana/trace.rb
331
+ - lib/instana/trace/export.rb
332
+ - lib/instana/trace/processor.rb
333
+ - lib/instana/trace/span.rb
334
+ - lib/instana/trace/span_context.rb
335
+ - lib/instana/trace/span_kind.rb
336
+ - lib/instana/trace/span_limits.rb
337
+ - lib/instana/trace/tracer.rb
338
+ - lib/instana/trace/tracer_provider.rb
356
339
  - lib/instana/util.rb
357
340
  - lib/instana/version.rb
358
- - lib/opentracing.rb
359
- - log/.keep
360
- - sonar-project.properties
361
- - test/activator_test.rb
362
- - test/backend/agent_test.rb
363
- - test/backend/gc_snapshot_test.rb
364
- - test/backend/host_agent_activation_observer_test.rb
365
- - test/backend/host_agent_lookup_test.rb
366
- - test/backend/host_agent_reporting_observer_test.rb
367
- - test/backend/host_agent_test.rb
368
- - test/backend/process_info_test.rb
369
- - test/backend/request_client_test.rb
370
- - test/backend/serverless_agent_test.rb
371
- - test/benchmarks/bench_id_generation.rb
372
- - test/benchmarks/bench_opentracing.rb
373
- - test/config_test.rb
374
- - test/frameworks/cuba_test.rb
375
- - test/frameworks/roda_test.rb
376
- - test/frameworks/sinatra_test.rb
377
- - test/instana_test.rb
378
- - test/instrumentation/aws_test.rb
379
- - test/instrumentation/dalli_test.rb
380
- - test/instrumentation/excon_test.rb
381
- - test/instrumentation/graphql_test.rb
382
- - test/instrumentation/grpc_test.rb
383
- - test/instrumentation/mongo_test.rb
384
- - test/instrumentation/net_http_test.rb
385
- - test/instrumentation/rack_instrumented_request_test.rb
386
- - test/instrumentation/rack_test.rb
387
- - test/instrumentation/rails_action_cable_test.rb
388
- - test/instrumentation/rails_action_controller_test.rb
389
- - test/instrumentation/rails_action_mailer_test.rb
390
- - test/instrumentation/rails_action_view_test.rb
391
- - test/instrumentation/rails_active_job_test.rb
392
- - test/instrumentation/rails_active_record_database_missing_test.rb
393
- - test/instrumentation/rails_active_record_test.rb
394
- - test/instrumentation/redis_test.rb
395
- - test/instrumentation/resque_test.rb
396
- - test/instrumentation/rest_client_test.rb
397
- - test/instrumentation/sequel_test.rb
398
- - test/instrumentation/shoryuken_test.rb
399
- - test/instrumentation/sidekiq-client_test.rb
400
- - test/instrumentation/sidekiq-worker_test.rb
401
- - test/secrets_test.rb
402
- - test/serverless_test.rb
403
- - test/snapshot/deltable_test.rb
404
- - test/snapshot/docker_container_test.rb
405
- - test/snapshot/fargate_container_test.rb
406
- - test/snapshot/fargate_process_test.rb
407
- - test/snapshot/fargate_task_test.rb
408
- - test/snapshot/google_cloud_run_instance_test.rb
409
- - test/snapshot/google_cloud_run_process_test.rb
410
- - test/snapshot/lambda_function_test.rb
411
- - test/snapshot/ruby_process_test.rb
412
- - test/support/apps/active_record/active_record.rb
413
- - test/support/apps/grpc/boot.rb
414
- - test/support/apps/grpc/grpc_server.rb
415
- - test/support/apps/http_endpoint/boot.rb
416
- - test/support/apps/rails/boot.rb
417
- - test/support/apps/rails/models/block.rb
418
- - test/support/apps/rails/models/block6.rb
419
- - test/support/apps/resque/boot.rb
420
- - test/support/apps/resque/jobs/resque_error_job.rb
421
- - test/support/apps/resque/jobs/resque_fast_job.rb
422
- - test/support/apps/sidekiq/boot.rb
423
- - test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
424
- - test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
425
- - test/support/apps/sidekiq/worker.rb
426
- - test/support/helpers.rb
427
- - test/support/mock_timer.rb
428
- - test/test_helper.rb
429
- - test/tracing/custom_test.rb
430
- - test/tracing/id_management_test.rb
431
- - test/tracing/instrumented_logger_test.rb
432
- - test/tracing/opentracing_test.rb
433
- - test/tracing/processor_test.rb
434
- - test/tracing/span_context_test.rb
435
- - test/tracing/span_test.rb
436
- - test/tracing/tracer_async_test.rb
437
- - test/tracing/tracer_test.rb
438
- - test/util_test.rb
439
341
  homepage: https://www.instana.com/
440
342
  licenses:
441
343
  - MIT
@@ -444,7 +346,6 @@ metadata:
444
346
  documentation_uri: https://docs.instana.io/ecosystem/ruby/
445
347
  homepage_uri: https://www.instana.com/
446
348
  source_code_uri: https://github.com/instana/ruby-sensor
447
- post_install_message:
448
349
  rdoc_options: []
449
350
  require_paths:
450
351
  - lib
@@ -459,86 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
459
360
  - !ruby/object:Gem::Version
460
361
  version: '0'
461
362
  requirements: []
462
- rubygems_version: 3.5.23
463
- signing_key:
363
+ rubygems_version: 3.7.2
464
364
  specification_version: 4
465
365
  summary: Ruby Distributed Tracing & Metrics Sensor for Instana
466
- test_files:
467
- - test/activator_test.rb
468
- - test/backend/agent_test.rb
469
- - test/backend/gc_snapshot_test.rb
470
- - test/backend/host_agent_activation_observer_test.rb
471
- - test/backend/host_agent_lookup_test.rb
472
- - test/backend/host_agent_reporting_observer_test.rb
473
- - test/backend/host_agent_test.rb
474
- - test/backend/process_info_test.rb
475
- - test/backend/request_client_test.rb
476
- - test/backend/serverless_agent_test.rb
477
- - test/benchmarks/bench_id_generation.rb
478
- - test/benchmarks/bench_opentracing.rb
479
- - test/config_test.rb
480
- - test/frameworks/cuba_test.rb
481
- - test/frameworks/roda_test.rb
482
- - test/frameworks/sinatra_test.rb
483
- - test/instana_test.rb
484
- - test/instrumentation/aws_test.rb
485
- - test/instrumentation/dalli_test.rb
486
- - test/instrumentation/excon_test.rb
487
- - test/instrumentation/graphql_test.rb
488
- - test/instrumentation/grpc_test.rb
489
- - test/instrumentation/mongo_test.rb
490
- - test/instrumentation/net_http_test.rb
491
- - test/instrumentation/rack_instrumented_request_test.rb
492
- - test/instrumentation/rack_test.rb
493
- - test/instrumentation/rails_action_cable_test.rb
494
- - test/instrumentation/rails_action_controller_test.rb
495
- - test/instrumentation/rails_action_mailer_test.rb
496
- - test/instrumentation/rails_action_view_test.rb
497
- - test/instrumentation/rails_active_job_test.rb
498
- - test/instrumentation/rails_active_record_database_missing_test.rb
499
- - test/instrumentation/rails_active_record_test.rb
500
- - test/instrumentation/redis_test.rb
501
- - test/instrumentation/resque_test.rb
502
- - test/instrumentation/rest_client_test.rb
503
- - test/instrumentation/sequel_test.rb
504
- - test/instrumentation/shoryuken_test.rb
505
- - test/instrumentation/sidekiq-client_test.rb
506
- - test/instrumentation/sidekiq-worker_test.rb
507
- - test/secrets_test.rb
508
- - test/serverless_test.rb
509
- - test/snapshot/deltable_test.rb
510
- - test/snapshot/docker_container_test.rb
511
- - test/snapshot/fargate_container_test.rb
512
- - test/snapshot/fargate_process_test.rb
513
- - test/snapshot/fargate_task_test.rb
514
- - test/snapshot/google_cloud_run_instance_test.rb
515
- - test/snapshot/google_cloud_run_process_test.rb
516
- - test/snapshot/lambda_function_test.rb
517
- - test/snapshot/ruby_process_test.rb
518
- - test/support/apps/active_record/active_record.rb
519
- - test/support/apps/grpc/boot.rb
520
- - test/support/apps/grpc/grpc_server.rb
521
- - test/support/apps/http_endpoint/boot.rb
522
- - test/support/apps/rails/boot.rb
523
- - test/support/apps/rails/models/block.rb
524
- - test/support/apps/rails/models/block6.rb
525
- - test/support/apps/resque/boot.rb
526
- - test/support/apps/resque/jobs/resque_error_job.rb
527
- - test/support/apps/resque/jobs/resque_fast_job.rb
528
- - test/support/apps/sidekiq/boot.rb
529
- - test/support/apps/sidekiq/jobs/sidekiq_job_1.rb
530
- - test/support/apps/sidekiq/jobs/sidekiq_job_2.rb
531
- - test/support/apps/sidekiq/worker.rb
532
- - test/support/helpers.rb
533
- - test/support/mock_timer.rb
534
- - test/test_helper.rb
535
- - test/tracing/custom_test.rb
536
- - test/tracing/id_management_test.rb
537
- - test/tracing/instrumented_logger_test.rb
538
- - test/tracing/opentracing_test.rb
539
- - test/tracing/processor_test.rb
540
- - test/tracing/span_context_test.rb
541
- - test/tracing/span_test.rb
542
- - test/tracing/tracer_async_test.rb
543
- - test/tracing/tracer_test.rb
544
- - test/util_test.rb
366
+ test_files: []