traces for metrics calculation