scout_apm 1.2.4 → 1.2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/slow_transaction.rb +1 -1
- data/lib/scout_apm/tracked_request.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: ddf754c3343fd74b1e1eee46583ad1f57d10dae5
|
4
|
+
data.tar.gz: dd9bac67d7a2477c6eae14c3729ffb695ea3ee1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbdcc7b57c0aa7dc0b32106f1de6f6b25a25f4cd3592dbe383d5e2a71acd6d6cd1e955c2f7b68027e271ff130a313134d2bc045a0a5d402a446ec4195d028971
|
7
|
+
data.tar.gz: 2eef5342e7704fcd060991353a3b8753906650fed1b6bbefa0e56a440039e4ca8b46beb6a2339be22b442d40512272a0c39d08ca3e105455dde5c3da2b68dc3a
|
data/CHANGELOG.markdown
CHANGED
@@ -2,7 +2,7 @@ module ScoutApm
|
|
2
2
|
class SlowTransaction
|
3
3
|
include ScoutApm::BucketNameSplitter
|
4
4
|
|
5
|
-
BACKTRACE_THRESHOLD = 0.
|
5
|
+
BACKTRACE_THRESHOLD = 0.5 # the minimum threshold in seconds to record the backtrace for a metric. decreasing this can have a large impact on overhead/
|
6
6
|
BACKTRACE_LIMIT = 5 # Max length of callers to display
|
7
7
|
MAX_SIZE = 100 # Limits the size of the metric hash to prevent a metric explosion.
|
8
8
|
|
@@ -74,10 +74,10 @@ module ScoutApm
|
|
74
74
|
# Run at the beginning of the whole request
|
75
75
|
#
|
76
76
|
# * Capture the first layer as the root_layer
|
77
|
-
# * Start Stackprof
|
77
|
+
# * Start Stackprof (disabling to avoid conflicts if stackprof is included as middleware since we aren't sending this up to server now)
|
78
78
|
def start_request(layer)
|
79
79
|
@root_layer = layer unless @root_layer # capture root layer
|
80
|
-
StackProf.start(:mode => :wall, :interval => ScoutApm::Agent.instance.config.value("stackprof_interval"))
|
80
|
+
#StackProf.start(:mode => :wall, :interval => ScoutApm::Agent.instance.config.value("stackprof_interval"))
|
81
81
|
end
|
82
82
|
|
83
83
|
# Run at the end of the whole request
|
@@ -86,8 +86,8 @@ module ScoutApm
|
|
86
86
|
# * Send the request off to be stored
|
87
87
|
def stop_request
|
88
88
|
# ScoutApm::Agent.instance.logger.debug("stop_request: #{annotations[:uri]}" )
|
89
|
-
StackProf.stop
|
90
|
-
|
89
|
+
#StackProf.stop # disabling to avoid conflicts if stackprof is included as middleware since we aren't sending this up to server now
|
90
|
+
#@stackprof = StackProf.results
|
91
91
|
|
92
92
|
record!
|
93
93
|
end
|
data/lib/scout_apm/version.rb
CHANGED