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 +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: fc600fff93b25a071d1b42340ee61d917dba6311
|
4
|
+
data.tar.gz: dee033882c62adf993a8b9d03a4117f44e88e500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ba8573913896bb345a27a4af9e41023ce7373fb012dcc906ceb2ed5f40c68f51bd61111ef5168d6fabce50286d63173d78b887cbe00f67faf72da7a7e279663
|
7
|
+
data.tar.gz: 7b9190354b3ecb0148e708d5c8df2927dc1fa345fe6a61dd6ecb243d88140a6a393371894b0d1ea072b52d66bfc7b77d7d8faa1a1542cfefbaeaaa6480397e74
|
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: 2.1.
|
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-
|
12
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|