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 +4 -4
- data/CHANGELOG.md +4 -1
- data/Gemfile.lock +1 -1
- data/lib/sidekiq/tracer/client_middleware.rb +0 -1
- data/lib/sidekiq/tracer/server_middleware.rb +0 -12
- data/lib/sidekiq/tracer/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24badc6c2a6de723c3c017e491d76a3489ac56a9139a2d69165cedb56f04ea9b
|
4
|
+
data.tar.gz: a6bcf731d582b6ee9b20629fc1c6416f388d2ad07046aed29d0a766e2a1e53af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
@@ -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
|
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.
|
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:
|
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:
|
209
|
+
version: '0'
|
210
210
|
requirements: []
|
211
211
|
rubygems_version: 3.2.32
|
212
212
|
signing_key:
|