newrelic_rpm 3.5.5.39.beta → 3.5.5.540.dev

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -3,13 +3,6 @@
3
3
 
4
4
  ## v3.5.5 ##
5
5
 
6
- * Add thread profiling support
7
-
8
- Thread profiling performs statistical sampling of backtraces of all threads
9
- within your Ruby processes. This feature requires MRI >= 1.9.2, and is
10
- controlled via the New Relic web UI. JRuby support (in 1.9.x compat mode) is
11
- considered experimental, due to issues with JRuby's Thread#backtrace.
12
-
13
6
  * Add audit logging capability
14
7
 
15
8
  The agent can now log all of the data it sends to the New Relic servers to
@@ -7,22 +7,12 @@ module NewRelic::Rack
7
7
  def call(env)
8
8
  @app.call(env)
9
9
  rescue Exception => exception
10
- NewRelic::Agent.logger.debug "collecting %p: %s" % [ exception.class, exception.message ]
11
10
  request = Rack::Request.new(env)
12
-
13
11
  if !should_ignore_error?(exception, request)
14
- params = begin
15
- request.params
16
- rescue => err
17
- warning = "failed to capture request parameters: %p: %s" % [ err.class, err.message ]
18
- NewRelic::Agent.logger.warn(warning)
19
- {'error' => warning}
20
- end
21
-
22
12
  NewRelic::Agent.instance.error_collector.notice_error(exception,
23
13
  :uri => request.path,
24
14
  :referer => request.referer,
25
- :request_params => params)
15
+ :request_params => request.params)
26
16
  end
27
17
  raise exception
28
18
  end
data/newrelic_rpm.gemspec CHANGED
@@ -1,12 +1,12 @@
1
1
  #-*- coding: utf-8 -*-
2
- # GITSHA: e6ee26a548aeb52344bdcdc6365a6ae46508c106
2
+ # GITSHA: 145011f05190147f022cfea6d5bd10b657851d7c
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "newrelic_rpm"
6
- s.version = "3.5.5.39.beta"
6
+ s.version = "3.5.5.540.dev"
7
7
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [ "Jason Clark", "Sam Goldstein", "Jon Guymon", "Ben Weintraub" ]
9
- s.date = "2013-01-11"
9
+ s.date = "2013-01-04"
10
10
  s.description = <<-EOS
11
11
  New Relic is a performance management system, developed by New Relic,
12
12
  Inc (http://www.newrelic.com). New Relic provides you with deep
@@ -441,13 +441,6 @@ EOS
441
441
 
442
442
  ## v3.5.5 ##
443
443
 
444
- * Add thread profiling support
445
-
446
- Thread profiling performs statistical sampling of backtraces of all threads
447
- within your Ruby processes. This feature requires MRI >= 1.9.2, and is
448
- controlled via the New Relic web UI. JRuby support (in 1.9.x compat mode) is
449
- considered experimental, due to issues with JRuby's Thread#backtrace.
450
-
451
444
  * Add audit logging capability
452
445
 
453
446
  The agent can now log all of the data it sends to the New Relic servers to
@@ -66,22 +66,6 @@ module NewRelic::Rack
66
66
  assert(NewRelic::Agent.instance.error_collector.errors.empty?,
67
67
  'noticed an error that should have been ignored')
68
68
  end
69
-
70
- def test_handles_parameter_parsing_exceptions
71
- bad_request = stub(:env => {}, :path => '/', :referer => '')
72
- bad_request.stubs(:params).raises(TypeError, "can't convert nil into Hash")
73
- Rack::Request.stubs(:new).returns(bad_request)
74
-
75
- assert_raise RuntimeError do
76
- get '/'
77
- end
78
-
79
- assert_equal('unhandled error',
80
- NewRelic::Agent.instance.error_collector.errors[0].message)
81
- assert_match(/failed to capture request parameters/i,
82
- NewRelic::Agent.instance.error_collector.errors[0].params[:request_params]['error'])
83
- end
84
-
85
69
  end
86
70
  end
87
71
 
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic_rpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.5.39.beta
5
- prerelease: 9
4
+ version: 3.5.5.540.dev
5
+ prerelease: 10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jason Clark
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-01-11 00:00:00.000000000 Z
15
+ date: 2013-01-04 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: ! 'New Relic is a performance management system, developed by New Relic,
18
18
 
@@ -448,10 +448,6 @@ files:
448
448
  homepage: http://www.github.com/newrelic/rpm
449
449
  licenses: []
450
450
  post_install_message: ! "\n# New Relic Ruby Agent Release Notes #\n\n## v3.5.5 ##\n\n
451
- \ * Add thread profiling support\n\n Thread profiling performs statistical sampling
452
- of backtraces of all threads\n within your Ruby processes. This feature requires
453
- MRI >= 1.9.2, and is\n controlled via the New Relic web UI. JRuby support (in
454
- 1.9.x compat mode) is\n considered experimental, due to issues with JRuby's Thread#backtrace.\n\n
455
451
  \ * Add audit logging capability\n\n The agent can now log all of the data it
456
452
  sends to the New Relic servers to\n a special log file for human inspection.
457
453
  This feature is off by default, and\n can be enabled by setting the audit_log.enabled