scout_apm 1.3.0 → 1.3.1
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/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/layer_converter.rb +4 -4
- data/lib/scout_apm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3bbbb3dd86b9f1a56e1685ac3ccdc4112c0e7af
|
4
|
+
data.tar.gz: 2d51d2c01098a18d18921bface763188a4945718
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e47262921e4a05f4b549a73c394594a211a49fb1a00197d22b0c877ed4485713a4046e44ee201d5c47ae0a6318a7880dcadcdbab6d7474bdfcc518450ff09d7
|
7
|
+
data.tar.gz: fbbbb2ce2671487f105b6b0a24087e8fcaf20abe30728afa7e7c1214aa827db677c00d5ed4426a32f8cfd30a8761b6454c991844f4b5eec3126297c196eec6d3
|
data/CHANGELOG.markdown
CHANGED
@@ -89,19 +89,19 @@ module ScoutApm
|
|
89
89
|
# return a 2 element array, [ Slow Transaction or Nil , Hash of metrics to store ]
|
90
90
|
class LayerSlowTransactionConverter < LayerConverterBase
|
91
91
|
def call
|
92
|
+
scope = scope_layer
|
93
|
+
return [nil, {}] unless scope
|
94
|
+
|
92
95
|
policy = ScoutApm::Agent.instance.slow_request_policy.capture_type(root_layer.total_call_time)
|
93
96
|
if policy == ScoutApm::SlowRequestPolicy::CAPTURE_NONE
|
94
97
|
return [nil, {}]
|
95
98
|
end
|
96
99
|
|
97
100
|
# increment the slow transaction count if this is a slow transaction.
|
98
|
-
meta = MetricMeta.new("SlowTransaction/#{
|
101
|
+
meta = MetricMeta.new("SlowTransaction/#{scope.legacy_metric_name}")
|
99
102
|
stat = MetricStats.new
|
100
103
|
stat.update!(1)
|
101
104
|
|
102
|
-
scope = scope_layer
|
103
|
-
return [nil, {}] unless scope
|
104
|
-
|
105
105
|
uri = request.annotations[:uri] || ""
|
106
106
|
|
107
107
|
metrics = create_metrics
|
data/lib/scout_apm/version.rb
CHANGED