Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Probot Metrics #957
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Teachability, Documentation, Adoption, Migration Strategy
We handle the rate limit in latest probot by throttling requests as needed. It’s more complex that counting requests. The implementation is here: https://github.com/octokit/plugin-throttling.js
We typically track metrics in external solutions like New Relic/Datadog internally. The challenge with this ask is tracking API requests per installation. I think it's definitely useful, but I'm not sure how it could be done in Probot itself. For example in a Lambda function, we simply couldn't track calls inside the framework. What you're suggesting would require an external service to monitor what's happening across the entire app. For Stale I'm experimenting with Logz.io, which is basically an ELK/Grafana solution as a service. This has given me some decent observability and is free for up to 3GB of data/day.