Comments (7)
A couple of initial notes while thinking.
GET /rate_limit
exposes the values.
The limit appears to be distinct time-slices rather than a sliding window.
from derek.
Hmm is that a proposed API or a GH thing?
from derek.
Ok this.. https://developer.github.com/v3/rate_limit/
from derek.
We could definitely track it in alertmanager and send through to a webhook.
from derek.
Derek add label: priority/high
from derek.
I wonder if we should write a small function as a prometheus exporter which can produce this information for all the installations we have registered. It may involve us collecting the installation messages when the GitHub app is registered.
from derek.
https://developer.github.com/v3/#rate-limiting
The returned HTTP headers of any API request show your current rate limit status:
The remaining limit is in the X-RateLimit-Remaining
header.
We could fire off some event when this gets low
from derek.
Related Issues (20)
- Pull Derek's watchdog binary via multi-stage build HOT 1
- Run Derek container as non-root user HOT 4
- Publishing Docker images is broken HOT 4
- Have Derek add commits as well as PRs closed in each release note HOT 1
- Add 1 min safety window for commit listing HOT 2
- Derek marks PR with `no-dco` but the commit is signed HOT 1
- Proposal: Label and message for PRs with Merge Commits HOT 2
- Add Derek to two new organizations (vielmetti, tinkerbell) HOT 3
- Feature request: give multiple commands within a single comment HOT 2
- [Bug] Regression in authentication code HOT 4
- Inconsistent fetching of commits HOT 4
- Switch to using go modules HOT 3
- Proposal: Detect Hacktoberfest PRs without requiring commit sign-off HOT 7
- Suggestion: make this project more visible HOT 3
- Crash generating release notes HOT 1
- Detect repository default branch HOT 4
- Migrate to GitHub Actions HOT 3
- Have Derek show a link for changes between releases on auto-generated release notes. HOT 3
- Validate HMAC with SHA256
- Exclude pre-releases from release notes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from derek.