move should_retry to otter.util.retry
update otter.metrics to new APIs
add test and fix bug for disallow retry case
lint