Class NewRelic::Rack::DeveloperMode
In: lib/new_relic/rack/developer_mode/segment_summary.rb
lib/new_relic/rack/developer_mode.rb
Parent: Object

This middleware provides the ‘developer mode’ feature of newrelic_rpm, which allows you to see data about local web transactions in development mode immediately without needing to send this data to New Relic‘s servers.

Enabling developer mode has serious performance and security impact, and thus you should never use this middleware in a production or non-local environment.

This middleware should be automatically inserted in most contexts, but if automatic middleware insertion fails, you may manually insert it into your middleware chain.

@api public

Methods

Included Modules

NewRelic::DeveloperModeHelper

Classes and Modules

Class NewRelic::Rack::DeveloperMode::SegmentSummary

Constants

VIEW_PATH = File.expand_path('../../../../ui/views/' , __FILE__)
HELPER_PATH = File.expand_path('../../../../ui/helpers/', __FILE__)
REQUEST_PARAMETERS_PREFIX = "request.parameters".freeze

Attributes

profiling_enabled  [W] 

Public Class methods

Public Instance methods

Protected Instance methods

[Validate]