Class: Appsignal::Rack::RailsInstrumentation Private
- Inherits:
-
AbstractMiddleware
- Object
- AbstractMiddleware
- Appsignal::Rack::RailsInstrumentation
- Defined in:
- lib/appsignal/rack/rails_instrumentation.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from AbstractMiddleware
AbstractMiddleware::DEFAULT_ERROR_REPORTING
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ RailsInstrumentation
constructor
private
A new instance of RailsInstrumentation.
Methods inherited from AbstractMiddleware
Constructor Details
#initialize(app, options = {}) ⇒ RailsInstrumentation
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RailsInstrumentation.
7 8 9 10 11 12 13 |
# File 'lib/appsignal/rack/rails_instrumentation.rb', line 7 def initialize(app, = {}) [:request_class] ||= ActionDispatch::Request [:params_method] ||= :filtered_parameters [:instrument_event_name] = nil [:report_errors] = true super end |