raygun-apm 1.0.77-universal-darwin → 1.0.78-universal-darwin
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 719d575376def984b9272af488de8721f12f1c11a64494b090424da040481a52
|
4
|
+
data.tar.gz: 8c9911a839ba022601bf32e9883c999095d44ea19b2e6cb2185e236a83bf9259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c428b9e5d79b60057d3b0ebf9eaf92a7bc0022b5c0325ad0839354cd3cf4870ea5c72de88b94e68ca56527ded0411a269fe02099992d101a1965446afc9b1e5e
|
7
|
+
data.tar.gz: 2c42086154108ef5286439306fdfe81e7ad14b71310ac0de7280a81dc2bda35c1fdeb6bbfc9c579b6b3d920711e002fa273d5e5c94837c6f7c4c4112000e4a3a
|
Binary file
|
Binary file
|
Binary file
|
@@ -4,6 +4,8 @@ module Raygun
|
|
4
4
|
module Apm
|
5
5
|
module Hooks
|
6
6
|
module HTTPClient
|
7
|
+
private
|
8
|
+
|
7
9
|
def do_request(method, uri, query, body, header, &filtered_block)
|
8
10
|
if tracer = Raygun::Apm::Tracer.instance
|
9
11
|
started = tracer.now
|
@@ -11,7 +13,7 @@ module Raygun
|
|
11
13
|
ended = tracer.now
|
12
14
|
event = raygun_apm_http_out_event
|
13
15
|
event[:pid] = Process.pid
|
14
|
-
event[:url] =
|
16
|
+
event[:url] = raygun_apm_url(uri, query)
|
15
17
|
event[:verb] = method.to_s.upcase
|
16
18
|
event[:status] = response.code.to_i
|
17
19
|
event[:duration] = ended - started
|
@@ -24,7 +26,10 @@ module Raygun
|
|
24
26
|
end
|
25
27
|
end
|
26
28
|
|
27
|
-
|
29
|
+
def raygun_apm_url(uri, query)
|
30
|
+
query && uri ? URI.join(uri, query).to_s : uri.to_s
|
31
|
+
end
|
32
|
+
|
28
33
|
def raygun_apm_http_out_event
|
29
34
|
@_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
|
30
35
|
end
|
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.78
|
5
5
|
platform: universal-darwin
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|