grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.98k stars 598 forks source link

feat: Track metrics around usage of the GitHub API #3273

Closed bryanhuhta closed 4 months ago

bryanhuhta commented 5 months ago

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:

simonswine commented 4 months ago

Thanks for this new revision, I have not fully tested it myself, but it looks all correct code wise