opentelemetry-instrumentation-sidekiq 0.25.0 → 0.25.2
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 643b9d07b7c13baf54e233a7632a9ed5d48bef886f348b98c28861bd0c750283
|
4
|
+
data.tar.gz: 285b0d852bb7d5fd09a71ab1eedc1ca07fe0a4079d780718c61c078489106786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60978f2e9a2921e131ceda564fc3aea92b218964fb7f44b9626cd3b28143341bdc73c75077a03039acfcbd303327aaf4e3f353c92bb10bb5024f2c293eeaa8fb
|
7
|
+
data.tar.gz: 5834c8414812a44ff6680f54914aaad6e4cd917f996280c50b9eb293c5516023fb0a9289d931496de01ae79b25d0d38de69070bd5795c9f7aee86b76bde3399b
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-sidekiq
|
2
2
|
|
3
|
+
### v0.25.2 / 2024-02-08
|
4
|
+
|
5
|
+
* DOCS: Fix doc for sidekiq options.
|
6
|
+
|
7
|
+
### v0.25.1 / 2024-02-08
|
8
|
+
|
9
|
+
* DOCS: ✏️ Sidekiq instrumentation options
|
10
|
+
|
3
11
|
### v0.25.0 / 2023-09-07
|
4
12
|
|
5
13
|
* FIXED: Align messaging instrumentation operation names
|
@@ -7,8 +7,81 @@
|
|
7
7
|
module OpenTelemetry
|
8
8
|
module Instrumentation
|
9
9
|
module Sidekiq
|
10
|
-
# The Instrumentation class contains logic to detect and install the Sidekiq
|
11
|
-
#
|
10
|
+
# The `OpenTelemetry::Instrumentation::Sidekiq::Instrumentation` class contains logic to detect and install the Sidekiq instrumentation
|
11
|
+
#
|
12
|
+
# Installation and configuration of this instrumentation is done within the
|
13
|
+
# {https://www.rubydoc.info/gems/opentelemetry-sdk/OpenTelemetry/SDK#configure-instance_method OpenTelemetry::SDK#configure}
|
14
|
+
# block, calling {https://www.rubydoc.info/gems/opentelemetry-sdk/OpenTelemetry%2FSDK%2FConfigurator:use use()}
|
15
|
+
# or {https://www.rubydoc.info/gems/opentelemetry-sdk/OpenTelemetry%2FSDK%2FConfigurator:use_all use_all()}.
|
16
|
+
#
|
17
|
+
# ## Configuration keys and options
|
18
|
+
#
|
19
|
+
# ### `:span_naming`
|
20
|
+
#
|
21
|
+
# Specifies how the span names are set. Can be one of:
|
22
|
+
#
|
23
|
+
# - `:queue` **(default)** - The job span name will appear as '<destination / queue name> <operation>',
|
24
|
+
# for example `default process`.
|
25
|
+
# - `:job_class` - The job span name will appear as '<job class name> <operation>',
|
26
|
+
# for example `SimpleJob process`.
|
27
|
+
#
|
28
|
+
# ### `:propagation_style`
|
29
|
+
#
|
30
|
+
# Specifies how the job's execution is traced and related to the trace where the job was enqueued.
|
31
|
+
#
|
32
|
+
# - `:link` **(default)** - The job will be represented by a separate trace from the span that enqueued the job.
|
33
|
+
# - The initial span of the job trace will be associated with the span that enqueued the job, via a
|
34
|
+
# {https://opentelemetry.io/docs/concepts/signals/traces/#span-links Span Link}.
|
35
|
+
# - `:child` - The job will be represented within the same logical trace, as a direct
|
36
|
+
# child of the span that enqueued the job.
|
37
|
+
# - `:none` - The job will be represented by a separate trace from the span that enqueued the job.
|
38
|
+
# There will be no explicit relationship between the job trace and the trace containing the span that
|
39
|
+
# enqueued the job.
|
40
|
+
#
|
41
|
+
# ### `:trace_launcher_heartbeat`
|
42
|
+
#
|
43
|
+
# Allows tracing Sidekiq::Launcher#heartbeat.
|
44
|
+
#
|
45
|
+
# - `false` **(default)** - Sidekiq::Launcher#heartbeat will not be traced.
|
46
|
+
# - `true` - Sidekiq::Launcher#heartbeat will be traced.
|
47
|
+
#
|
48
|
+
# ### `:trace_poller_enqueue`
|
49
|
+
#
|
50
|
+
# Allows tracing Sidekiq::Scheduled#enqueue.
|
51
|
+
#
|
52
|
+
# - `false` **(default)** - Sidekiq::Scheduled#enqueue will not be traced.
|
53
|
+
# - `true` - Sidekiq::Scheduled#enqueue will be traced.
|
54
|
+
#
|
55
|
+
# ### `:trace_poller_wait`
|
56
|
+
#
|
57
|
+
# Allows tracing Sidekiq::Scheduled#wait.
|
58
|
+
#
|
59
|
+
# - `false` **(default)** - Sidekiq::Scheduled#wait will not be traced.
|
60
|
+
# - `true` - Sidekiq::Scheduled#wait will be traced.
|
61
|
+
#
|
62
|
+
# ### `:trace_processor_process_one`
|
63
|
+
#
|
64
|
+
# Allows tracing Sidekiq::Processor#process_one.
|
65
|
+
#
|
66
|
+
# - `false` **(default)** - Sidekiq::Processor#process_one will not be traced.
|
67
|
+
# - `true` - Sidekiq::Processor#process_one will be traced.
|
68
|
+
#
|
69
|
+
# ### `:peer_service`
|
70
|
+
#
|
71
|
+
# Sets service name of the remote service.
|
72
|
+
#
|
73
|
+
# - `nil` **(default)**
|
74
|
+
#
|
75
|
+
# @example An explicit default configuration
|
76
|
+
# OpenTelemetry::SDK.configure do |c|
|
77
|
+
# c.use_all({
|
78
|
+
# 'OpenTelemetry::Instrumentation::Sidekiq' => {
|
79
|
+
# span_naming: :queue,
|
80
|
+
# propagation_style: :link,
|
81
|
+
# trace_launcher_heartbeat: true,
|
82
|
+
# },
|
83
|
+
# })
|
84
|
+
# end
|
12
85
|
class Instrumentation < OpenTelemetry::Instrumentation::Base
|
13
86
|
MINIMUM_VERSION = Gem::Version.new('4.2.10')
|
14
87
|
|
@@ -9,7 +9,7 @@ require 'opentelemetry-instrumentation-base'
|
|
9
9
|
|
10
10
|
module OpenTelemetry
|
11
11
|
module Instrumentation
|
12
|
-
#
|
12
|
+
# (see {OpenTelemetry::Instrumentation::Sidekiq::Instrumentation})
|
13
13
|
module Sidekiq
|
14
14
|
end
|
15
15
|
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.
|
4
|
+
version: 0.25.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
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.
|
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.
|
166
|
+
version: 1.60.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: rubocop-performance
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
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:
|
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.
|
248
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.2/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.
|
251
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.25.2
|
238
252
|
post_install_message:
|
239
253
|
rdoc_options: []
|
240
254
|
require_paths:
|