pyroscope
pyroscope copied to clipboard
feat: Track metrics around usage of the GitHub API
Related: https://github.com/grafana/pyroscope-squad/issues/138
We have metrics surrounding how the VCS service behaves (latency, errors, etc) but we have limited insight into our usage of the GitHub API. This PR tracks our GitHub API usage in two ways:
- duration of requests
- count of how close we are to rate limiting