newrelic_rpm 2.8.7 → 2.8.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of newrelic_rpm might be problematic. Click here for more details.
- data/README +1 -1
- data/lib/new_relic/config.rb +7 -3
- data/lib/new_relic/local_environment.rb +3 -4
- data/lib/new_relic/version.rb +3 -1
- metadata +2 -2
data/README
CHANGED
data/lib/new_relic/config.rb
CHANGED
@@ -186,11 +186,15 @@ module NewRelic
|
|
186
186
|
begin
|
187
187
|
ip_address = Resolv.getaddress(host)
|
188
188
|
rescue => e
|
189
|
-
log.
|
190
|
-
|
189
|
+
log.debug "DNS Error caching with Resolv: #{e}"
|
190
|
+
begin
|
191
|
+
ip_address = IPSocket::getaddress host
|
192
|
+
rescue => e
|
193
|
+
log.warn "DNS Error looking up IP address: #{e}"
|
194
|
+
raise NewRelic::Agent::IgnoreSilentlyException.new
|
195
|
+
end
|
191
196
|
end
|
192
197
|
end
|
193
|
-
|
194
198
|
log.info "Resolved #{host} to #{ip_address}"
|
195
199
|
ip_address
|
196
200
|
end
|
@@ -33,13 +33,12 @@ module NewRelic
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
def check_for_webrick
|
36
|
-
|
37
|
-
|
38
|
-
if defined?(OPTIONS) && ::OPTIONS.respond_to?(:fetch)
|
36
|
+
# This will not succeed on rails 2.2 and later
|
37
|
+
if defined?(WEBrick) && defined?(OPTIONS) && ::OPTIONS.respond_to?(:fetch)
|
39
38
|
# OPTIONS is set by script/server
|
39
|
+
@identifier = default_port unless @identifier
|
40
40
|
@identifier = OPTIONS.fetch(:port)
|
41
41
|
end
|
42
|
-
@identifier = default_port unless @identifier
|
43
42
|
end
|
44
43
|
# this case covers starting by mongrel_rails
|
45
44
|
def check_for_mongrel
|
data/lib/new_relic/version.rb
CHANGED
@@ -3,7 +3,7 @@ module NewRelic
|
|
3
3
|
module VERSION #:nodoc:
|
4
4
|
MAJOR = 2
|
5
5
|
MINOR = 8
|
6
|
-
TINY =
|
6
|
+
TINY = 8
|
7
7
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
8
8
|
def self.changes
|
9
9
|
puts "NewRelic RPM Plugin Version: #{NewRelic::VERSION::STRING}"
|
@@ -11,6 +11,8 @@ module NewRelic
|
|
11
11
|
end
|
12
12
|
|
13
13
|
CHANGELOG = <<EOF
|
14
|
+
2009-03-27 version 2.8.8
|
15
|
+
* fix error with jruby on windows
|
14
16
|
2009-03-20 version 2.8.7
|
15
17
|
* fix for ssl connection hanging problems
|
16
18
|
* fix problem recognizing mongrel in rails 2.3.2
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic_rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bill Kayser
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-31 00:00:00 -07:00
|
13
13
|
default_executable: newrelic_cmd
|
14
14
|
dependencies: []
|
15
15
|
|