[tor-commits] [metrics-lib/release] Properly mark deprecated method with annotation.