graphprotocol / graphprotocol/graph-node
Better diagnostics for whether a provider is working or not
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the graph-node startup code that connects to configured network providers and the existing metric instrumentation. Add the provider_failed boolean metric with network and provider labels when a provider is removed after failing to respond during startup, then verify that the metric exposes the failure condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100