opentelemetry-instrumentation-sidekiq 0.22.0 → 0.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/lib/opentelemetry/instrumentation/sidekiq/middlewares/client/tracer_middleware.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/middlewares/server/tracer_middleware.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/patches/launcher.rb +1 -1
- data/lib/opentelemetry/instrumentation/sidekiq/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cad503e14f6db8e2af0538555f7dc0e1bcc62af27d9b75c8cac93fb1162f54b4
|
4
|
+
data.tar.gz: 6e33bfe407b51c64ef8516348eb387ac5ed927d72cf18bcce121316b3a8de65e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51c9b131c3fabd342a01084f6a0b8f253b32325f2c54e107b8637cb1e5c315c0a830176506287235e4f89a8cb441f5078620e5b17b9b399aafa19b700e77169f
|
7
|
+
data.tar.gz: 3bf494a0afdfb2386cb8f96f1af08ea7ee93e2dee20ea5b6f742c0d9d2236aed2e0bd8bed32a058da657b213f25b83b64c444a7399a11d99a0baf54bc71862fe
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -31,7 +31,7 @@ end
|
|
31
31
|
```
|
32
32
|
## Examples
|
33
33
|
|
34
|
-
Example usage can be seen in the `./example/sidekiq.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby/blob/main/instrumentation/sidekiq/example/sidekiq.rb)
|
34
|
+
Example usage can be seen in the `./example/sidekiq.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/sidekiq/example/sidekiq.rb)
|
35
35
|
|
36
36
|
## Development
|
37
37
|
|
@@ -55,7 +55,7 @@ The `opentelemetry-instrumentation-sidekiq` gem is distributed under the Apache
|
|
55
55
|
[sidekiq-home]: https://github.com/mperham/sidekiq
|
56
56
|
[bundler-home]: https://bundler.io
|
57
57
|
[repo-github]: https://github.com/open-telemetry/opentelemetry-ruby
|
58
|
-
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby/blob/main/LICENSE
|
58
|
+
[license-github]: https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/LICENSE
|
59
59
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
60
60
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
61
61
|
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -12,7 +12,7 @@ module OpenTelemetry
|
|
12
12
|
# TracerMiddleware propagates context and instruments Sidekiq client
|
13
13
|
# by way of its middleware system
|
14
14
|
class TracerMiddleware
|
15
|
-
def call(_worker_class, job, _queue, _redis_pool)
|
15
|
+
def call(_worker_class, job, _queue, _redis_pool)
|
16
16
|
attributes = {
|
17
17
|
'messaging.system' => 'sidekiq',
|
18
18
|
'messaging.sidekiq.job_class' => job['wrapped']&.to_s || job['class'],
|
@@ -12,7 +12,7 @@ module OpenTelemetry
|
|
12
12
|
# TracerMiddleware propagates context and instruments Sidekiq requests
|
13
13
|
# by way of its middleware system
|
14
14
|
class TracerMiddleware
|
15
|
-
def call(_worker, msg, _queue) # rubocop:disable Metrics/
|
15
|
+
def call(_worker, msg, _queue) # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
|
16
16
|
attributes = {
|
17
17
|
'messaging.system' => 'sidekiq',
|
18
18
|
'messaging.sidekiq.job_class' => msg['wrapped']&.to_s || msg['class'],
|
@@ -12,7 +12,7 @@ module OpenTelemetry
|
|
12
12
|
module Launcher
|
13
13
|
private
|
14
14
|
|
15
|
-
def ❤ # rubocop:disable Naming/MethodName
|
15
|
+
def ❤ # rubocop:disable Naming/MethodName, Naming/AsciiIdentifiers
|
16
16
|
if instrumentation_config[:trace_launcher_heartbeat]
|
17
17
|
attributes = {}
|
18
18
|
attributes['peer.service'] = instrumentation_config[:peer_service] if instrumentation_config[:peer_service]
|
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.22.
|
4
|
+
version: 0.22.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:
|
11
|
+
date: 2023-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.4'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.4'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: minitest
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 1.41.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:
|
166
|
+
version: 1.41.1
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: sidekiq
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,14 +241,14 @@ files:
|
|
241
241
|
- lib/opentelemetry/instrumentation/sidekiq/patches/poller.rb
|
242
242
|
- lib/opentelemetry/instrumentation/sidekiq/patches/processor.rb
|
243
243
|
- lib/opentelemetry/instrumentation/sidekiq/version.rb
|
244
|
-
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
244
|
+
homepage: https://github.com/open-telemetry/opentelemetry-ruby-contrib
|
245
245
|
licenses:
|
246
246
|
- Apache-2.0
|
247
247
|
metadata:
|
248
|
-
changelog_uri: https://
|
249
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/sidekiq
|
250
|
-
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
251
|
-
documentation_uri: https://
|
248
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.22.1/file/CHANGELOG.md
|
249
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/sidekiq
|
250
|
+
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby-contrib/issues
|
251
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-instrumentation-sidekiq/0.22.1
|
252
252
|
post_install_message:
|
253
253
|
rdoc_options: []
|
254
254
|
require_paths:
|