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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5d0980c5c6a7d2fbedc1d432a2ee89f2fa296d1
4
- data.tar.gz: 3454e96d1568d99f24091d639bdc10a7079de04b
3
+ metadata.gz: ddf754c3343fd74b1e1eee46583ad1f57d10dae5
4
+ data.tar.gz: dd9bac67d7a2477c6eae14c3729ffb695ea3ee1c
5
5
  SHA512:
6
- metadata.gz: 85c659c70e2274859a1d3fd3f8a1e30ec5d3b0b607b75ef95628d9cb719ae46f19076ec2834fff5a1835551a1d90d10fe46bce7bcfc93c60cf32edf51236ae22
7
- data.tar.gz: c207ba9b9ec33d7ecc35bb4aad5fdfc379a3e42c9ebcb36b679ee4c2a95ca686fb1b451af3023576bb589a1488d3255ad3ea6ffb4db43e54e56253a4b4b127ab
6
+ metadata.gz: dbdcc7b57c0aa7dc0b32106f1de6f6b25a25f4cd3592dbe383d5e2a71acd6d6cd1e955c2f7b68027e271ff130a313134d2bc045a0a5d402a446ec4195d028971
7
+ data.tar.gz: 2eef5342e7704fcd060991353a3b8753906650fed1b6bbefa0e56a440039e4ca8b46beb6a2339be22b442d40512272a0c39d08ca3e105455dde5c3da2b68dc3a
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.4.1
2
+
3
+ * Reverting backtrace parser threshold back to 0.5 (same as < v1.2 agents)
4
+
1
5
  # 1.2.4
2
6
 
3
7
  * Removing layaway file validation in main thread
@@ -2,7 +2,7 @@ module ScoutApm
2
2
  class SlowTransaction
3
3
  include ScoutApm::BucketNameSplitter
4
4
 
5
- BACKTRACE_THRESHOLD = 0.1 # the minimum threshold to record the backtrace for a metric.
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
- @stackprof = StackProf.results
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
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.4.1"
3
3
  end
4
4
 
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.4
4
+ version: 1.2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Haynes