googleapis / googleapis/google-api-ruby-client
add hook for http requests
オープン
- 主要言語
- Ruby
- スター
- 2.9k
- フォーク
- 888
- 平均マージ
- 6分
- マージ済み PR(30日)
- 218
説明
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.
コントリビューションガイド
調査の方向性
ファイルもテストも指定されていません。まず gem の HTTP リクエストのエントリーポイントを見つけ、リクエストがどのように発行されるかを追跡します。設定可能な callback をどこに配置すべきか、またそれがどのリクエスト詳細を公開する必要があるかを特定してください。アプリケーションがリクエストを確実に監視でき、テストが callback の動作をカバーしていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ruby
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100