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 +4 -4
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/2.6/raygun_ext.so +0 -0
- data/lib/raygun/2.7/raygun_ext.so +0 -0
- data/lib/raygun/apm/hooks/net_http.rb +2 -5
- data/lib/raygun/apm/tracer.rb +8 -2
- data/lib/raygun/apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45629f4a9b5f20f8b55431068c4c2aef07434410dafe3a06bb9918bc0f65ef60
|
4
|
+
data.tar.gz: 74b49b7e144993f437076a0743b9a3758e35fcee113384db602256917e01c79e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 ||=
|
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
|
data/lib/raygun/apm/tracer.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/raygun/apm/version.rb
CHANGED
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.
|
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-
|
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
|