scout_apm 0.9.3 → 0.9.4.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/scout_apm/instruments/net_http.rb +2 -0
- data/lib/scout_apm/reporter.rb +1 -1
- data/lib/scout_apm/version.rb +1 -1
- metadata +22 -14
- checksums.yaml +0 -7
@@ -25,6 +25,8 @@ module ScoutApm
|
|
25
25
|
self.class.instrument("HTTP/request", :desc => "#{(@address+args.first.path.split('?').first)[0..99]}") do
|
26
26
|
request_without_scout_instruments(*args,&block)
|
27
27
|
end
|
28
|
+
rescue SystemStackError => e
|
29
|
+
ScoutApm::Agent.instance.logger.error "Exception in Net::HTTP (#{self.class.to_s}): #{e.message}\nBacktrace: #{e.backtrace}\n\nCaller: #{caller.join("\n")}"
|
28
30
|
end
|
29
31
|
alias request_without_scout_instruments request
|
30
32
|
alias request request_with_scout_instruments
|
data/lib/scout_apm/reporter.rb
CHANGED
@@ -75,7 +75,7 @@ module ScoutApm
|
|
75
75
|
logger.debug "/#{type} FAILED: #{response.inspect}"
|
76
76
|
end
|
77
77
|
rescue Exception
|
78
|
-
logger.debug "Exception sending request to server:
|
78
|
+
logger.debug "Exception sending request to server: #{$!.message}\nBacktrace: #{$!.backtrace}\nCaller: #{caller.join("\n")}"
|
79
79
|
ensure
|
80
80
|
response
|
81
81
|
end
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4.pre1
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Derek Haynes
|
@@ -14,43 +15,49 @@ dependencies:
|
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: minitest
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- -
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: '0'
|
21
23
|
type: :development
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
|
-
- -
|
28
|
+
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '0'
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: pry
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- -
|
36
|
+
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
34
38
|
version: '0'
|
35
39
|
type: :development
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- -
|
44
|
+
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
41
46
|
version: '0'
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: m
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
|
-
- -
|
52
|
+
- - ! '>='
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: '0'
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
|
-
- -
|
60
|
+
- - ! '>='
|
54
61
|
- !ruby/object:Gem::Version
|
55
62
|
version: '0'
|
56
63
|
description: Monitors Ruby apps and reports detailed metrics on performance to Scout.
|
@@ -60,7 +67,7 @@ executables: []
|
|
60
67
|
extensions: []
|
61
68
|
extra_rdoc_files: []
|
62
69
|
files:
|
63
|
-
-
|
70
|
+
- .gitignore
|
64
71
|
- CHANGELOG.markdown
|
65
72
|
- Gemfile
|
66
73
|
- README.markdown
|
@@ -132,27 +139,28 @@ files:
|
|
132
139
|
- test/unit/sql_sanitizer_test.rb
|
133
140
|
homepage: https://github.com/scoutapp/scout_apm_ruby
|
134
141
|
licenses: []
|
135
|
-
metadata: {}
|
136
142
|
post_install_message:
|
137
143
|
rdoc_options: []
|
138
144
|
require_paths:
|
139
145
|
- lib
|
140
146
|
- data
|
141
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
142
149
|
requirements:
|
143
|
-
- -
|
150
|
+
- - ! '>='
|
144
151
|
- !ruby/object:Gem::Version
|
145
152
|
version: '0'
|
146
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
147
155
|
requirements:
|
148
|
-
- -
|
156
|
+
- - ! '>'
|
149
157
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
158
|
+
version: 1.3.1
|
151
159
|
requirements: []
|
152
160
|
rubyforge_project: scout_apm
|
153
|
-
rubygems_version:
|
161
|
+
rubygems_version: 1.8.24
|
154
162
|
signing_key:
|
155
|
-
specification_version:
|
163
|
+
specification_version: 3
|
156
164
|
summary: Ruby application performance monitoring
|
157
165
|
test_files:
|
158
166
|
- test/data/config_test_1.yml
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: a907c253bd85a901ab406ff8387fa9aa59e85449
|
4
|
-
data.tar.gz: f0e9a9b401a30f99345de8c05c6d14c1e21745cc
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: b2cedb274a39605d8e72ffec02065f16f5b141240af125eaa3e9f0bf5416832f53971deb552a9bedadb1994ca63c60f9c0a04b5ce43ad22169a9b82be1b3f659
|
7
|
-
data.tar.gz: a495c63bcfb4fc9064c402c877cf17fd08eac34d32c33507cb611474e447f0b1aede1cee663bc44200e004c3f9659af61959535dd23c5da7df59d942fc59a8dc
|