lib/one_apm/transaction/segment.rb in oneapm_rpm-1.3.7 vs lib/one_apm/transaction/segment.rb in oneapm_rpm-1.4.0
- old
+ new
@@ -44,10 +44,11 @@
def to_array
[ OneApm::Helper.time_to_millis(@entry_timestamp),
OneApm::Helper.time_to_millis(@exit_timestamp),
string(@metric_name),
(@params || {}) ] +
- [ (@called_segments ? @called_segments.map{|s| s.to_array} : []) ]
+ [ (@called_segments ? @called_segments.map{|s| s.to_array} : []) ] #+
+ # [ '', '' ]
end
def path_string
"#{metric_name}[#{called_segments.collect {|segment| segment.path_string }.join('')}]"
end