add hook for http requests
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
未指定文件或测试。首先定位 gem 的 HTTP 请求入口点,并追踪请求的发出方式;确定可配置 callback 应放置在哪里,以及它必须公开哪些请求详情。完成标准是应用程序能够可靠地观察请求,并且测试覆盖 callback 的行为。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Ruby
- 星标
- 2.9k
- 派生
- 888
- 平均合并
- 8 分钟
- 30 天内合并 PR
- 243
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleapis/google-api-ruby-client 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
googleapis/google-api-ruby-client#28001 · 5 个 reaction ·
维护者通常 1 天内回复
-
googleapis/google-api-ruby-client#27757 · 已指派 1 人 ·
维护者通常 1 天内回复
-
google-apis-core: CompositeIO does not maintain the IO read contract可能已有人在做 @torreypayne 于 7 天前认领。 未关闭
googleapis/google-api-ruby-client#27758 · 已指派 1 人 ·
维护者通常 1 天内回复
-
google-apis-core: singular PagedResults ignores max可能已有人在做 @torreypayne 于 7 天前认领。 未关闭
googleapis/google-api-ruby-client#27759 · 已指派 1 人 ·
维护者通常 1 天内回复
-
api: storage type: feature request
难度 3/5 1-2 天 新手友好度 55/100
googleapis/google-api-ruby-client#27339 ·
维护者通常 1 天内回复
查看 googleapis/google-api-ruby-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 3 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
jetrockets/jet_ui#47 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
FreeCAD/homebrew-freecad#870 ·
维护者通常 1 天内回复