raygun-apm-sidekiq 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/apm/sidekiq/hook.rb +8 -2
- data/lib/raygun/apm/sidekiq/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0896bf35bf8b56b1407ef6484db92fc5ac06498b963a1d1d7103db37b3a1e5f6'
|
4
|
+
data.tar.gz: b616b0444decd6c9ee1e2073604d70e850a3683736c6bb270b2b85bf8fac8e26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a3e20329d6fb786d352a11f2b7d79d2087164c8335de9f31c62f0206822de0591e26f740e2595bcebd34596ecaa7c7fba20f02f736aa548f5e8dca5aa18eac8
|
7
|
+
data.tar.gz: 00032144a7457b63e12edac3a738c736fb016e3969bf8c10ea869996fcc7cf0c740d1aaa5cbebe0d72bb18c6362fc9b995da8fec3fd3c7025e75d092d05bc787
|
@@ -11,7 +11,10 @@ module Raygun
|
|
11
11
|
|
12
12
|
def initialize(mgr)
|
13
13
|
super
|
14
|
-
@
|
14
|
+
@mutex = Mutex.new
|
15
|
+
@mutex.synchronize do
|
16
|
+
@tracer = Raygun::Apm::Tracer.instance || init_tracer
|
17
|
+
end
|
15
18
|
end
|
16
19
|
|
17
20
|
def process(work)
|
@@ -33,7 +36,10 @@ module Raygun
|
|
33
36
|
end
|
34
37
|
end
|
35
38
|
# Can be nil if we had a fatal error
|
36
|
-
|
39
|
+
if @tracer
|
40
|
+
@tracer.diagnostics if ENV['PROTON_DIAGNOSTICS']
|
41
|
+
@tracer.end_trace
|
42
|
+
end
|
37
43
|
raise exception if exception
|
38
44
|
rescue Raygun::Apm::FatalError => e
|
39
45
|
raygun_shutdown_handler(e)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: raygun-apm
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.1.2
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Raygun application performance monitoring for Sidekiq
|