scout_apm 4.1.1 → 4.1.2

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
  SHA256:
3
- metadata.gz: 8b7247aa1c6545f1bad63c0f911359ba038686c9cf15b30d560ca887467956ef
4
- data.tar.gz: 1fd60f4f23521c1274d27cbf710886bbb5af1baa922ddb3642254917c4db9061
3
+ metadata.gz: dd64c67ede26abdf0cf372b50d0cf025531d5719353b033160e9497fe2abf94f
4
+ data.tar.gz: c31ae7044cce7eb1d869ef8d1130f269b17b53864c9ad8f2c114d822478a1eda
5
5
  SHA512:
6
- metadata.gz: 1581588299fe697107ce3fd8be5575bd63dbc811cf1b6827e08e666ff7e24a9f857366592e632a441e53daea21914c9a9ec7dfdc8acaa1cfaabccde9636b3b56
7
- data.tar.gz: 41c2b41c8e7875188f671b59ad23aa62974b2e0c2ae3d08e93366e81158809b14b8b4c8f217c198e39d311ec8ef1921ec672da726a095702c1b7d7521ab0f7f3
6
+ metadata.gz: 9c12b178b6b6f4ee7ea6add58a5e2b13d362684c7825441e7164dcb878ec75befa4312efd7566dab95f5461401f4591eaa2bc86f477ec4776fed175bdb3f6321
7
+ data.tar.gz: 3b832fc6ab0c0e676d574e29e37f15f849ddf886ea1d76972bdf81b42431d9daab5caacbc2867b2b22dfb71c3a31ae94d6b64372a297de0f5ec384d7d9ef45bc
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.1.2
2
+
3
+ * Add record_queue_time configuration (PR #422)
4
+
1
5
  # 4.1.1
2
6
 
3
7
  * Fix issue with Typheous Hydra instrument (#418)
@@ -29,6 +29,7 @@ require 'scout_apm/environment'
29
29
  # report_format - 'json' or 'marshal'. Marshal is legacy and will be removed.
30
30
  # scm_subdirectory - if the app root lives in source management in a subdirectory. E.g. #{SCM_ROOT}/src
31
31
  # uri_reporting - 'path' or 'full_path' default is 'full_path', which reports URL params as well as the path.
32
+ # record_queue_time - true/false to enable recording of queuetime.
32
33
  # remote_agent_host - Internal: What host to bind to, and also send messages to for remote. Default: 127.0.0.1.
33
34
  # remote_agent_port - What port to bind the remote webserver to
34
35
  # start_resque_server_instrument - Used in special situations with certain Resque installs
@@ -69,6 +70,7 @@ module ScoutApm
69
70
  'name',
70
71
  'profile',
71
72
  'proxy',
73
+ 'record_queue_time',
72
74
  'remote_agent_host',
73
75
  'remote_agent_port',
74
76
  'report_format',
@@ -178,6 +180,7 @@ module ScoutApm
178
180
  'database_metric_limit' => IntegerCoercion.new,
179
181
  'database_metric_report_limit' => IntegerCoercion.new,
180
182
  'instrument_http_url_length' => IntegerCoercion.new,
183
+ 'record_queue_time' => BooleanCoercion.new,
181
184
  'start_resque_server_instrument' => BooleanCoercion.new,
182
185
  'timeline_traces' => BooleanCoercion.new,
183
186
  'auto_instruments' => BooleanCoercion.new,
@@ -292,6 +295,7 @@ module ScoutApm
292
295
  'instrument_http_url_length' => 300,
293
296
  'start_resque_server_instrument' => true, # still only starts if Resque is detected
294
297
  'collect_remote_ip' => true,
298
+ 'record_queue_time' => true,
295
299
  'timeline_traces' => true,
296
300
  'auto_instruments' => false,
297
301
  'auto_instruments_ignore' => [],
@@ -11,6 +11,8 @@ module ScoutApm
11
11
  def record!
12
12
  return unless request.web?
13
13
 
14
+ return unless context.config.value('record_queue_time')
15
+
14
16
  return unless headers
15
17
 
16
18
  raw_start = locate_timestamp
@@ -1,3 +1,3 @@
1
1
  module ScoutApm
2
- VERSION = "4.1.1"
2
+ VERSION = "4.1.2"
3
3
  end
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: 4.1.1
4
+ version: 4.1.2
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: 2021-06-08 00:00:00.000000000 Z
12
+ date: 2021-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -482,7 +482,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
482
482
  - !ruby/object:Gem::Version
483
483
  version: '0'
484
484
  requirements: []
485
- rubygems_version: 3.1.2
485
+ rubygems_version: 3.0.3
486
486
  signing_key:
487
487
  specification_version: 4
488
488
  summary: Ruby application performance monitoring