Sha256: 97c7952c81fc6c7904a053cc15a00ee6a134a221f2dcb412fb49e6aed3f3dbf7

Contents?: true

Size: 637 Bytes

Versions: 9

Compression:

Stored size: 637 Bytes

Contents

# This is a controller class used in testing controller instrumentation
class NewRelic::Agent::AgentTestController < ActionController::Base
  filter_parameter_logging :social_security_number
  def index
    render :text => params.inspect
  end
  def _filter_parameters(params)
    filter_parameters params
  end
  def action_to_render
    render :text => params.inspect
  end
  def action_to_ignore
    render :text => 'unmeasured'
  end
  def entry_action
    perform_action_with_newrelic_trace('internal_action') do
      internal_action
    end    
  end
  private
  def internal_action
    render :text => 'internal action'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
newrelic_rpm-2.8.10 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.11 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.3 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.4 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.5 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.6 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.7 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.8 test/new_relic/agent/agent_test_controller.rb
newrelic_rpm-2.8.9 test/new_relic/agent/agent_test_controller.rb