Sha256: b1ab4deda71b21f80e3bc657f3aab0804903725624e793edab1fc8d7a98fa202
Contents?: true
Size: 553 Bytes
Versions: 30
Compression:
Stored size: 553 Bytes
Contents
# encoding: utf-8 module OneApm class Transaction def summary_metrics if @frozen_name.start_with?(WEB_TRANSACTION_PREFIX) [WEB_SUMMARY_METRIC] else background_summary_metrics end end def background_summary_metrics segments = @frozen_name.split('/') if segments.size > 2 ["OtherTransaction/#{segments[1]}/all", OTHER_SUMMARY_METRIC] else [] end end def needs_middleware_summary_metrics?(name) name.start_with?(MIDDLEWARE_PREFIX) end end end
Version data entries
30 entries across 30 versions & 1 rubygems