sidekiq-instrumentation 1.2.2 → 2.0.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 +4 -0
- 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: edf524ec453d05e90ae026caaf0802d81a34d9b831540ba35bf5c4dc09fd26ca
|
4
|
+
data.tar.gz: 2413cdc4df21c995f2ac352fcb54a0b4697bb151c9ed7aa45ccdc3062e0fe1bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6366e9d512240f5f18fe862242fc94563dab05a2d972191e9a75c6263cf2a4d4a94c613bf1ecf6013b73cea2b58b0ed8e05f38984b9ab8414e3c223dccec26
|
7
|
+
data.tar.gz: '069e9ad04b54765d6d5a0289879a5024d7b32398184fbbd527fa97907640b796b58302e191340abfb335620734c5cca4a09ce41704972612129574d5eb2999b4'
|
data/CHANGELOG.md
CHANGED
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)
|
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
|
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-28 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: '0'
|
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.
|