lib/one_apm/transaction/segment.rb in oneapm_rpm-1.3.6 vs lib/one_apm/transaction/segment.rb in oneapm_rpm-1.3.7.rc1

- old
+ new

@@ -13,14 +13,14 @@ # No new clients should be added. attr_reader :segment_id attr_accessor :metric_name - UNKNOWN_SEGMENT_NAME = '<unknown>'.freeze + OA_UNKNOWN_SEGMENT_NAME = '<unknown>'.freeze def initialize(timestamp, metric_name, segment_id=nil) @entry_timestamp = timestamp - @metric_name = metric_name || UNKNOWN_SEGMENT_NAME + @metric_name = metric_name || OA_UNKNOWN_SEGMENT_NAME @segment_id = segment_id || object_id end # sets the final timestamp on a segment to indicate the exit # point of the segment