Class NewRelic::Agent::Threading::BacktraceService
In: lib/new_relic/agent/threading/backtrace_service.rb
Parent: Object

Methods

Constants

ALL_TRANSACTIONS = "**ALL**".freeze
MAX_BUFFER_LENGTH = 500

Attributes

buffer  [R] 
effective_polling_period  [R] 
overhead_percent_threshold  [R] 
profile_agent_code  [RW] 
profiles  [R]  This method is expected to be called with @lock held.
worker_loop  [R] 
worker_thread  [RW] 

Public Class methods

Because of Resque‘s forking, we don‘t poll thread backtraces for it. To accomplish that would require starting a new backtracing thread in each forked worker, and merging profiles across the pipe channel.

Public Instance methods

If our overhead % exceeds the threshold, bump the next poll period relative to how much larger our overhead is than allowed

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

Public interface

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

This method is expected to be called with @lock held.

This method is expected to be called with @lock held

This method is expected to be called with @lock held

[Validate]