raygun-apm 1.0.17-x86-mingw32 → 1.0.18-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/blacklist.rb +5 -1
- data/lib/raygun/apm/hooks/net_http.rb +7 -6
- data/lib/raygun/apm/tracer.rb +6 -0
- data/lib/raygun/apm/version.rb +1 -1
- data/raygun-apm.gemspec +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: 3016725d0fa9cb3d952abc69c49f48aea5ed0ee985775b8c12ac60c3ea0dcbd4
|
4
|
+
data.tar.gz: 4feed1b07fcc88f90f404b2976ddfd8bec90e0560f46ccbd72d847a04350b003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d045fa0fc662aee80188589f76911eb0e4e534bc1f508a048436eaa00bc322e36b29c8615da3af843ba56905e67ee1dcdf8f472646219bfb1af7ed8a4e08878
|
7
|
+
data.tar.gz: 43d700bd566a093c8d91caa80b32b5e9cc83a73211595644784406e7881a8ea814886a60f5c0fd96dc8e3c52ca4b333c0c0c69ccf9a4eca28c6e5ba4647496e8
|
Binary file
|
Binary file
|
Binary file
|
data/lib/raygun/apm/blacklist.rb
CHANGED
@@ -8,12 +8,12 @@ module Raygun
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def transport_request(request)
|
11
|
-
if tracer =
|
11
|
+
if tracer = Raygun::Apm::Tracer.instance
|
12
12
|
started = tracer.now
|
13
13
|
response = super
|
14
14
|
ended = tracer.now
|
15
15
|
event = raygun_apm_http_out_event
|
16
|
-
event[:url] = request
|
16
|
+
event[:url] = raygun_apm_url(request)
|
17
17
|
event[:verb] = request.method
|
18
18
|
event[:status] = response.code.to_i
|
19
19
|
event[:duration] = ended - started
|
@@ -26,6 +26,11 @@ module Raygun
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
def raygun_apm_url(request)
|
30
|
+
return request.uri.to_s if request.uri
|
31
|
+
"#{use_ssl? ? "https" : "http"}://#{request["host"] || address}#{request.path}"
|
32
|
+
end
|
33
|
+
|
29
34
|
def raygun_apm_http_out_event
|
30
35
|
@_raygun_apm_http_out_event ||= begin
|
31
36
|
event = Raygun::Apm::Event::HttpOut.new
|
@@ -33,10 +38,6 @@ module Raygun
|
|
33
38
|
event
|
34
39
|
end
|
35
40
|
end
|
36
|
-
|
37
|
-
def raygun_apm_tracer
|
38
|
-
Thread.current.thread_variable_get(:_raygun_apm_tracer)
|
39
|
-
end
|
40
41
|
end
|
41
42
|
end
|
42
43
|
end
|
data/lib/raygun/apm/tracer.rb
CHANGED
data/lib/raygun/apm/version.rb
CHANGED
data/raygun-apm.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = "https://raygun.com/platform/apm"
|
13
13
|
#spec.license = "MIT"
|
14
14
|
|
15
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|vendor|tools|ext)/}) || f.match(%r{Rakefile|Gemfile|.git}) }
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|vendor|tools|ext)/}) || f.match(%r{Rakefile|Gemfile|CHANGELOG|.git}) }
|
16
16
|
spec.files += Dir['lib/raygun/**/{2}*/raygun_ext.*']
|
17
17
|
spec.bindir = "exe"
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
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.18
|
5
5
|
platform: x86-mingw32
|
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-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|