Class: Mmtrix::Rack::DeveloperMode

Inherits:
AgentMiddleware
  • Object
show all
Includes:
DeveloperModeHelper
Defined in:
lib/mmtrix/rack/developer_mode.rb

Overview

This middleware provides the ‘developer mode’ feature of mmtrix_rpm, which allows you to see data about local web transactions in development mode immediately without needing to send this data to Mmtrix’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.