scout_apm 5.3.7 → 5.3.8
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: 8eb7dc8091eba4caa3dfb078b44636de67c94abc26646c05c14339e77ba0b58a
|
4
|
+
data.tar.gz: 7e7a596d825cf2c648470f6e867ea2c5cc3eb9112b813b4b4ca4dcf873a2b98c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9964722b976e23fc9a629cdb010079f4781e10764226bb8eeb9d6da4439612d20fe21c9fa13f8e1a7fbe8db268ff15005599d102893ee5ed44388ef686874b44
|
7
|
+
data.tar.gz: 1b9a9a0847c9f688fe34068cd68e0cd9d4bcac0e70eb3a59c507a2671d03aa2ac30bb7a8a1eea9f1df6d9ec5e4a4a713046707fe60702ff06b353df634e5cce2
|
data/CHANGELOG.markdown
CHANGED
@@ -15,6 +15,9 @@ module ScoutApm
|
|
15
15
|
|
16
16
|
return unless headers
|
17
17
|
|
18
|
+
# When an application uses Turbo Streams, we capture very innaccurate queue times.
|
19
|
+
return if request_over_websocket?
|
20
|
+
|
18
21
|
raw_start = locate_timestamp
|
19
22
|
return unless raw_start
|
20
23
|
|
@@ -38,6 +41,10 @@ module ScoutApm
|
|
38
41
|
|
39
42
|
private
|
40
43
|
|
44
|
+
def request_over_websocket?
|
45
|
+
headers["Upgrade"] == "websocket"
|
46
|
+
end
|
47
|
+
|
41
48
|
# Looks through the possible headers with this data, and extracts the raw
|
42
49
|
# value of the header
|
43
50
|
# Returns nil if not found
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|