sidekiq-instrumentation 2.1.0.pre3 → 2.2.0

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
2
  SHA256:
3
- metadata.gz: 2027068c0f78cda1191482624aaa0215a80697d93287038288a59796ecd1488f
4
- data.tar.gz: 62c4a8cab7f87fbd7b0b3b6972f5a3adcc4a0abf50baf961bc6d57d1e7b87a47
3
+ metadata.gz: 24badc6c2a6de723c3c017e491d76a3489ac56a9139a2d69165cedb56f04ea9b
4
+ data.tar.gz: a6bcf731d582b6ee9b20629fc1c6416f388d2ad07046aed29d0a766e2a1e53af
5
5
  SHA512:
6
- metadata.gz: d9a861848e443dd419881b2805ca95d7b0570d1ececc1cb2b5d981b8862dfac7f64655ec23475adf974ac76d53c3012d78775f7ea99cae51472d5a094e517894
7
- data.tar.gz: 9b88fbb7faf4d4761ea565b02f686c425e5ec6b79b7781717c167cf7d9def2333284fdf817a154e4c5c37061ada4d06474be0955db2e571bd2af5c8e23fa0ae7
6
+ metadata.gz: cc362c313a76c29d4edadfd4997508f2b2e1759d2113f3be52b91c0dd381d8237175e22ec46eea3743b49b510285d39dd1e94f480bae0e81a6c4c244d4092533
7
+ data.tar.gz: d1b34c537a0c379438ed471aaa360086301c9594fd72d1dcfc213465f4c3b117540d7dc9f7b2e7e71cebe22c4fb91dbe99e13db970cc8471ff17753a955385be
data/CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
1
 
2
2
  Changelog
3
3
  =========
4
- ## 2.1.0.pre3 11/14/2022
4
+ ## 2.2.0 07/06/2023
5
+ * Stop using the follows from relationship for sidekiq job executions
6
+
7
+ ## 2.1.0 11/29/2022
5
8
  * Fix compatibility issues in server & client middleware by removing deprecated #log in favor of #log_kv
6
9
 
7
10
  ## 2.0.0 09/26/2022
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-instrumentation (2.1.0.pre3)
4
+ sidekiq-instrumentation (2.2.0)
5
5
  opentracing (>= 0.3.1)
6
6
 
7
7
  GEM
@@ -29,7 +29,6 @@ module Sidekiq
29
29
 
30
30
  def build_span(job)
31
31
  tracer.start_span(operation_name(job),
32
- child_of: active_span.respond_to?(:call) ? active_span.call : active_span,
33
32
  tags: tags(job, "producer"))
34
33
  end
35
34
 
@@ -15,12 +15,7 @@ module Sidekiq
15
15
 
16
16
  # rubocop:disable Metrics/MethodLength
17
17
  def call(_worker, job, _queue)
18
- parent_span_context = extract(job)
19
-
20
- follows_from = OpenTracing::Reference.follows_from(parent_span_context)
21
-
22
18
  tracer.start_active_span(operation_name(job),
23
- references: [follows_from],
24
19
  ignore_active_scope: true,
25
20
  tags: tags(job, "consumer")) do |scope|
26
21
  begin
@@ -41,13 +36,6 @@ module Sidekiq
41
36
  span.set_tag("error", true)
42
37
  span.log_kv(**{ event: "error", 'error.object': error })
43
38
  end
44
-
45
- def extract(job)
46
- carrier = job[TRACE_CONTEXT_KEY]
47
- return unless carrier
48
-
49
- tracer.extract(OpenTracing::FORMAT_TEXT_MAP, carrier)
50
- end
51
39
  end
52
40
  end
53
41
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sidekiq
4
4
  module Tracer
5
- VERSION = "2.1.0.pre3"
5
+ VERSION = "2.2.0"
6
6
  end
7
7
  end
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: 2.1.0.pre3
4
+ version: 2.2.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: 2022-11-21 00:00:00.000000000 Z
12
+ date: 2023-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: opentracing
@@ -204,9 +204,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
204
  version: '0'
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">"
207
+ - - ">="
208
208
  - !ruby/object:Gem::Version
209
- version: 1.3.1
209
+ version: '0'
210
210
  requirements: []
211
211
  rubygems_version: 3.2.32
212
212
  signing_key: