opentelemetry-instrumentation-sidekiq 0.25.0 → 0.25.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4821c5cb6ee46e964a0050c474d971356103b3db4b16475afee181fc54e30e2f
4
- data.tar.gz: 917279144fe2883f62094ff2e968e5254879d8f07c201c0604a9f0ec82e4cc56
3
+ metadata.gz: c239c96790354d8c1e436b049ce3c4fde4b7c8e8f6054f1a80ce0c0424fbd3f7
4
+ data.tar.gz: 7cb6bfa66c3181ca764a394e20e237dca1b277e599f7f9d6081e7afb73f4e585
5
5
  SHA512:
6
- metadata.gz: 89e5de5de2299788004e6ec4917751aa6d6c08092be69892fafe3d0b731a86dd72672e89149a590996288023bbf8dd2a57344313d8303849d3c9f7891dd79258
7
- data.tar.gz: 6f2a81ac8712100dc5761a79b67021cc4247929f4fe8807d45c1e9b52e2d494e3191373898c2b9ea7bea1983cfe23fc3e4f2bc12a96d1e055743958569d67d95
6
+ metadata.gz: a438fb384e7bf524266dc89fc741f5911d839cbae1f28ac6300600f2bc53e1c495e0410fcba4a30868f67d8370dfef9e52fc7328cac554e9861ca8e36e97e9eb
7
+ data.tar.gz: 86bf2e0a3f7b691256720b98a100e430a662f314e0fd2872cc1fac3c41d8d0baaf6c5ddb513a56e7027e88f785a062165afc8ee54a67d6f3d190e463a537735c
data/.yardopts CHANGED
@@ -2,6 +2,7 @@
2
2
  --title=OpenTelemetry Sidekiq Instrumentation
3
3
  --markup=markdown
4
4
  --main=README.md
5
+ --tag=instrumentation_option_default:"Default"
5
6
  ./lib/opentelemetry/instrumentation/**/*.rb
6
7
  ./lib/opentelemetry/instrumentation.rb
7
8
  -
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-instrumentation-sidekiq
2
2
 
3
+ ### v0.25.1 / 2024-02-08
4
+
5
+ * DOCS: ✏️ Sidekiq instrumentation options
6
+
3
7
  ### v0.25.0 / 2023-09-07
4
8
 
5
9
  * FIXED: Align messaging instrumentation operation names
@@ -27,13 +27,59 @@ module OpenTelemetry
27
27
  gem_version >= MINIMUM_VERSION
28
28
  end
29
29
 
30
+ # @!group Instrumentation Options
31
+ # @!macro
32
+ # @!method $1
33
+ # @instrumentation_option_default `:$2`
34
+ # @!scope class
35
+ #
36
+ # Specify how the span names are set. Can be one of:
37
+ #
38
+ # - `:queue` - the span names will be set to '<destination / queue name> <operation>'.
39
+ # - `:job_class` - the span names will be set to '<job class name> <operation>'.
30
40
  option :span_naming, default: :queue, validate: %I[job_class queue]
41
+ # Controls how the job's execution is traced and related
42
+ # to the trace where the job was enqueued. Can be one of:
43
+ #
44
+ # - `:link` - the job will be executed in a separate trace. The
45
+ # initial span of the execution trace will be linked to the span that
46
+ # enqueued the job, via a Span Link.
47
+ # - `:child` - the job will be executed in the same logical trace, as a direct
48
+ # child of the span that enqueued the job.
49
+ # - `:none` - the job's execution will not be explicitly linked to the span that
50
+ # enqueued the job.
31
51
  option :propagation_style, default: :link, validate: %i[link child none]
52
+ # @!macro
53
+ # @!method $1
54
+ # @instrumentation_option_default `:$2`
55
+ # @!scope class
56
+ # Allows tracing Sidekiq::Launcher#heartbeat.
32
57
  option :trace_launcher_heartbeat, default: false, validate: :boolean
58
+ # @!macro
59
+ # @!method $1
60
+ # @instrumentation_option_default $2
61
+ # @!scope class
62
+ # Allows tracing Sidekiq::Scheduled#enqueue.
33
63
  option :trace_poller_enqueue, default: false, validate: :boolean
64
+ # @!macro
65
+ # @!method $1
66
+ # @instrumentation_option_default $2
67
+ # @!scope class
68
+ # Allows trasing Sidekiq::Scheduled#wait
34
69
  option :trace_poller_wait, default: false, validate: :boolean
70
+ # @!macro
71
+ # @!method $1
72
+ # @instrumentation_option_default $2
73
+ # @!scope class
74
+ # Allows tracing Sidekiq::Processor#process_one.
35
75
  option :trace_processor_process_one, default: false, validate: :boolean
76
+ # @!macro
77
+ # @!method $1
78
+ # @instrumentation_option_default $2
79
+ # @!scope class
80
+ # Sets service name of the remote service.
36
81
  option :peer_service, default: nil, validate: :string
82
+ # @!endgroup
37
83
 
38
84
  private
39
85
 
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Sidekiq
10
- VERSION = '0.25.0'
10
+ VERSION = '0.25.1'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.25.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-07 00:00:00.000000000 Z
11
+ date: 2024-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -156,28 +156,42 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.56.1
159
+ version: 1.60.1
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.56.1
166
+ version: 1.60.1
167
167
  - !ruby/object:Gem::Dependency
168
- name: sidekiq
168
+ name: rubocop-performance
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 5.2.0
173
+ version: '1.20'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 5.2.0
180
+ version: '1.20'
181
+ - !ruby/object:Gem::Dependency
182
+ name: sidekiq
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: simplecov
183
197
  requirement: !ruby/object:Gem::Requirement
@@ -231,10 +245,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
231
245
  licenses:
232
246
  - Apache-2.0
233
247
  metadata:
234
- changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.0/file/CHANGELOG.md
248
+ changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.1/file/CHANGELOG.md
235
249
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/sidekiq
236
250
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
237
- documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.0
251
+ documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.1
238
252
  post_install_message:
239
253
  rdoc_options: []
240
254
  require_paths: