graphprotocol / graphprotocol/graph-node
Better diagnostics for whether a provider is working or not
オープン
まだ誰も着手していません。
enhancement
error-handling
indexer experience
ops
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 1.1k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 1
説明
When graph-node starts up, it tries to connect to all configured network providers; if a provider doesn't respond fast enough during startup, it is removed from the configuration, and never used again. That that happened can only be seen from log messages. We should have a boolean metric provider_failed, labeled with network and provider to make it easier to spot that condition.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、設定されたネットワークプロバイダーに接続する graph-node の起動コードと、既存のメトリクス計装を特定します。起動中に応答しなかったためプロバイダーが削除されたときに、ネットワークおよびプロバイダーのラベルを持つブール値メトリクス provider_failed を追加し、その後、メトリクスが失敗状態を示すことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- observability
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100