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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4f1a393cf5dcab2c22821a0654d8b3c7a3a89398
4
- data.tar.gz: ce518bf9ba5f8a57a8e87b3fa10fb7d5ffd9a73f
2
+ SHA256:
3
+ metadata.gz: 8c02f600816b5f0e365f36716f0b2b046c370bffffa481b359454d05627493e6
4
+ data.tar.gz: 3620237d58597ef206f6c576a23e246e9cedc9f8e6b8a245dad17aba78386beb
5
5
  SHA512:
6
- metadata.gz: 591ecf138be885861a89817429122f1fbe05d3b7ec0ddbb9e4d58edad9b0d8b803a78414c609b8842fb860d80cc6a7469007e60c1b350283d73bbe6906f27e20
7
- data.tar.gz: ab47d606908e0d2f2c593606a49874fcb4291ca9ea249c77820fdfb193f19506cc5404f306eb49c66b7e7b1c760f952ab43a5d910f6152ec0823393921baf080
6
+ metadata.gz: c993f1807888223ca17b6e1712d8bf78243de89e6ff1b21ad51c96df9f141f8297f9fb4ad3c3fcdb963c10df6620f80cd214a4ab930b2615344ef42b38dd08ab
7
+ data.tar.gz: 59ea4673e2b6d85e2d9acdb4929f4a422800586513c4ab5553c053acad8e0d05dfb4d1fa9a1fa85f18df8c2b2b0ef6005ea02a26276b81a9e8758ca9cd7e5856
@@ -1 +1 @@
1
- 2.3.4
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, 'client'))
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
- child_of: parent_span_context,
18
- tags: tags(job, 'server'))
19
+ references: [follows_from],
20
+ tags: tags(job, 'consumer'))
19
21
 
20
22
  yield
21
23
  rescue Exception => e
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Tracer
3
- VERSION = "1.1.0.doximity1"
3
+ VERSION = "1.1.0.doximity2"
4
4
  end
5
5
  end
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.doximity1
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-08-30 00:00:00.000000000 Z
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
- rubyforge_project:
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.