github: Export statsd metrics about API requests and token usage
We will need to monitored token usage when scheduling recurring fetches of extrinsic metadata.
Metrics on API requests and sleep time themselves are just an extra that may be handy in the future.
This is the first half of T4728.
Migrated from D8959 (view on Phabricator)