raygun-apm 1.0.20-x86-linux → 1.0.21-x86-linux

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: e57e56ff8c1f87c76913ded8e8e629037f97617863275b51287629aa84e4dbf2
4
- data.tar.gz: 9cc91e355a0f75cd37fdd4e9f290538a55c0742e4415c5c473890ae07e292e42
3
+ metadata.gz: 45629f4a9b5f20f8b55431068c4c2aef07434410dafe3a06bb9918bc0f65ef60
4
+ data.tar.gz: 74b49b7e144993f437076a0743b9a3758e35fcee113384db602256917e01c79e
5
5
  SHA512:
6
- metadata.gz: c6f3d5bba8633d515e5a8e70eaef10cc66ea38aa78ec8bd5dd0db0abf529de5579e1e18c47f297ff4e6ba3c48a789380e1b6befd55c493f813f9832833481601
7
- data.tar.gz: 20f256298aea10f72f5a5a3b296ba0c043fb5f4de973012b8dd46cdedb28f28d1a2dd0dbf4be5df12cf5f5e1517a4e26537e24c92a9ae810d081c1d9072cd0c1
6
+ metadata.gz: 406ab1cdda2e31f6269dff390eec72e5a34565d75abdc28a4c133a1f3efc1a3b7dc511aa0979a99ecd97cfb9983ae2de4e0bc61b309ed7c3561c5c5c1bf43d1f
7
+ data.tar.gz: 34612209a033a898534184d810d720bf953b02e6c7725594078b40850cdb25f55ffea1c60ea28f34d1f984cb5af451c80362b61169547362a87ff596ae34e915
Binary file
Binary file
Binary file
@@ -13,6 +13,7 @@ module Raygun
13
13
  response = super
14
14
  ended = tracer.now
15
15
  event = raygun_apm_http_out_event
16
+ event[:pid] = Process.pid
16
17
  event[:url] = raygun_apm_url(request)
17
18
  event[:verb] = request.method
18
19
  event[:status] = response.code.to_i
@@ -32,11 +33,7 @@ module Raygun
32
33
  end
33
34
 
34
35
  def raygun_apm_http_out_event
35
- @_raygun_apm_http_out_event ||= begin
36
- event = Raygun::Apm::Event::HttpOut.new
37
- event[:pid] = Process.pid
38
- event
39
- end
36
+ @_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
40
37
  end
41
38
  end
42
39
  end
@@ -3,9 +3,15 @@ require 'raygun/apm/blacklist'
3
3
  module Raygun
4
4
  module Apm
5
5
  class Tracer
6
-
6
+ @__pids ||= {}
7
7
  class << self
8
- attr_accessor :instance
8
+ def instance
9
+ @__pids[Process.pid]
10
+ end
11
+
12
+ def instance=(tracer)
13
+ @__pids[Process.pid] = tracer
14
+ end
9
15
  end
10
16
 
11
17
  attr_accessor :config
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.20"
3
+ VERSION = "1.0.21"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.20
4
+ version: 1.0.21
5
5
  platform: x86-linux
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-03-18 00:00:00.000000000 Z
12
+ date: 2020-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source