727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
|
# File 'lib/new_relic/agent/transaction.rb', line 727
def append_apdex_perf_zone(payload)
if recording_web_transaction?
bucket = apdex_bucket(duration, apdex_t)
elsif background_apdex_t = transaction_specific_apdex_t
bucket = apdex_bucket(duration, background_apdex_t)
end
return unless bucket
bucket_str = case bucket
when :apdex_s then APDEX_S
when :apdex_t then APDEX_T
when :apdex_f then APDEX_F
end
payload[:apdex_perf_zone] = bucket_str if bucket_str
end
|