Skip to content

Add monitoring of API token usage

Before scheduling recurring fetches of origin metadata, which may exhaust our API tokens, we would like to have some monitoring of their use.

So we need to at least instrument swh.core.github.utils.GitHubSession to publish token usage to statsd, and add a Grafana dashboard for that


Migrated from T4728 (view on Phabricator)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information