scout_apm 1.3.1 → 1.3.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
  SHA1:
3
- metadata.gz: c3bbbb3dd86b9f1a56e1685ac3ccdc4112c0e7af
4
- data.tar.gz: 2d51d2c01098a18d18921bface763188a4945718
3
+ metadata.gz: b6e9820a7bcdbc4c94bbedae2d7e19831ef56aa0
4
+ data.tar.gz: b7361a9247242c4ed54cabdcc9b85229cb59c249
5
5
  SHA512:
6
- metadata.gz: 8e47262921e4a05f4b549a73c394594a211a49fb1a00197d22b0c877ed4485713a4046e44ee201d5c47ae0a6318a7880dcadcdbab6d7474bdfcc518450ff09d7
7
- data.tar.gz: fbbbb2ce2671487f105b6b0a24087e8fcaf20abe30728afa7e7c1214aa827db677c00d5ed4426a32f8cfd30a8761b6454c991844f4b5eec3126297c196eec6d3
6
+ metadata.gz: 268606af08b85bae2b736ab2d8165b4b6ee6ca262a4bd1bcc0493e1ef0543cd2e357b67ccac3bb0e9924dc33afd6ed2a650134b88f9f66253a2cf0a3c656b954
7
+ data.tar.gz: b6ff74684d48ead62b66f653737d024659d63e20aca1d8d36d9367b347d895c9af64022197e1839a2f9056c7bd4ae08082542ebdc606f67e1f13aebf99e7a81d
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.3.2
2
+
3
+ * Switch reporting payload version over to JSON
4
+
1
5
  # 1.3.1
2
6
 
3
7
  * Handling nil scope in LayerSlowTransactionConverter
@@ -86,13 +86,6 @@ module ScoutApm
86
86
  end
87
87
  end
88
88
 
89
- # def process_metrics
90
- # rescue
91
- # logger.warn "Error on checkin to #{reporter.uri.to_s}"
92
- # logger.info $!.message
93
- # logger.debug $!.backtrace
94
- # end
95
-
96
89
  # Before reporting, lookup metric_id for each MetricMeta. This speeds up
97
90
  # reporting on the server-side.
98
91
  def add_metric_ids(metrics)
@@ -14,6 +14,7 @@ require 'scout_apm/environment'
14
14
  # monitor - true or false. False prevents any instrumentation from starting
15
15
  # name - override the name reported to APM. This is the name that shows in the Web UI
16
16
  # uri_reporting - 'path' or 'full_path' default is 'full_path', which reports URL params as well as the path.
17
+ # report_format - 'json' or 'marshal'. Marshal was default pre 1.3.2, Json is default 1.3.2 and onward.
17
18
  #
18
19
  # Any of these config settings can be set with an environment variable prefixed
19
20
  # by SCOUT_ and uppercasing the key: SCOUT_LOG_LEVEL for instance.
@@ -24,7 +25,8 @@ module ScoutApm
24
25
  'host' => 'https://checkin.scoutapp.com',
25
26
  'log_level' => 'info',
26
27
  'stackprof_interval' => 20000, # microseconds, 1000 = 1 millisecond, so 20k == 20 milliseconds
27
- 'uri_reporting' => 'full_path'
28
+ 'uri_reporting' => 'full_path',
29
+ 'report_format' => 'json'
28
30
  }.freeze
29
31
 
30
32
  def initialize(config_path = nil)
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
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.3.1
4
+ version: 1.3.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: 2016-02-08 00:00:00.000000000 Z
12
+ date: 2016-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project: scout_apm
179
- rubygems_version: 2.4.6
179
+ rubygems_version: 2.2.2
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Ruby application performance monitoring