googleapis / googleapis/google-api-ruby-client

add hook for http requests

Offen
#17,072 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Ruby
Sterne
2.9k
Forks
888
Ø Merge
6 Min.
Gemergte PRs (30 T.)
218

Beschreibung

There's no good way to count read and write requests (e.g. for the sheets v4 api) - which is rate limited.

If this gem allowed the configuration of a lambda for when a http request is made, then the application using this gem would be free to log/count requests and then mitigate over usage.

As it stands now it's a bit of craps shoot. No way to tell when the client is reaching its quota.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No file or test is named. Start by locating the gem’s HTTP request entry point and tracing how requests are issued; determine where a configurable callback belongs and what request details it must expose. Done means applications can observe requests reliably and tests cover the callback behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ruby
Bereich
api
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.