scout_apm 1.2.0.pre8 → 1.2.0.pre9
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22b9c34f9b51714fc5ca244de10e9029839b323b
|
4
|
+
data.tar.gz: 7f29e1ccdc6cc7630c9264236fca46c685800521
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff14d5a54dd4f6fcd8d6f2035cb6bed4870d40b06bc4b4edd3f2ddffd5af3a95104a0c72a5fb7bd17daa2ec6308dd67b9b2a349108d482926c3cc120f61ee01a
|
7
|
+
data.tar.gz: c5f7941d4697bf5fb91fee5d19ffad362c65af3e6afaaad534e5a31589bf84228a146b90dfa13069f195134b5421aaf49bf1b57ac7569f630d95f323b2edcfcd
|
@@ -7,10 +7,10 @@ module ScoutApm
|
|
7
7
|
ScoutApm::Serializers::PayloadSerializerToJson.serialize(metadata, metrics, slow_transactions)
|
8
8
|
else
|
9
9
|
metadata = metadata.dup
|
10
|
-
metadata.
|
10
|
+
metadata.default = nil
|
11
11
|
|
12
12
|
metrics = metrics.dup
|
13
|
-
metrics.
|
13
|
+
metrics.default = nil
|
14
14
|
Marshal.dump(:metadata => metadata,
|
15
15
|
:metrics => metrics,
|
16
16
|
:slow_transactions => slow_transactions)
|
@@ -11,13 +11,13 @@ module ScoutApm
|
|
11
11
|
|
12
12
|
def rearrange_the_metrics(metrics)
|
13
13
|
metrics.to_a.map do |meta, stats|
|
14
|
-
stats.as_json.merge(key
|
14
|
+
stats.as_json.merge(:key => meta.as_json)
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
def rearrange_the_slow_transactions(slow_transactions)
|
19
19
|
slow_transactions.to_a.map do |slow_t|
|
20
|
-
slow_t.as_json.merge(metrics
|
20
|
+
slow_t.as_json.merge(:metrics => rearrange_the_metrics(slow_t.metrics))
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
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: 1.2.0.
|
4
|
+
version: 1.2.0.pre9
|
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: 2015-12-
|
12
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|