<% segment = object %> <%= timestamp(segment) %> <%= segment_duration_value(segment) %>
<% if segment[:sql] %> <%= line_wrap_sql(segment[:sql] ) %> <% else %> Non-sql query: <%= segment.metric_name %> <%= line_wrap_sql(segment[:key]) %> <% end %>