opentelemetry-instrumentation-sidekiq 0.22.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -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 +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc975749d35c9f25ce37dc46dba7d951228104bb00394b42949411616fe25e73
|
4
|
+
data.tar.gz: 244e2d5a3d14394d710657e1691677b1b04c87c3af8c273862c321b7012ba032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bad7f22364d8641846280f224e0b915dc5776a4dafc5598f1ffc65065b1dcb39e8d9ec5cf05849264e1bb71faf91fa7f89524348c2a289a705521aa76e3d628
|
7
|
+
data.tar.gz: 7ab0cb13e9d81b5e9b4876e4a988ad8c6773f4f04300448a531e0211a64912900286df635df2dce8902e21676d27cd71f72b9a2940827bacf63d6d8e9bb53fca
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-sidekiq
|
2
2
|
|
3
|
+
### v0.23.0 / 2023-02-01
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Drop Rails 5 Support
|
6
|
+
|
7
|
+
* ADDED: Drop Rails 5 Support
|
8
|
+
|
9
|
+
### v0.22.1 / 2023-01-14
|
10
|
+
|
11
|
+
* DOCS: Fix gem homepage
|
12
|
+
* DOCS: More gem documentation fixes
|
13
|
+
|
3
14
|
### v0.22.0 / 2022-06-09
|
4
15
|
|
5
16
|
* Upgrading Base dependency version
|
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.
|
4
|
+
version: 0.23.0
|
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-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '6.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '6.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: appraisal
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.23.0/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.23.0
|
252
252
|
post_install_message:
|
253
253
|
rdoc_options: []
|
254
254
|
require_paths:
|