scout_apm 3.0.0.pre2 → 3.0.0.pre3

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: 83b62021065f23753ffcd91484e74ccd6dbf2058
4
- data.tar.gz: 7163784d52c0547588f4cda9247eca9a634d29d1
3
+ metadata.gz: 3721ca109f1e1cb44b9b3f06ee32eda61f77a67d
4
+ data.tar.gz: 19f4934a1cf694a233cc23f577fab0b10cffdcd9
5
5
  SHA512:
6
- metadata.gz: f711a6661dee811a41f5a92845f004288ca6eb931b0d49f5bf691d6f1fe0fd9b845d2292519c62e6137cfc49386cf77b43add139381531c6c9b351484e208ac8
7
- data.tar.gz: d23b7ba32077adc95a23abead06bcbe8d452c2ff845c49bd2ad376ae069feadaed5836ad6c1bd46a075300962c2812d14109c2526804d606baf8d41dc581afd5
6
+ metadata.gz: 447e27d5da749e8b58c71db8288c94f9e74cc1bd357282396ee7cfc3f93b8db63af23f79f4af35cbdf70c3d59715a9be2c1a43c12b4566335c234c11fe4b3c59
7
+ data.tar.gz: 3f082fd12f47d360c91ba9d0f743e4628a19cf9009edff49ed0570923a8b6ece527dedc327b2d7cd339df4fad18ba77f8022a552cde20df2600b4fa7419c8d52
@@ -6,6 +6,10 @@
6
6
 
7
7
  * ScoutProf BETA
8
8
 
9
+ # 2.1.10
10
+
11
+ * Fix issue getting a default Application Name when it wasn't explicitly set
12
+
9
13
  # 2.1.9
10
14
 
11
15
  * 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,3 +1,3 @@
1
1
  module ScoutApm
2
- VERSION = "3.0.0.pre2"
2
+ VERSION = "3.0.0.pre3"
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: 3.0.0.pre2
4
+ version: 3.0.0.pre3
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-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest