Delete unused metrics tracking code