sidekiq-instrumentation 1.2.2.ejacobs2 → 2.0.0.pre1
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 -1
- data/Gemfile.lock +3 -3
- data/README.md +3 -3
- data/lib/sidekiq/tracer/client_middleware.rb +1 -1
- data/lib/sidekiq/tracer/server_middleware.rb +1 -1
- data/lib/sidekiq/tracer/version.rb +1 -1
- data/lib/sidekiq/tracer.rb +2 -2
- data/sidekiq-instrumentation.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e32051c987e6caae856987bb7dd68f304e6586471bf959605cb402554651ede8
|
4
|
+
data.tar.gz: f222631b63f779f8c9e1bc7142c617b748b1261e87ba8368e80f95a2464e9031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e12bf373d09dbc1e9cdcc2c6cbc101fb1c199360365eb14dc78556bcf4d6dac4eb8d819637a91c6117ec218322f7f8c84959f3f7c1ee25d6323bf14cfe8d252
|
7
|
+
data.tar.gz: 5ad9df59232807724911ac5a1245fc4f35be754edcfa7476f5518c7424321738a36bb3b7e4e8f029399f86bb46fc893cd3a96c25b729a580ffed0249661ae230
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
Changelog
|
3
3
|
=========
|
4
4
|
|
5
|
-
##
|
5
|
+
## 2.0.0.pre1 09/26/2022
|
6
|
+
* Update for Ruby 3 compatibiity
|
7
|
+
* Middlewares now take positional arguments rather than using keywords
|
8
|
+
|
9
|
+
## 1.2.2 09/08/2020
|
6
10
|
* Add optional after_trace hook to ClientMiddleware
|
7
11
|
|
8
12
|
## 1.2.1 07/09/2020
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sidekiq-instrumentation (
|
4
|
+
sidekiq-instrumentation (2.0.0.pre1)
|
5
5
|
opentracing (>= 0.3.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -78,7 +78,7 @@ PLATFORMS
|
|
78
78
|
ruby
|
79
79
|
|
80
80
|
DEPENDENCIES
|
81
|
-
bundler
|
81
|
+
bundler
|
82
82
|
dox-style
|
83
83
|
rake
|
84
84
|
rspec
|
@@ -90,4 +90,4 @@ DEPENDENCIES
|
|
90
90
|
tracing-matchers (~> 1.0, >= 1.3.0)
|
91
91
|
|
92
92
|
BUNDLED WITH
|
93
|
-
|
93
|
+
2.3.22
|
data/README.md
CHANGED
@@ -43,11 +43,11 @@ Server-side:
|
|
43
43
|
```ruby
|
44
44
|
Sidekiq.configure_server do |config|
|
45
45
|
config.client_middleware do |chain|
|
46
|
-
chain.add Sidekiq::Tracer::ClientMiddleware,
|
46
|
+
chain.add Sidekiq::Tracer::ClientMiddleware, OpenTracing.global_tracer
|
47
47
|
end
|
48
48
|
|
49
49
|
config.server_middleware do |chain|
|
50
|
-
chain.add Sidekiq::Tracer::ServerMiddleware,
|
50
|
+
chain.add Sidekiq::Tracer::ServerMiddleware, OpenTracing.global_tracer
|
51
51
|
end
|
52
52
|
end
|
53
53
|
```
|
@@ -57,7 +57,7 @@ Client-side:
|
|
57
57
|
```ruby
|
58
58
|
Sidekiq.configure_client do |config|
|
59
59
|
config.client_middleware do |chain|
|
60
|
-
chain.add Sidekiq::Tracer::ClientMiddleware,
|
60
|
+
chain.add Sidekiq::Tracer::ClientMiddleware, OpenTracing.global_tracer
|
61
61
|
end
|
62
62
|
end
|
63
63
|
```
|
data/lib/sidekiq/tracer.rb
CHANGED
@@ -34,11 +34,11 @@ module Sidekiq
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def add_client_middleware(chain, tracer, active_span)
|
37
|
-
chain.add Sidekiq::Tracer::ClientMiddleware, tracer
|
37
|
+
chain.add Sidekiq::Tracer::ClientMiddleware, tracer, active_span
|
38
38
|
end
|
39
39
|
|
40
40
|
def add_server_middleware(chain, tracer, active_span, after_trace)
|
41
|
-
chain.add Sidekiq::Tracer::ServerMiddleware, tracer
|
41
|
+
chain.add Sidekiq::Tracer::ServerMiddleware, tracer, active_span, after_trace
|
42
42
|
end
|
43
43
|
end
|
44
44
|
end
|
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.add_dependency "opentracing", ">= 0.3.1"
|
26
26
|
|
27
|
-
spec.add_development_dependency "bundler"
|
27
|
+
spec.add_development_dependency "bundler"
|
28
28
|
spec.add_development_dependency "dox-style"
|
29
29
|
spec.add_development_dependency "rake"
|
30
30
|
spec.add_development_dependency "rspec"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-instrumentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iaintshine
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: opentracing
|
@@ -29,16 +29,16 @@ dependencies:
|
|
29
29
|
name: bundler
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: dox-style
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: 1.3.1
|
210
210
|
requirements: []
|
211
|
-
rubygems_version: 3.
|
211
|
+
rubygems_version: 3.2.32
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: OpenTracing instrumentation for Sidekiq.
|