sidekiq-opentracing-dox-fork 1.1.0.doximity1 → 1.1.0.doximity2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/lib/sidekiq/tracer/client_middleware.rb +1 -1
- data/lib/sidekiq/tracer/server_middleware.rb +4 -2
- data/lib/sidekiq/tracer/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8c02f600816b5f0e365f36716f0b2b046c370bffffa481b359454d05627493e6
|
4
|
+
data.tar.gz: 3620237d58597ef206f6c576a23e246e9cedc9f8e6b8a245dad17aba78386beb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c993f1807888223ca17b6e1712d8bf78243de89e6ff1b21ad51c96df9f141f8297f9fb4ad3c3fcdb963c10df6620f80cd214a4ab930b2615344ef42b38dd08ab
|
7
|
+
data.tar.gz: 59ea4673e2b6d85e2d9acdb4929f4a422800586513c4ab5553c053acad8e0d05dfb4d1fa9a1fa85f18df8c2b2b0ef6005ea02a26276b81a9e8758ca9cd7e5856
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3
|
1
|
+
2.6.3
|
@@ -13,7 +13,7 @@ module Sidekiq
|
|
13
13
|
def call(worker_class, job, queue, redis_pool)
|
14
14
|
span = tracer.start_span(operation_name(job),
|
15
15
|
child_of: active_span.respond_to?(:call) ? active_span.call : active_span,
|
16
|
-
tags: tags(job, '
|
16
|
+
tags: tags(job, 'producer'))
|
17
17
|
|
18
18
|
inject(span, job)
|
19
19
|
|
@@ -13,9 +13,11 @@ module Sidekiq
|
|
13
13
|
def call(worker, job, queue)
|
14
14
|
parent_span_context = extract(job)
|
15
15
|
|
16
|
+
follows_from = OpenTracing::Reference.follows_from(parent_span_context)
|
17
|
+
|
16
18
|
span = tracer.start_span(operation_name(job),
|
17
|
-
|
18
|
-
tags: tags(job, '
|
19
|
+
references: [follows_from],
|
20
|
+
tags: tags(job, 'consumer'))
|
19
21
|
|
20
22
|
yield
|
21
23
|
rescue Exception => e
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-opentracing-dox-fork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.doximity2
|
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: 2019-
|
12
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: opentracing
|
@@ -166,8 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: 1.3.1
|
168
168
|
requirements: []
|
169
|
-
|
170
|
-
rubygems_version: 2.5.2
|
169
|
+
rubygems_version: 3.0.3
|
171
170
|
signing_key:
|
172
171
|
specification_version: 4
|
173
172
|
summary: OpenTracing instrumentation for Sidekiq.
|