Module: Callstacking::Rails::Helpers
- Defined in:
- lib/callstacking/rails/helpers/instrument_helper.rb,
lib/callstacking/rails/helpers/heads_up_display_helper.rb
Defined Under Namespace
Modules: HeadsUpDisplayHelper, InstrumentHelper
Instance Method Summary
collapse
Instance Method Details
#callstacking_followup_exception_trace? ⇒ Boolean
30
31
32
33
34
35
36
37
|
# File 'lib/callstacking/rails/helpers/instrument_helper.rb', line 30
def callstacking_followup_exception_trace?
if @last_callstacking_sample.present? && @last_callstacking_sample < 1.hour.ago
@last_callstacking_exception = nil
return true
end
false
end
|
#callstcking_sample_trace? ⇒ Boolean
21
22
23
24
25
26
27
28
|
# File 'lib/callstacking/rails/helpers/instrument_helper.rb', line 21
def callstcking_sample_trace?
if @last_callstacking_exception.present? && @last_callstacking_exception < 1.minute.ago
@last_callstacking_exception = nil
return true
end
false
end
|