graphprotocol / graphprotocol/graph-node
Better diagnostics for failed GraphQL requests
未关闭
还没有人认领这个 Issue。
area/graphql
monitoring
Stale
- 主要语言
- Rust
- 星标
- 3.2k
- 派生
- 1.1k
- 平均合并
- 4 天 1 小时
- 30 天内合并 PR
- 1
描述
This code logs information about failed requests. It can happen quite a bit that the failure reason is logged as unknown Restructure the code to provide more detail, in particular, to provide a subgraph id when queries fail in more cases.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 server/http/src/service.rs 第 158-186 行开始,跟踪失败的 GraphQL 请求如何产生记录下来的失败原因。确定当前会变成 unknown 的失败路径,然后验证查询失败在更多情况下会提供子图 ID,并且诊断信息包含更多细节。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- graphql, rust
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100