Method: NewRelic::Agent::Threading::BacktraceService#unsubscribe
- Defined in:
- lib/new_relic/agent/threading/backtrace_service.rb
permalink #unsubscribe(transaction_name) ⇒ Object
[View source]
77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/new_relic/agent/threading/backtrace_service.rb', line 77 def unsubscribe(transaction_name) return unless self.class.is_supported? NewRelic::Agent.logger.debug("Backtrace Service unsubscribing transaction '#{transaction_name}'") @lock.synchronize do @profiles.delete(transaction_name) if @profiles.empty? stop else update_values_from_profiles end end end |