records runtime metrics