scout_apm 1.2.0.pre5 → 1.2.0.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scout_apm/layer.rb +2 -0
- data/lib/scout_apm/layer_converter.rb +6 -0
- data/lib/scout_apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05dd09e7945b6f433240c54f77581a1af49c0252
|
4
|
+
data.tar.gz: ef6cf9474db3f1dfe29fd42b51674a949c10823f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4df5a0286bfd73f9f808b0dff7fa278642b6a3ed25194d8eef737ad336df320c729b036846d5d51a9b09dc3a4131390c1abd68066a7d8ad9c4d55dc5607de082
|
7
|
+
data.tar.gz: d90d9144bce09909058a12bd7e89865ad045b6d5633f3e781620306614b51651a8e4bb0728f6d3124c2b4336bd74cd1ddc4280ba5a9be18e35417606e065214d
|
data/lib/scout_apm/layer.rb
CHANGED
@@ -142,10 +142,16 @@ module ScoutApm
|
|
142
142
|
|
143
143
|
meta_options.merge!(:desc => layer.desc) if layer.desc
|
144
144
|
|
145
|
+
# Specific Metric
|
145
146
|
meta = MetricMeta.new(layer.legacy_metric_name, meta_options)
|
146
147
|
meta.extra.merge!(:backtrace => layer.backtrace) if layer.backtrace
|
147
148
|
metric_hash[meta] ||= MetricStats.new( meta_options.has_key?(:scope) )
|
149
|
+
stat = metric_hash[meta]
|
150
|
+
stat.update!(layer.total_call_time, layer.total_exclusive_time)
|
148
151
|
|
152
|
+
# Merged Metric (no specifics, just sum up by type
|
153
|
+
meta = MetricMeta.new("#{layer.type}/#{all}")
|
154
|
+
metric_hash[meta] ||= MetricStats.new(false)
|
149
155
|
stat = metric_hash[meta]
|
150
156
|
stat.update!(layer.total_call_time, layer.total_exclusive_time)
|
151
157
|
end
|
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.pre6
|
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-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|