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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29af41490ef21134ec18bc69a21a333b8056bd349bb5d08a2d3de261997f09b9
4
- data.tar.gz: e4fd949327fecb5aee42d33bcafffff4afd8cd595330aa0dbba428c43d3ee7fe
3
+ metadata.gz: '0896bf35bf8b56b1407ef6484db92fc5ac06498b963a1d1d7103db37b3a1e5f6'
4
+ data.tar.gz: b616b0444decd6c9ee1e2073604d70e850a3683736c6bb270b2b85bf8fac8e26
5
5
  SHA512:
6
- metadata.gz: '069f7be7b9d1c0e1977c27c4386f543043a66af4efddecf77bcae197f05879c30ee86a87000bd1b707ade1d9a82b167989d39251906d23993766eb936ca4a068'
7
- data.tar.gz: d7e06ba4b1241bc8ec93326562879ac5c142f780907173d499165e6a6ce4a4eb3826fdb4a4b043c990f160440423730ad8fb27a4813473ac4adca5caa0337069
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
- @tracer = Raygun::Apm::Tracer.instance || init_tracer
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
- @tracer.end_trace if @tracer
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)
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Sidekiq
4
- VERSION = "1.0.19"
4
+ VERSION = "1.0.20"
5
5
  end
6
6
  end
7
7
  end
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.19
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-07-14 00:00:00.000000000 Z
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.0.6
104
+ rubygems_version: 3.1.2
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Raygun application performance monitoring for Sidekiq