googleapis / googleapis/google-api-ruby-client

add hook for http requests

Aperta
#17,072 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Ruby
Stelle
2.9k
Fork
888
Merge medio
6m
PR unite (30g)
218

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.