def trace_tree
destination = NewRelic::Agent::AttributeFilter::DST_TRANSACTION_TRACER
agent_attributes = self.attributes.agent_attributes_for(destination)
custom_attributes = self.attributes.custom_attributes_for(destination)
intrinsic_attributes = self.attributes.intrinsic_attributes_for(destination)
[
NewRelic::Coerce.float(self.start_time),
{},
{},
self.root_node.to_array,
{
'agentAttributes' => agent_attributes,
'userAttributes' => custom_attributes,
'intrinsics' => intrinsic_attributes
}
]
end