generates runtime metrics