scout_apm 2.1.9 → 2.1.10

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: b39d56f8f0d746e68ea6efb1563b03a9f61e42a3
4
- data.tar.gz: 07a2274f0a5951b4d5d33321ee736dfea10e6f20
3
+ metadata.gz: fc600fff93b25a071d1b42340ee61d917dba6311
4
+ data.tar.gz: dee033882c62adf993a8b9d03a4117f44e88e500
5
5
  SHA512:
6
- metadata.gz: bbc3e9460c9e91c4cbbf88fc79612115b399da95f97844dc0719694cab3651a151d31f550f0c2ba6e93c1f23e4868c17a3dc0aa4485c5a1133ec441a4e5b5a3e
7
- data.tar.gz: feae03802789c2b9de7d62dd63b191474323e84c9474a13d7e5c49d3409e71bd952e75c1f10b43540488a39b761135a4da1078e5467274e43b3c41be5b4c0af2
6
+ metadata.gz: 3ba8573913896bb345a27a4af9e41023ce7373fb012dcc906ceb2ed5f40c68f51bd61111ef5168d6fabce50286d63173d78b887cbe00f67faf72da7a7e279663
7
+ data.tar.gz: 7b9190354b3ecb0148e708d5c8df2927dc1fa345fe6a61dd6ecb243d88140a6a393371894b0d1ea072b52d66bfc7b77d7d8faa1a1542cfefbaeaaa6480397e74
@@ -1,3 +1,7 @@
1
+ # 2.1.10
2
+
3
+ * Fix issue getting a default Application Name when it wasn't explicitly set
4
+
1
5
  # 2.1.9
2
6
 
3
7
  * Send raw histograms of response time, enabling more accurate 95th %iles
@@ -58,7 +58,9 @@ module ScoutApm
58
58
  end
59
59
 
60
60
  def application_name
61
- Agent.instance.config.value("name") || framework_integration.application_name
61
+ Agent.instance.config.value("name") ||
62
+ framework_integration.application_name ||
63
+ "App"
62
64
  end
63
65
 
64
66
  def database_engine
@@ -36,7 +36,6 @@ module ScoutApm
36
36
 
37
37
  def uri(host)
38
38
  encoded_app_name = CGI.escape(Environment.instance.application_name)
39
- encoded_name = CGI.escape(config.value('name'))
40
39
  key = config.value('key')
41
40
 
42
41
  case type
@@ -45,9 +44,9 @@ module ScoutApm
45
44
  when :app_server_load
46
45
  URI.parse("#{host}/apps/app_server_load.scout?key=#{key}&name=#{encoded_app_name}")
47
46
  when :deploy_hook
48
- URI.parse("#{host}/apps/deploy.scout?key=#{key}&name=#{encoded_name}")
47
+ URI.parse("#{host}/apps/deploy.scout?key=#{key}&name=#{encoded_app_name}")
49
48
  when :instant_trace
50
- URI.parse("#{host}/apps/instant_trace.scout?key=#{key}&name=#{encoded_name}&instant_key=#{instant_key}")
49
+ URI.parse("#{host}/apps/instant_trace.scout?key=#{key}&name=#{encoded_app_name}&instant_key=#{instant_key}")
51
50
  end.tap { |u| logger.debug("Posting to #{u}") }
52
51
  end
53
52
 
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "2.1.9"
2
+ VERSION = "2.1.10"
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: 2.1.9
4
+ version: 2.1.10
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-09-15 00:00:00.000000000 Z
12
+ date: 2016-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest