[tor-commits] [metrics-db/master] Stop using deprecated parts of metrics-lib.