Sha256: 506e4e639560289795cbfabc64f0766a948359f05d97a8875f951439df6d7015
Contents?: true
Size: 552 Bytes
Versions: 11
Compression:
Stored size: 552 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" module Footnotes module Notes class RpmNote < AbstractNote def initialize(controller) @rpm_id=NewRelic::Agent.instance.transaction_sampler.current_sample_id end def row :edit end def link #{:controller => 'newrelic', :action => 'show_sample_detail', :id => @rpm_id} "/newrelic/show_sample_detail/#{@rpm_id}" end def valid? !NewRelic::Config.instance['skip_developer_route'] end end end end
Version data entries
11 entries across 11 versions & 5 rubygems