[tor-commits] [tor/master] Improve metrics implementation.