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 +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/environment.rb +3 -1
- data/lib/scout_apm/reporter.rb +2 -3
- data/lib/scout_apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3721ca109f1e1cb44b9b3f06ee32eda61f77a67d
|
4
|
+
data.tar.gz: 19f4934a1cf694a233cc23f577fab0b10cffdcd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 447e27d5da749e8b58c71db8288c94f9e74cc1bd357282396ee7cfc3f93b8db63af23f79f4af35cbdf70c3d59715a9be2c1a43c12b4566335c234c11fe4b3c59
|
7
|
+
data.tar.gz: 3f082fd12f47d360c91ba9d0f743e4628a19cf9009edff49ed0570923a8b6ece527dedc327b2d7cd339df4fad18ba77f8022a552cde20df2600b4fa7419c8d52
|
data/CHANGELOG.markdown
CHANGED
@@ -58,7 +58,9 @@ module ScoutApm
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def application_name
|
61
|
-
Agent.instance.config.value("name") ||
|
61
|
+
Agent.instance.config.value("name") ||
|
62
|
+
framework_integration.application_name ||
|
63
|
+
"App"
|
62
64
|
end
|
63
65
|
|
64
66
|
def database_engine
|
data/lib/scout_apm/reporter.rb
CHANGED
@@ -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=#{
|
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=#{
|
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
|
|
data/lib/scout_apm/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2016-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|