Page MenuHomeSoftware Heritage

Add monitoring of API token usage
Closed, MigratedEdits Locked

Description

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