Method: NewRelic::Agent::Transaction#threshold

Defined in:
lib/new_relic/agent/transaction.rb

#thresholdObject

[View source]

864
865
866
867
868
869
870
871
# File 'lib/new_relic/agent/transaction.rb', line 864

def threshold
  source_class = Agent.config.source(:'transaction_tracer.transaction_threshold').class
  if source_class == Configuration::DefaultSource
    apdex_t * 4
  else
    Agent.config[:'transaction_tracer.transaction_threshold']
  end
end